aboutsummaryrefslogtreecommitdiff
path: root/extra/harfbuzz-icu/build
blob: 102d0861ff5eb6e8c500969211c9665fd3672d2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh -e

# Will store the built package's files to
# allow us to cherry-pick the ICU related files.
mkdir -p tmp
export DESTDIR="$PWD/tmp"

meson \
    --prefix=/usr \
    -Dglib=enabled \
    -Dicu=enabled \
    -Dicu_builtin=false \
    -Dbenchmark=disabled \
    -Dcairo=disabled \
    -Ddocs=disabled \
    . output

ninja -C output
ninja -C output install

clinst -Dt "$1/usr/lib"              tmp/usr/lib/libharfbuzz-icu*
clinst -Dt "$1/usr/lib/pkgconfig"    tmp/usr/lib/pkgconfig/harfbuzz-icu.pc
clinst -Dt "$1/usr/include/harfbuzz" tmp/usr/include/harfbuzz/hb-icu.h