Prevent building on 'armel' altogether
authorIOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>
Thu, 12 Jan 2023 07:59:07 +0000 (08:59 +0100)
committerIOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>
Thu, 12 Jan 2023 08:14:01 +0000 (09:14 +0100)
debian/control
debian/rules
debian/source/lintian-overrides [new file with mode: 0644]

index 607b9bd57adcb0481256ec4300e837e759d3f190..7bf33758e54373c6832f020ef8c0130ddab91fc8 100644 (file)
@@ -23,6 +23,9 @@ Build-Depends:
 Build-Depends-Indep:
  doxygen,
  graphviz,
+# the binary packages don't build on armel, so don't try
+Build-Conflicts:
+ build-essential [armel],
 Standards-Version: 4.6.2
 Rules-Requires-Root: no
 Homepage: https://www.juce.com
@@ -30,7 +33,6 @@ 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:
@@ -93,7 +95,6 @@ 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:
index b7b3cbc39697ef03d202e49547397fc53b8f43b8..52a356eac7a34bdad3fc29a6845cd4a56301e9fc 100755 (executable)
@@ -34,13 +34,6 @@ ifneq ($(strip $(filter $(DEB_HOST_ARCH), mipsel mips64el)),)
        DEB_CXXFLAGS_MAINT_APPEND += -mxgot
 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
 
diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides
new file mode 100644 (file)
index 0000000..f173057
--- /dev/null
@@ -0,0 +1,3 @@
+# we only Build-Conflict with build-essential on specific architectures
+# that are known to fail: armel
+build-depends-on-build-essential