From 66871c65dedfff5fdc2d35ebfb02a70d216028cd Mon Sep 17 00:00:00 2001 From: =?utf8?q?IOhannes=20m=20zm=C3=B6lnig=20=28Debian/GNU=29?= Date: Tue, 16 Aug 2022 14:30:51 +0200 Subject: [PATCH] Don't build arch:armel packages --- debian/control | 2 ++ debian/rules | 12 +++++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/debian/control b/debian/control index 1a9010f8..c541653f 100644 --- a/debian/control +++ b/debian/control @@ -30,6 +30,7 @@ Vcs-Git: https://salsa.debian.org/multimedia-team/juce.git Vcs-Browser: https://salsa.debian.org/multimedia-team/juce Package: juce-modules-source +# Via debian/rules, it's actually: !armel Architecture: any Multi-Arch: same Depends: @@ -91,6 +92,7 @@ Description: Jules' Utility Class Extensions (platform independent module source (which will force this package to be installed as well). Package: juce-tools +# Via debian/rules, it's actually: !armel Architecture: any Multi-Arch: foreign Depends: diff --git a/debian/rules b/debian/rules index 73e6d280..5c710762 100755 --- a/debian/rules +++ b/debian/rules @@ -42,11 +42,17 @@ ifneq ($(strip $(filter $(DEB_HOST_ARCH), mipsel mips64el)),) endif +ifneq (,$(filter armel,$(DEB_HOST_ARCH))) +BUILD_PACKAGES = -Njuce-modules-source -Njuce-tools +endif + + + # Debian's Projucer is GPL DEB_CPPFLAGS_MAINT_APPEND += -DJUCER_ENABLE_GPL_MODE=1 %: - dh $@ + dh $@ $(BUILD_PACKAGES) override_dh_auto_configure: @@ -57,12 +63,16 @@ override_dh_auto_configure: $(empty) override_dh_auto_build-arch: +ifneq (,$(filter armel,$(DEB_HOST_ARCH))) dh_auto_build -- Projucer juce_lv2_helper +endif cp $(CURDIR)/examples/DemoRunner/Builds/iOS/DemoRunner/Images.xcassets/AppIcon.appiconset/Icon.png \ $(DEBIAN_BUILD_ARTIFACTS)/juce.png override_dh_auto_build-indep: +ifneq (,$(filter armel,$(DEB_HOST_ARCH))) dh_auto_build -- juce_lv2_helper +endif mkdir -p docs/doxygen/build cp docs/JUCE*.md docs/CMake*.md docs/doxygen/build/ make -C docs/doxygen -- 2.30.2