From 52045d6a0da59059d8bd35831521851464cd87a6 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Tue, 27 Jul 2021 18:07:57 +0300 Subject: [PATCH] pango: simplify build --- extra/pango/build | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/extra/pango/build b/extra/pango/build index 290d7379..86bb4894 100755 --- a/extra/pango/build +++ b/extra/pango/build @@ -2,13 +2,13 @@ patch -p1 < no-fribidi.patch -# 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 +# Disable download of missing (optional) dependencies +# during the build. This cannot be turned off otherwise. +rm -rf subprojects + +: > tests/meson.build +: > examples/meson.build +: > docs/meson.build meson \ --prefix=/usr \ @@ -16,7 +16,7 @@ meson \ -Dgtk_doc=false \ -Dxft=disabled \ -Dintrospection=disabled \ - -Dinstalled_tests=false \ + -Dinstall_tests=false \ . build ninja -C build