[Pkg-cli-apps-commits] [SCM] tasque branch, master, updated. debian/0.1.11-1-13-g69da47a

Andrew Starr-Bochicchio a.starr.b at gmail.com
Fri Dec 7 19:45:27 UTC 2012


The following commit has been merged in the master branch:
commit 51210a1b42db777c1408993ebef0dd3a4bf5bb41
Author: Andrew Starr-Bochicchio <a.starr.b at gmail.com>
Date:   Fri Dec 7 14:17:14 2012 -0500

    Check if dpkg-vendor derives-from Ubuntu, if so enable appindicator.

diff --git a/debian/changelog b/debian/changelog
index 9123ef2..6ae2078 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -15,6 +15,8 @@ tasque (0.1.12-1) UNRELEASED; urgency=low
    - Run wrap-and-sort over control file.
   * debian/rules:
    - No longer need to fix permissions on sounds/notify.wav.
+   - Check if dpkg-vendor derives-from Ubuntu, if so enable
+     appindicator.
 
  -- Andrew Starr-Bochicchio <asb at debian.org>  Fri, 07 Dec 2012 13:09:35 -0500
 
diff --git a/debian/rules b/debian/rules
index 6326d91..244738f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,9 +1,15 @@
 #!/usr/bin/make -f
 
+ifeq ($(shell dpkg-vendor --derives-from Ubuntu && echo yes),yes)
+	ENABLE_APPINDCATOR = --enable-appindicator=yes
+else
+	ENABLE_APPINDCATOR = --enable-appindicator=no
+endif
+
 override_dh_auto_configure:
 	dh_auto_configure -- \
 	--enable-standard-backends=yes \
-	--enable-appindicator=no \
+	$(ENABLE_APPINDCATOR) \
 	GMCS=/usr/bin/mono-csc
 
 override_dh_auto_build:

-- 
tasque



More information about the Pkg-cli-apps-commits mailing list