pango: simplify build

This commit is contained in:
Dylan Araps 2021-07-27 18:07:57 +03:00
parent 2d368e4590
commit 52045d6a0d
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C

View File

@ -2,13 +2,13 @@
patch -p1 < no-fribidi.patch patch -p1 < no-fribidi.patch
# First substitution disables weird case where build may try to git clone # Disable download of missing (optional) dependencies
# some repository related to documentation. # during the build. This cannot be turned off otherwise.
sed -e "s/'gi-docgen', '/'/" \ rm -rf subprojects
-e "/subdir('tests')/d" \
-e "/subdir('examples')/d" \ : > tests/meson.build
meson.build > _ : > examples/meson.build
mv -f _ meson.build : > docs/meson.build
meson \ meson \
--prefix=/usr \ --prefix=/usr \
@ -16,7 +16,7 @@ meson \
-Dgtk_doc=false \ -Dgtk_doc=false \
-Dxft=disabled \ -Dxft=disabled \
-Dintrospection=disabled \ -Dintrospection=disabled \
-Dinstalled_tests=false \ -Dinstall_tests=false \
. build . build
ninja -C build ninja -C build