2019-08-04 23:12:55 +00:00
|
|
|
#!/bin/sh -e
|
|
|
|
|
2019-10-07 21:08:43 +00:00
|
|
|
export DESTDIR="$1"
|
|
|
|
|
2021-07-07 16:03:50 +00:00
|
|
|
patch -p1 < no-fribidi.patch
|
|
|
|
|
2021-07-03 21:18:43 +00: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 16:50:34 +00:00
|
|
|
|
2019-08-04 23:12:55 +00:00
|
|
|
meson \
|
|
|
|
--prefix=/usr \
|
|
|
|
-Dgir=false \
|
|
|
|
-Dgtk_doc=false \
|
2021-07-08 07:25:01 +00:00
|
|
|
-Dxft=disabled \
|
2020-11-09 18:20:51 +00:00
|
|
|
-Dintrospection=disabled \
|
2020-02-14 16:50:34 +00:00
|
|
|
-Dinstalled_tests=false \
|
2019-08-04 23:12:55 +00:00
|
|
|
. build
|
|
|
|
|
|
|
|
ninja -C build
|
2019-10-07 21:08:43 +00:00
|
|
|
ninja -C build install
|