[Pkg-pulseaudio-devel] r122 - in /libao-pulse/trunk/debian: changelog control rules

neurocyte-guest at users.alioth.debian.org neurocyte-guest at users.alioth.debian.org
Fri May 25 09:38:07 UTC 2007


Author: neurocyte-guest
Date: Fri May 25 09:38:06 2007
New Revision: 122

URL: http://svn.debian.org/wsvn/pkg-pulseaudio/?sc=1&rev=122
Log:
Port to CDBS

Modified:
    libao-pulse/trunk/debian/changelog
    libao-pulse/trunk/debian/control
    libao-pulse/trunk/debian/rules

Modified: libao-pulse/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-pulseaudio/libao-pulse/trunk/debian/changelog?rev=122&op=diff
==============================================================================
--- libao-pulse/trunk/debian/changelog (original)
+++ libao-pulse/trunk/debian/changelog Fri May 25 09:38:06 2007
@@ -1,8 +1,9 @@
 libao-pulse (0.9.3-2) unstable; urgency=low
 
   * debian/watch: Fix broken watch file.
+  * debian/rules: Port to CDBS.
 
- -- CJ van den Berg <cj at vdbonline.com>  Tue, 21 Nov 2006 12:26:07 +0100
+ -- CJ van den Berg <cj at vdbonline.com>  Wed, 23 May 2007 01:40:44 +0200
 
 libao-pulse (0.9.3-1) unstable; urgency=low
 

Modified: libao-pulse/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-pulseaudio/libao-pulse/trunk/debian/control?rev=122&op=diff
==============================================================================
--- libao-pulse/trunk/debian/control (original)
+++ libao-pulse/trunk/debian/control Fri May 25 09:38:06 2007
@@ -2,8 +2,8 @@
 Section: sound
 Priority: optional
 Maintainer: CJ van den Berg <cj at vdbonline.com>
-Build-Depends: debhelper (>= 5), autotools-dev, libpulse-dev, libao-dev,
-    lynx
+Build-Depends: debhelper (>= 5), cdbs, autotools-dev, libpulse-dev,
+    libao-dev, lynx
 Standards-Version: 3.7.2
 
 Package: libao-pulse

Modified: libao-pulse/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-pulseaudio/libao-pulse/trunk/debian/rules?rev=122&op=diff
==============================================================================
--- libao-pulse/trunk/debian/rules (original)
+++ libao-pulse/trunk/debian/rules Fri May 25 09:38:06 2007
@@ -1,72 +1,9 @@
 #!/usr/bin/make -f
 
-DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
 
-CFLAGS = -Wall -g
+common-install-arch::
+	rm $(DEB_DESTDIR)/usr/lib/ao/plugins-2/libpulse.la
 
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -O0
-else
-	CFLAGS += -O2
-endif
-
-CONFIGURE_FLAGS = --prefix=/usr --disable-static CFLAGS="$(CFLAGS)"
-
-ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
-	CONFIGURE_FLAGS += --build=$(DEB_BUILD_GNU_TYPE)
-else
-	CONFIGURE_FLAGS += --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE)
-endif
-
-config.status: configure
-	dh_testdir
-	./configure $(CONFIGURE_FLAGS)
-
-build: build-stamp
-
-build-stamp:  config.status
-	dh_testdir
-	$(MAKE)
-	touch $@
-
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp 
-
-	-$(MAKE) distclean
-ifneq "$(wildcard /usr/share/misc/config.sub)" ""
-	cp -f /usr/share/misc/config.sub config.sub
-endif
-ifneq "$(wildcard /usr/share/misc/config.guess)" ""
-	cp -f /usr/share/misc/config.guess config.guess
-endif
-	dh_clean 
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k 
-	dh_installdirs
-	$(MAKE) install DESTDIR=$(CURDIR)/debian/libao-pulse
-	find $(CURDIR)/debian/libao-pulse -name "*.la" | xargs rm
-
-binary-indep: build install
-
-binary-arch: build install
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs 
-	dh_installdocs README
-	dh_strip
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install 
+DEB_CONFIGURE_EXTRA_FLAGS = --disable-static




More information about the Pkg-pulseaudio-devel mailing list