[Pkg-gstreamer-commits] [gst-fluendo-mp3] 01/02: Switch to dh instead of cdbs and drop the bdep

Loïc Minier lool at alioth.debian.org
Thu Sep 5 20:49:12 UTC 2013


This is an automated email from the git hooks/post-receive script.

lool pushed a commit to branch master
in repository gst-fluendo-mp3.

commit 1e34cd518db9430e815fd641e50586947959c8d1
Author: Loïc Minier <lool at debian.org>
Date:   Thu Sep 5 22:20:03 2013 +0200

    Switch to dh instead of cdbs and drop the bdep
---
 debian/changelog |    4 ++++
 debian/control   |    1 -
 debian/rules     |   19 +++++++++----------
 3 files changed, 13 insertions(+), 11 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 41d0afe..2ad7a14 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,10 @@ gst-fluendo-mp3 (0.10.23.debian-3) UNRELEASED; urgency=low
   * Update Homepage to point at
     http://www.fluendo.com/shop/product/fluendo-mp3-decoder/.
   * Update copyright with latest license and exact copyright.
+  * Switch to dh instead of cdbs and drop the bdep; much nicer; the resulting
+    changes are:
+    - One less dep as LDFLAGS from dpkg-buildflags are properly passed.
+    - Some useless doc files not being installed (TODO, README, changelog).
 
  -- Loïc Minier <lool at debian.org>  Thu, 05 Sep 2013 21:34:35 +0200
 
diff --git a/debian/control b/debian/control
index 408f5e6..54fce56 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,6 @@ Maintainer: Maintainers of GStreamer packages <pkg-gstreamer-maintainers at lists.a
 Uploaders: Loïc Minier <lool at debian.org>,
            Sebastian Dröge <slomo at debian.org>
 Build-Depends: debhelper (>= 9~),
-               cdbs (>= 0.4.93~),
                autotools-dev,
                pkg-config (>= 0.11.0),
                libgstreamer0.10-dev (>= 0.10.35.2-2~),
diff --git a/debian/rules b/debian/rules
index 2a98313..84bab72 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,18 +1,17 @@
 #!/usr/bin/make -f
 
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/gnome.mk
-include /usr/share/cdbs/1/rules/utils.mk
+%:
+	dh $@
 
-DEB_CONFIGURE_EXTRA_FLAGS := --with-liboil \
-	--libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)
+override_dh_auto_configure:
+	dh_auto_configure -- --with-liboil \
+	    --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)
 
-binary-install/gstreamer0.10-fluendo-mp3::
-	rm -f debian/gstreamer0.10-fluendo-mp3/usr/lib/*/gstreamer-0.10/libgstflump3dec.la
-	rm -f debian/gstreamer0.10-fluendo-mp3/usr/lib/*/gstreamer-0.10/libgstflump3dec.a
-
-common-binary-fixup-arch::
+override_dh_install:
+	dh_install
 	mkdir -p $(CURDIR)/fake-home
 	GST_REGISTRY=$(CURDIR)/fake-home/registry.xml dh_gstscancodecs
 	rm -rf $(CURDIR)/fake-home
+	rm -f debian/gstreamer0.10-fluendo-mp3/usr/lib/*/gstreamer-0.10/libgstflump3dec.la
+	rm -f debian/gstreamer0.10-fluendo-mp3/usr/lib/*/gstreamer-0.10/libgstflump3dec.a
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gstreamer/gst-fluendo-mp3.git



More information about the Pkg-gstreamer-commits mailing list