2019-07-27 10:16:10 -06:00
|
|
|
#!/bin/sh -e
|
|
|
|
|
|
|
|
# Don't build with tests or gettext.
|
|
|
|
sed -i "s|subdir('tests')||g" -i meson.build
|
|
|
|
sed -i "s|subdir('po')||g" -i meson.build
|
|
|
|
|
|
|
|
meson \
|
|
|
|
--prefix=/usr \
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
--mandir=/usr/share/man \
|
|
|
|
-Dgir=false \
|
|
|
|
-Djasper=false \
|
|
|
|
-Dpng=true \
|
|
|
|
-Ddocs=false \
|
|
|
|
-Dman=false \
|
|
|
|
-Dinstalled_tests=false \
|
2019-09-14 05:22:03 -06:00
|
|
|
-Dbuiltin_loaders=all \
|
2019-07-27 10:16:10 -06:00
|
|
|
. output
|
|
|
|
|
|
|
|
ninja -C output
|
|
|
|
|
|
|
|
DESTDIR="$1" ninja -C output install
|