[SCM] qjackctl/master: Generate different dependencies between Debian and Ubuntu: Ubuntu uses PulseAudio by default so pulseaudio-utils is needed to provide pasuspender.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Thu Dec 2 21:09:05 UTC 2010


The following commit has been merged in the master branch:
commit 93a491a33a9717fa6f813ae99372219908442f43
Author: Alessio Treglia <alessio at debian.org>
Date:   Thu Dec 2 22:04:51 2010 +0100

    Generate different dependencies between Debian and Ubuntu: Ubuntu uses PulseAudio by default so pulseaudio-utils is needed to provide pasuspender.

diff --git a/debian/control b/debian/control
index 07f3d88..b4582ef 100644
--- a/debian/control
+++ b/debian/control
@@ -21,6 +21,7 @@ Package: qjackctl
 Architecture: any
 Depends: ${shlibs:Depends},
  jackd,
+ ${dist:Depends},
  ${misc:Depends}
 Description: User interface for controlling the JACK sound server
  Qjackctl offers a user interface for controlling the JACK sound server
diff --git a/debian/rules b/debian/rules
index a1db13c..768931b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,6 +6,12 @@ export QTDIR=/usr/share/qt4
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/autotools.mk
 
+ifeq ($(shell dpkg-vendor --derives-from Ubuntu && echo yes),yes)
+	DEB_DH_GENCONTROL_ARGS_qjackctl = -- -Vdist:Depends="pulseaudio-utils"
+else
+	DEB_DH_GENCONTROL_ARGS_qjackctl = -- -Vdist:Depends=""
+endif
+
 DEB_MAKE_CLEAN_TARGET   := clean
 DEB_CLEAN_EXCLUDE       := qjackctl.pro
 

-- 
qjackctl packaging



More information about the pkg-multimedia-commits mailing list