aboutsummaryrefslogtreecommitdiff
path: root/extra/glib/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2019-12-09 19:17:24 +0300
committerCem Keylan <cem@ckyln.com>2019-12-09 19:17:24 +0300
commit03423e0583057cbe5a16f8439183e2dbc0e8dd7c (patch)
tree81fe3ba69d94146f83fb5541d1fb2da0ac4eac08 /extra/glib/build
downloadrepository-03423e0583057cbe5a16f8439183e2dbc0e8dd7c.tar.gz
secondary commit
Diffstat (limited to 'extra/glib/build')
-rwxr-xr-xextra/glib/build18
1 files changed, 18 insertions, 0 deletions
diff --git a/extra/glib/build b/extra/glib/build
new file mode 100755
index 00000000..60f19b1f
--- /dev/null
+++ b/extra/glib/build
@@ -0,0 +1,18 @@
+#!/bin/sh -e
+
+export DESTDIR="$1"
+
+# Remove 'libelf' dependency.
+sed -i 's/if have_libelf/if not have_libelf/' 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"