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

export DESTDIR="$1"

# Remove 'libelf' dependency.
sed 's/if have_libelf/if not have_libelf/' gio/meson.build > gio/meson.build.bak
mv gio/meson.build.bak gio/meson.build

meson \
    --prefix=/usr \
    -Dman=false \
    -Dfam=false \
    . build

ninja -C build
ninja -C build install

# Purge gdbus.
rm -rf "$1/usr/bin/gdbus"