attempt 0 at fixing rules
Some checks failed
PikaOS Package Build Only (Canary) (amd64-v3) / build (push) Failing after 43s

This commit is contained in:
Ward from fusion-voyager-3 2024-07-25 20:32:21 +03:00
parent 93d990b773
commit d199e94efb
2 changed files with 19 additions and 8 deletions

View File

@ -1 +1 @@
3
4

25
debian/rules vendored
View File

@ -37,12 +37,12 @@ else
LIBCAMERA=enabled
endif
# LIBROC Arch Check
# ROC Arch Check
ifneq (,$(filter hppa i386 i686 m68k powerpc sparc64,$(DEB_HOST_ARCH)))
LIBROC=disabled
cmnt_libroc=$(shell sed -e '/module-roc-s/ s/^\#*/\#/' -i debian/libpipewire-0.3-modules.install)
ROC=disabled
cmnt_roc=$(shell sed -e '/module-roc-s/ s/^\#*/\#/' -i debian/libpipewire-0.3-modules.install)
else
LIBROC=enabled
ROC=enabled
endif
# APTX Arch Check
@ -73,8 +73,18 @@ else
COMPRESS_OFFLOAD=enabled
endif
# LC3 Arch Check
ifneq (,$(filter i386,$(DEB_HOST_ARCH)))
LC3=disabled
else
LC3=enables
endif
# Just always have vulkan
VULKAN_ENABLED=enabled
VULKAN=enabled
# No Snap
SNAP=disabled
### End of PikaOS Changes
@ -119,11 +129,12 @@ override_dh_auto_configure:
-Dtest=enabled \
-Dudevrulesdir=$(UDEVRULESDIR) \
-Dvideotestsrc=enabled \
-Dvulkan=$(VULKAN_ENABLED) \
-Droc=$(LIBROC) \
-Dvulkan=$(VULKAN) \
-Droc=$(ROC) \
$(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_libcam) $(cmnt_libroc) $(cmnt_vulkan)\n"
test_timeout_multiplier = 1