diff options
author | Cem Keylan <cem@ckyln.com> | 2019-12-09 19:17:24 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2019-12-09 19:17:24 +0300 |
commit | 03423e0583057cbe5a16f8439183e2dbc0e8dd7c (patch) | |
tree | 81fe3ba69d94146f83fb5541d1fb2da0ac4eac08 /extra/glib/build | |
download | repository-03423e0583057cbe5a16f8439183e2dbc0e8dd7c.tar.gz |
secondary commit
Diffstat (limited to 'extra/glib/build')
-rwxr-xr-x | extra/glib/build | 18 |
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" |