This is a quick guideline for packaging upstream software that uses JUCE for
Debian.
+For futher implementation details check out the 'iem-plugin-suite' package.
- Build-Depend on 'juce-modules-source'
- Add 'Built-Using: juce-modules-source (= <<version>>)' to debian/control
dpkg-query --show --showformat='${source:Version}' juce-modules-source
+
+ E.g. dh based packages might use something like the following in debian/rules:
+
+ JUCE_VERSION := $(shell dpkg-query --show --showformat='$${source:Version}' juce-modules-source)
+ override_dh_gencontrol:
+ dh_gencontrol -- -Vjuce:BuiltUsing="juce ( = $(JUCE_VERSION) )"
+
+ Accompanied by the following in the binary package's section in debian/control:
+
+ Built-Using: ${juce:BuiltUsing}
+
- If needed, dynamically link against the following libraries (as
"juce-modules-source" does not include their sources (as opposed to upstream):
- libjpeg