[SCM] soundtouch/master: Create the libsoundtouch0-dbg package.

micove-guest at users.alioth.debian.org micove-guest at users.alioth.debian.org
Mon Jan 17 03:29:51 UTC 2011


The following commit has been merged in the master branch:
commit 30bd02ed0bf3162963f11bd30eaede630c43d5c9
Author: Miguel Colon <debian.micove at gmail.com>
Date:   Sun Jan 16 22:10:45 2011 -0500

    Create the libsoundtouch0-dbg package.
    
    Adds the required information to the control file.
    Create a symlink pointing to the libsoundtouch0 doc folder.
    Adds an appropiate override_dh_strip section in the rules file.

diff --git a/debian/control b/debian/control
index 294f3ae..cc4b85a 100755
--- a/debian/control
+++ b/debian/control
@@ -37,6 +37,18 @@ Description: Sound stretching library
  .
  This package contains the libsoundtouch0 shared library.
 
+Package: libsoundtouch0-dbg
+Priority: extra
+Section: debug
+Architecture: any
+Depends: libsoundtouch0 (= ${binary:Version}),
+ ${misc:Depends}
+Description: Debugging symbols for the sound stretching library
+ SoundTouch is a library that can be used to change pitch and time of
+ soundfiles independently.
+ .
+ This package contains the debugging symbols for libsoundtouch0.
+
 Package: lib32soundtouch0-dev
 Section: libdevel
 Architecture: amd64
diff --git a/debian/libsoundtouch0-dbg.links b/debian/libsoundtouch0-dbg.links
new file mode 100755
index 0000000..540c5d1
--- /dev/null
+++ b/debian/libsoundtouch0-dbg.links
@@ -0,0 +1 @@
+usr/share/doc/libsoundtouch0 /usr/share/doc/libsoundtouch0-dbg
diff --git a/debian/rules b/debian/rules
index f57e5d7..22ed25a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -27,5 +27,8 @@ override_dh_installdocs:
 override_dh_installchangelogs:
 	dh_installchangelogs -plibsoundtouch0 -psoundstretch
 
+override_dh_strip:
+	dh_strip --package=libsoundtouch0 --dbg-package=libsoundtouch0-dbg
+
 %:
 	dh $@ --with autoreconf

-- 
soundtouch packaging



More information about the pkg-multimedia-commits mailing list