More documentation on how to package with juce-modules-source
authorIOhannes m zmölnig <zmoelnig@umlautS.umlaeute.mur.at>
Thu, 8 Feb 2018 19:37:20 +0000 (20:37 +0100)
committerIOhannes m zmölnig <zmoelnig@umlautS.umlaeute.mur.at>
Thu, 8 Feb 2018 19:37:20 +0000 (20:37 +0100)
debian/README.Debian

index 446196f602c3af3ef71d0a0b201cf60f8627aadb..9cbfac61e5cf210dbae0aad0e88b1f633f759e0f 100644 (file)
@@ -21,6 +21,7 @@ the once shipped by upstream:
 
 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
@@ -29,6 +30,17 @@ Debian.
 
        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