From 3864a2605275315972fe00cbbe157b7ef32513f7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Thu, 8 Feb 2018 20:37:20 +0100 Subject: [PATCH] More documentation on how to package with juce-modules-source --- debian/README.Debian | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 -- 2.30.2