From: IOhannes m zmölnig (Debian/GNU) Date: Tue, 16 Aug 2022 12:30:51 +0000 (+0200) Subject: Don't build arch:armel packages X-Git-Tag: archive/raspbian/7.0.2_ds0-1+rpi1^2~23 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=66871c65dedfff5fdc2d35ebfb02a70d216028cd;p=juce.git Don't build arch:armel packages --- 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