Update debian/rules

This commit is contained in:
Ward Nakchbandi (CosmicFusion) 2024-08-09 23:34:18 +02:00
parent 609fbc7a6d
commit 439b8bf871

13
debian/rules vendored
View File

@ -40,7 +40,8 @@ endif
# ROC Arch Check # ROC Arch Check
ifneq (,$(filter hppa i386 i686 m68k powerpc sparc64,$(DEB_HOST_ARCH))) ifneq (,$(filter hppa i386 i686 m68k powerpc sparc64,$(DEB_HOST_ARCH)))
ROC=disabled ROC=disabled
cmnt_roc=$(shell sed -e '/module-roc-s/ s/^\#*/\#/' -i debian/libpipewire-0.3-modules.install) echo "Disabling ROC Install Files"
sed -e '/module-roc-s/ s/^\#*/\#/' -i debian/libpipewire-0.3-modules.install
else else
ROC=enabled ROC=enabled
endif endif
@ -103,6 +104,12 @@ endif
override_dh_auto_configure: override_dh_auto_configure:
echo "Setting up Pipewire Jack"
install -d debian/ld.so.conf.d
echo "/usr/lib/$(DEB_HOST_MULTIARCH)/pipewire-0.3/jack/" > "debian/ld.so.conf.d/pipewire-jack-$(DEB_HOST_MULTIARCH).conf"
echo "Setting up Pipewire Meson config"
dh_auto_configure -- \ dh_auto_configure -- \
-Daudiotestsrc=enabled \ -Daudiotestsrc=enabled \
-Dauto_features=enabled \ -Dauto_features=enabled \
@ -133,10 +140,6 @@ override_dh_auto_configure:
-Droc=$(ROC) \ -Droc=$(ROC) \
$(NULL) $(NULL)
install -d debian/ld.so.conf.d
echo "/usr/lib/$(DEB_HOST_MULTIARCH)/pipewire-0.3/jack/" > "debian/ld.so.conf.d/pipewire-jack-$(DEB_HOST_MULTIARCH).conf"
echo -e "\nCommenting out Disabled feature not to be installed... $(cmnt_libroc)\n"
test_timeout_multiplier = 1 test_timeout_multiplier = 1
ifneq ($(filter arm hppa ia64 m68k riscv64 sh4 sparc%,$(DEB_HOST_ARCH_CPU)),) ifneq ($(filter arm hppa ia64 m68k riscv64 sh4 sparc%,$(DEB_HOST_ARCH_CPU)),)