aboutsummaryrefslogtreecommitdiff
path: root/extra/glib/build
blob: 2ac52119704a82705a4e437dbd19068737c30f90 (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"

# tests/fuzzing now depend on dbus. Remove them from the build.
find . -type f -name meson.build -exec \
    clsed "/subdir('tests')/d;/subdir('fuzzing')/d" {} +

cl-meson \
    -Ddefault_library=both \
    -Dman=false \
    -Dnls=disabled \
    . build

ninja -C build
ninja -C build install

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