2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-07-02 14:02:27 +00:00

glib: Remove util-linux dependency

This commit is contained in:
Dylan Araps 2020-02-08 01:28:50 +02:00
parent 1fa3519bdd
commit d4c1ea6958
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
2 changed files with 8 additions and 1 deletions

View File

@ -5,8 +5,16 @@ export DESTDIR="$1"
# Remove 'libelf' dependency.
sed -i 's/if have_libelf/if not have_libelf/' gio/meson.build
# Remove 'util-linux' dependency.
sed -i 's/libmount_dep.found()/false/' meson.build
# Don't build tests.
find . -type f -name meson.build -exec sed -i "/subdir('tests')/d" {} +
meson \
--prefix=/usr \
-Dlibmount=disabled \
-Dinstalled_tests=false \
-Dman=false \
-Dfam=false \
. build

View File

@ -1,4 +1,3 @@
libffi
meson make
util-linux
zlib