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

export DESTDIR="$1"

# Avoid cloning gidocgen
sed '/gidocgen_dep/,/)$/d' meson.build > meson.build.tmp
mv meson.build.tmp meson.build

meson \
    --prefix=/usr \
    -Dgir=true \
    -Dgtk_doc=false \
    -Dintrospection=disabled \
    . build

ninja -C build
ninja -C build install

# Remove unneeded tests
rm -rf "$1/usr/share/installed-tests"
rm -rf "$1/usr/libexec/installed-tests"