aboutsummaryrefslogtreecommitdiff
path: root/extra/glib/build
blob: 275818b835ddfc04d1869185787fe8b08d595aef (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 > _
cat _ > gio/meson.build; rm -f _

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

ninja -C build
ninja -C build install

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