2019-08-04 17:12:55 -06:00
|
|
|
#!/bin/sh -e
|
|
|
|
|
2019-10-07 15:08:43 -06:00
|
|
|
export DESTDIR="$1"
|
|
|
|
|
2021-07-03 15:18:43 -06:00
|
|
|
# First substitution disables weird case where build may try to git clone
|
|
|
|
# some repository related to documentation.
|
|
|
|
sed -e "s/'gi-docgen', '/'/" \
|
|
|
|
-e "/subdir('tests')/d" \
|
|
|
|
-e "/subdir('examples')/d" \
|
|
|
|
meson.build > _
|
|
|
|
mv -f _ meson.build
|
2020-02-14 09:50:34 -07:00
|
|
|
|
2019-08-04 17:12:55 -06:00
|
|
|
meson \
|
|
|
|
--prefix=/usr \
|
|
|
|
-Dgir=false \
|
|
|
|
-Dgtk_doc=false \
|
2020-11-09 11:20:51 -07:00
|
|
|
-Dintrospection=disabled \
|
2020-02-14 09:50:34 -07:00
|
|
|
-Dinstalled_tests=false \
|
2019-08-04 17:12:55 -06:00
|
|
|
. build
|
|
|
|
|
|
|
|
ninja -C build
|
2019-10-07 15:08:43 -06:00
|
|
|
ninja -C build install
|