[SCM] beast/master: Switch to DH7 pure fort, 3.0 (quilt) format.
alessio at users.alioth.debian.org
alessio at users.alioth.debian.org
Fri May 6 15:30:36 UTC 2011
The following commit has been merged in the master branch:
commit 3c32bf4ae535b29da1b9a06f4e45e10d7313a555
Author: Alessio Treglia <alessio at debian.org>
Date: Fri May 6 17:30:00 2011 +0200
Switch to DH7 pure fort, 3.0 (quilt) format.
Move old debian/rules to debian/rules.old for now.
diff --git a/debian/rules b/debian/rules
index bf2c6fa..ca4b98f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,66 +2,19 @@
#export DH_VERBOSE=1
-export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-export DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+%:
+ dh $@ --parallel --with autotools_dev
-CFLAGS = -Wall -g
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
- CFLAGS += -O0
-else
- CFLAGS += -O3
-endif
+override_dh_auto_configure:
+ dh_auto_configure -- \
+ --enable-devdsp \
+ --enable-devmidi \
+ --enable-osspcm=/dev/dsp \
+ --enable-ossmidi=/dev/midi
-confflags = --prefix=/usr --mandir=/usr/share/man
-ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
- confflags += --build $(DEB_HOST_GNU_TYPE)
-else
- confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
-endif
-
-configure: configure-stamp
-configure-stamp:
- dh_testdir
- QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2
- # Remove stuff
- rm -f config.cache config.log
- # Touch timestamps
- touch aclocal.m4
- touch configure
- touch configure.h.in bse/bseconfig.h.in
- touch `find -name Makefile.in` dummy-stamp
- # Configure the package.
- CFLAGS="$(CFLAGS)" CXXFLAGS="$(CFLAGS)" ./configure \
- --enable-devdsp --enable-devmidi \
- --enable-osspcm=/dev/dsp --enable-ossmidi=/dev/midi \
- $(confflags)
- touch configure-stamp
-
-build: configure-stamp build-stamp
-build-stamp:
- dh_testdir
- # Compile the package.
- $(MAKE)
- touch build-stamp
-
-clean:
- dh_testdir
- dh_testroot
- rm -f build-stamp configure-stamp
- # Clean up after the build process.
- [ ! -f Makefile ] || $(MAKE) distclean
- QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2
- rm -f bse/bsegencore.cc beast-gtk/gxk/gxkgentypes.stamp
- rm -f po/de.gmo
- dh_clean
-
-install: build
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs
+override_dh_auto_install:
# Install the package into debian/beast
- $(MAKE) DESTDIR=$(CURDIR)/debian/beast install
+ dh_auto_install
ln -s beast.1.gz debian/beast/usr/share/man/man1/beast-0.6.6.1.gz
ln -s bsescm.1.gz debian/beast/usr/share/man/man1/bsescm-0.6.6.1.gz
convert debian/beast/usr/share/pixmaps/beast.png -geometry 32x32 debian/beast/usr/share/pixmaps/beast.xpm
@@ -71,42 +24,3 @@ install: build
rm -f $(CURDIR)/debian/beast/usr/share/mime/XMLnamespaces
rm -f $(CURDIR)/debian/beast/usr/share/mime/aliases
rm -f $(CURDIR)/debian/beast/usr/share/mime/mime.cache
-
-# 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 NEWS README
- dh_installexamples test/*.bse
-# dh_install
- dh_installmenu
-# dh_installdebconf
-# dh_installlogrotate
-# dh_installemacsen
-# dh_installpam
- dh_installmime
-# dh_installinit
-# dh_installcron
-# dh_installinfo
-# dh_undocumented
- dh_installman
- dh_link
- dh_strip
- dh_compress
- dh_fixperms
-# dh_perl
-# dh_python
- dh_makeshlibs -V 'beast (>= 0.7.1-1)'
- dh_installdeb
- dh_shlibdeps -ldebian/beast/usr/lib
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
diff --git a/debian/rules b/debian/rules.old
similarity index 100%
copy from debian/rules
copy to debian/rules.old
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
--
beast packaging
More information about the pkg-multimedia-commits
mailing list