[SCM] qtractor packaging branch, master, updated. debian/0.4.3-1-10-g229ae79

quadrispro-guest at users.alioth.debian.org quadrispro-guest at users.alioth.debian.org
Mon Jan 11 07:12:31 UTC 2010


The following commit has been merged in the master branch:
commit 229ae79b8234184939f802e94f68d4360e290f52
Author: Alessio Treglia <quadrispro at ubuntu.com>
Date:   Mon Jan 11 08:12:18 2010 +0100

    Switch to debhelper 7.

diff --git a/debian/rules b/debian/rules
index 4925b94..749e624 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,94 +1,4 @@
 #!/usr/bin/make -f
 
-DEBIAN_VERSION=$(shell dpkg-parsechangelog |grep ^Version: | cut -f 2 -d " ")
-UPSTREAM_VERSION=$(shell echo $(DEBIAN_VERSION) | sed -e 's/\(.*\)-.*/\1/g')
-DEBIAN_REVISION=$(shell echo $(DEBIAN_VERSION) | sed -e 's/.*-\([^\+]*\).*/\1/g')
-
-#include /usr/share/dpatch/dpatch.make
-
-# Uncomment this to turn on verbose mode.
-export DH_VERBOSE=1
-
-export QTDIR=/usr/share/qt3
-
-# These are used for cross-compiling and for saving the configure script
-# from having to guess our platform (since we know it already)
-DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-
-CFLAGS = -Wall -g
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -O0
-else
-	CFLAGS += -O2
-endif
-
-config.status:
-	dh_testdir
-	# Add here commands to configure the package.
-#ifneq (,$(findstring +cvs,$(DEBIAN_VERSION)))
-	$(MAKE) -f Makefile.cvs clean
-	$(MAKE) -f Makefile.cvs
-	chmod a+x configure
-#endif
-	CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --disable-sse --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
-
-build: build-stamp
-
-build-stamp:  config.status
-	dh_testdir
-	$(MAKE)
-	touch build-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp
-	rm -f *.o qtractor config.status config.log qtractor.mak qtractor.pro
-	rm -f qtractor.spec qtractor.desktop configure config.h Makefile qrc_qtractor.cpp
-	rm -rf .obj .ui .moc
-	dh_clean
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_prep
-	dh_installdirs
-	$(MAKE) install DESTDIR=$(CURDIR)/debian/qtractor
-
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
-
-# Build architecture-dependent files here.
-binary-arch: build install
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs ChangeLog
-	dh_installdocs
-	dh_installexamples
-	dh_install
-	dh_installmenu
-	dh_installman
-	dh_link
-	dh_strip
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-update-cvs-snapshot:
-	# TODO: sanitize/cvsize DEB_UPSTREAM_TARBALL_VERSION; change version
-	# number
-	cat debian/patches/10_cvs-snapshot.dpatch | head -25 > debian/patches/10_cvs-snapshot.dpatch
-	cvs -z3 -d :pserver:anonymous at qtractor.cvs.sourceforge.net:/cvsroot/qtractor \
-		rdiff -u -r qtractor_$(shell echo $(UPSTREAM_VERSION) | tr "." "_") -D today qtractor |\
-		filterdiff -x "debian/*" -p1  >> debian/patches/10_cvs-snapshot.dpatch
-	dch -v $(UPSTREAM_VERSION)-$(DEBIAN_REVISION)+cvs`date +%y%m%d` -m "New cvs snapshot"
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+%:
+	dh --with quilt $@

-- 
qtractor packaging



More information about the pkg-multimedia-commits mailing list