[neon/backports-focal/pipewire/Neon/release-lts] debian: Re-add support for nodocs builds
Sjoerd Simons
null at kde.org
Fri Mar 26 13:47:04 GMT 2021
Git commit 59fc9258df6205b7b85a7f6ebb8dd44164fd9d69 by Sjoerd Simons.
Committed on 19/03/2021 at 15:57.
Pushed by sitter into branch 'Neon/release-lts'.
Re-add support for nodocs builds
pipewire switched more parts over to using meson features, which the
packaging forces to auto-enabled unless told so otherwise. So we need to
flip the docs switch explicitly now rather then relying on auto-enabling
Signed-off-by: Sjoerd Simons <sjoerd at collabora.com>
M +7 -1 debian/rules
https://invent.kde.org/neon/backports-focal/pipewire/commit/59fc9258df6205b7b85a7f6ebb8dd44164fd9d69
diff --git a/debian/rules b/debian/rules
index 90d70a3f..592f9cfa 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,13 +6,19 @@ export DEB_LDFLAGS_MAINT_APPEND = -Wl,-z,defs -Wl,--as-needed
%:
dh $@
+ifneq ($(filter nodoc,$(DEB_BUILD_PROFILES)),)
+DOCS=disabled
+else
+DOCS=enabled
+endif
+
override_dh_auto_configure:
dh_auto_configure -- \
-Daudiotestsrc=enabled \
-Dauto_features=enabled \
-Dbluez5-codec-aac=disabled \
-Dlibcamera=disabled \
- -Ddocs=enabled \
+ -Ddocs=$(DOCS) \
-Dffmpeg=disabled \
-Dinstalled_tests=enabled \
-Dman=enabled \
More information about the Neon-commits
mailing list