kiss-mfavila-small/ports/official/extra/gdk-pixbuf/build

26 lines
486 B
Plaintext
Raw Normal View History

#!/bin/sh -e
2021-12-23 22:47:26 -05:00
# Remove -pie from ldflags because it breaks builds.
LDFLAGS="$(echo $LDFLAGS|sed 's/-pie//')"
export DESTDIR="$1"
sed -i "/subdir('tests')/d" meson.build
meson \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
-Dgir=false \
-Djasper=false \
-Dpng=true \
-Ddocs=false \
-Dman=false \
-Dgio_sniffing=false \
-Dinstalled_tests=false \
-Dbuiltin_loaders=all \
. output
ninja -C output
ninja -C output install