[neon/backports-focal/pipewire/Neon/release-lts] debian: debian/rules: Disable ldac on arches where it's not available

Iain Lane null at kde.org
Fri Mar 26 13:47:04 GMT 2021


Git commit acda1094ff84654aad9b786b5a383aef010cd403 by Iain Lane.
Committed on 25/03/2021 at 00:04.
Pushed by sitter into branch 'Neon/release-lts'.

debian/rules: Disable ldac on arches where it's not available

This isn't available on these arches. piepwire FTBFS otherwise as it
tries to find it.

M  +7    -0    debian/rules

https://invent.kde.org/neon/backports-focal/pipewire/commit/acda1094ff84654aad9b786b5a383aef010cd403

diff --git a/debian/rules b/debian/rules
index 592f9cfa..69ba452a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,11 +12,18 @@ else
 DOCS=enabled
 endif
 
+ifneq (,$(filter s390x hppa m68k powerpc ppc64 sparc64,$(DEB_HOST_ARCH)))
+BLUEZ5_CODEC_LDAC=disabled
+else
+BLUEZ5_CODEC_LDAC=enabled
+endif
+
 override_dh_auto_configure:
 	dh_auto_configure -- \
 		-Daudiotestsrc=enabled \
 		-Dauto_features=enabled \
 		-Dbluez5-codec-aac=disabled \
+		-Dbluez5-codec-ldac=$(BLUEZ5_CODEC_LDAC) \
 		-Dlibcamera=disabled \
 		-Ddocs=$(DOCS) \
 		-Dffmpeg=disabled \



More information about the Neon-commits mailing list