aboutsummaryrefslogtreecommitdiff
path: root/extra/pango/build
blob: 066a4c311d0601dd14837ed96c52cde07c144510 (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=enabled \
    . 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"