[SCM] calf/master: Tidy rules file: Declare package relations more compactly, and higher in the file (i.e. in the order used by normal build routines.
js at users.alioth.debian.org
js at users.alioth.debian.org
Tue May 7 15:41:20 UTC 2013
The following commit has been merged in the master branch:
commit 791e59ee3a99150b5c228f47844384fcffc46d97
Author: Jonas Smedegaard <dr at jones.dk>
Date: Tue May 7 11:55:15 2013 +0200
Tidy rules file: Declare package relations more compactly, and higher in the file (i.e. in the order used by normal build routines.
diff --git a/debian/rules b/debian/rules
index 5e82848..05ca7b8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -24,6 +24,13 @@ include /usr/share/cdbs/1/rules/debhelper.mk
DEB_UPSTREAM_URL = http://downloads.sourceforge.net/calf
+# Needed by upstream build process
+libdev-deps = glib2.0 gtk2.0 readline expat1 jack fftw3 fluidsynth
+deps = $(patsubst %,$(comma) lib%-dev,$(libdev-deps))
+deps +=, libasound2-dev [linux-any], ladspa-sdk, dssi-dev, lv2-dev
+
+CDBS_BUILD_DEPENDS += $(deps)
+
# Avoid useless linking
LDFLAGS += -Wl,--as-needed
@@ -32,9 +39,3 @@ DEB_UPSTREAM_CRUFT_MOVE = calf.desktop
install/calf-plugins::
sed -i "/dependency_libs/ s/'.*'/''/" `find . -name '*.la'`
-
-# Needed by upstream build process
-CDBS_BUILD_DEPENDS += , libglib2.0-dev, libgtk2.0-dev, libreadline-dev, libexpat1-dev
-CDBS_BUILD_DEPENDS += , libasound2-dev [linux-any]
-CDBS_BUILD_DEPENDS += , ladspa-sdk, dssi-dev, libjack-dev, lv2-dev
-CDBS_BUILD_DEPENDS += , libfftw3-dev, libfluidsynth-dev
--
calf audio plugins packaging
More information about the pkg-multimedia-commits
mailing list