[Pkg-cli-apps-commits] [SCM] banshee branch, experimental, updated. debian/2.0.1-1-11-ga04568f

Chow Loong Jin hyperair at ubuntu.com
Sat May 14 14:13:58 UTC 2011


The following commit has been merged in the experimental branch:
commit ca2a4009e3d6e81b8078ebd681d11e69c0f3ef08
Author: Chow Loong Jin <hyperair at ubuntu.com>
Date:   Sat May 14 16:56:31 2011 +0800

    Provide banshee-{api,asm}-* virtual packages

diff --git a/debian/control b/debian/control
index 6146490..9f8ac60 100644
--- a/debian/control
+++ b/debian/control
@@ -65,6 +65,8 @@ Suggests: gstreamer0.10-plugins-bad,
           gstreamer0.10-plugins-ugly,
           gstreamer0.10-ffmpeg,
           banshee-dbg (=${binary:Version})
+Provides: banshee-api-${banshee:API},
+          banshee-asm-${banshee:ASM}
 Breaks: banshee-extensions-common (<< 1.6.1-2.)
 Description: Media Management and Playback application
  Banshee is a media management and playback application for the GNOME
diff --git a/debian/rules b/debian/rules
index d536c32..881fd66 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,9 @@ include /usr/share/cli-common/cli.make
 
 LDFLAGS += -Wl,-z,defs -Wl,-O1 -Wl,--as-needed
 
+BANSHEE_API_VERSION = $(shell grep API_VERSION= configure | cut -f2 -d=)
+BANSHEE_ASM_VERSION = $(shell grep ASM_VERSION= configure | cut -f2 -d=)
+
 CONFFLAGS = \
 	--disable-static \
 	--disable-tests \
@@ -87,5 +90,11 @@ ifeq ($(shell dpkg-vendor --query vendor), Ubuntu)
 	done
 endif
 
+override_dh_gencontrol:
+	dh_gencontrol -- \
+		-V"banshee:API=$(BANSHEE_API_VERSION)" \
+		-V"banshee:ASM=$(BANSHEE_ASM_VERSION)"
+
+
 %:
 	dh $@

-- 
banshee



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