From: IOhannes m zmölnig Date: Thu, 8 Feb 2018 19:37:20 +0000 (+0100) Subject: More documentation on how to package with juce-modules-source X-Git-Tag: archive/raspbian/5.4.5_ds0-1+rpi1~1^2~110 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3864a2605275315972fe00cbbe157b7ef32513f7;p=juce.git More documentation on how to package with juce-modules-source --- diff --git a/debian/README.Debian b/debian/README.Debian index 446196f6..9cbfac61 100644 --- a/debian/README.Debian +++ b/debian/README.Debian @@ -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 (= <>)' 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