[SCM] zita-resampler/master: Add -DBG package, compile resampler just after installing the shlibs.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Wed Oct 20 14:36:48 UTC 2010


The following commit has been merged in the master branch:
commit 91f52d311e6245dabadd9d68c32ad4a2d01584a0
Author: Alessio Treglia <alessio at debian.org>
Date:   Wed Oct 20 16:36:19 2010 +0200

    Add -DBG package, compile resampler just after installing the shlibs.

diff --git a/debian/control b/debian/control
index 3ebbe0f..eb5958b 100644
--- a/debian/control
+++ b/debian/control
@@ -1,10 +1,11 @@
 Source: zita-resampler
-Section: sound
+Section: libs
 Priority: optional
 Maintainer: Debian Multimedia Maintainers <pkg-multimedia-maintainers at lists.alioth.debian.org>
 Uploaders: Alessio Treglia <alessio at debian.org>
 Build-Depends: debhelper (>= 7.0.50~),
  binutils,
+ libsndfile1-dev,
  libfftw3-dev (>= 3.1.2-3.1)
 Standards-Version: 3.9.1
 Vcs-Git: git://git.debian.org/git/pkg-multimedia/zita-resampler.git
@@ -46,3 +47,33 @@ Description: C++ library for resampling audio signals
  similar libraries, e.g. libsamplerate. 
  .
  This package contains the shared library for libzita-resampler.
+
+Package: zita-resampler
+Section: sound
+Architecture: any
+Depends: ${shlibs:Depends},
+ ${misc:Depends}
+Description: resampler application written with libzita-resampler
+ Input format is any file readable by libsndfile, output is either WAV
+ (WAVEX for more than 2 channels)  or CAF. Apart from resampling, users
+ can change the sample format to 16-bit, 24-bit or float, and for 16-bit
+ output, add dithering.
+ .
+ Available dithering types are rectangular, triangular and Lipschitz'
+ optimised error feedback filter. Some examples of dithering can be seen
+ here:
+ http://www.kokkinizita.net/linuxaudio/dithering.html
+
+Package: zita-resampler-dbg
+Section: debug
+Priority: extra
+Architecture: any
+Depends: zita-resampler (= ${binary:Version}),
+ libzita-resampler0 (= ${binary:Version}),
+ ${misc:Depends}
+Description: Debugging symbols for libzita-resampler
+ Zita resampler is a C++ library for resampling audio signals. It is
+ designed to be used within a real-time processing context, to be
+ fast, and to provide high-quality sample rate conversion.
+ .
+ This package provides the debugging symbols.
diff --git a/debian/rules b/debian/rules
index d6db97e..efbcfc6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,3 +2,15 @@
 
 %:
 	dh $@ -Smakefile -Dlibs
+
+override_dh_auto_clean:
+	dh_auto_clean
+	$(MAKE) -C apps/ clean
+
+override_dh_auto_install:
+	dh_auto_install
+	$(MAKE) -C apps/ DESTDIR=$(CURDIR)/debian/tmp
+	$(MAKE) -C apps/ DESTDIR=$(CURDIR)/debian/tmp install
+
+override_dh_strip:
+	dh_strip --dbg-package=zita-resampler-dbg

-- 
zita-resampler packaging



More information about the pkg-multimedia-commits mailing list