[SCM] mhWaveEdit packaging branch, master, updated. debian/1.4.15-2-6-gd9705e6

adiknoth-guest at users.alioth.debian.org adiknoth-guest at users.alioth.debian.org
Tue Sep 15 11:45:41 UTC 2009


The following commit has been merged in the master branch:
commit 2ccf666c616c687a2f0d4724762baf09917a25e8
Author: Adrian Knoth <adi at drcomp.erfurt.thur.de>
Date:   Tue Sep 15 13:36:26 2009 +0200

    Convert to cdbs and simplify debian/rules.
    
    This involves a change: the mhwaveedit.wrapper isn't included anymore,
    so we're now calling the binary directly. Works fine, all the LADSPA
    plugins are available.

diff --git a/debian/control b/debian/control
index 3c3f3c3..58a06cd 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Maintainer: Debian Multimedia Maintainers <pkg-multimedia-maintainers at lists.alio
 Uploaders: Free Ekanayaka <freee at debian.org>, Adrian Knoth <adi at drcomp.erfurt.thur.de>
 Build-Depends: debhelper (>= 5.0.0), 
                 autotools-dev,
-                dpatch,
+                cdbs,
                 libgtk2.0-dev,
                 libjack-dev,
                 libsndfile1-dev,
diff --git a/debian/rules b/debian/rules
index d006e85..8d8b8a8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,96 +1,8 @@
 #!/usr/bin/make -f
-# -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
 
-include /usr/share/dpatch/dpatch.make
+include /usr/share/cdbs/1/class/makefile.mk
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
 
-
-# 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: configure
-	dh_testdir
-	# Add here commands to configure the package.
-	CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --without-portaudio --without-sdl
-
-build: build-stamp
-
-build-stamp: patch-stamp  config.status
-	dh_testdir
-
-	# Add here commands to compile the package.
-	$(MAKE)
-	#docbook-to-man debian/mhwaveedit.sgml > mhwaveedit.1
-
-	touch build-stamp
-
-clean: unpatch
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp 
-
-	# Add here commands to clean up after the build process.
-	[ ! -f Makefile ] || $(MAKE) distclean
-
-	dh_clean 
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k 
-	dh_installdirs
-	dh_install debian/mhwaveedit.desktop usr/share/applications
-
-	# Add here commands to install the package into debian/mhwaveedit.
-	$(MAKE) install DESTDIR=$(CURDIR)/debian/mhwaveedit
-	cp src/icon.xpm $(CURDIR)/debian/mhwaveedit/usr/share/pixmaps/mhwaveedit.xpm
-	cp src/mhwaveedit $(CURDIR)/debian/mhwaveedit/usr/lib/mhwaveedit/mhwaveedit.real
-	cp debian/mhwaveedit.wrapper $(CURDIR)/debian/mhwaveedit/usr/bin/mhwaveedit
-
-# 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_perl
-#	dh_python
-#	dh_makeshlibs
-	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 := --without-portaudio --without-sdl

-- 
mhWaveEdit packaging



More information about the pkg-multimedia-commits mailing list