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

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


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

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

diff --git a/debian/control b/debian/control
index cc4b85a..ae30e0e 100755
--- a/debian/control
+++ b/debian/control
@@ -73,6 +73,18 @@ Description: Sound stretching library (32 bit)
  .
  This package contains the libsoundtouch0 shared library (32 bit).
 
+Package: lib32soundtouch0-dbg
+Priority: extra
+Section: debug
+Architecture: amd64
+Depends: lib32soundtouch0 (= ${binary:Version}),
+ ${misc:Depends}
+Description: Debugging symbols for the sound stretching library (32 bit)
+ SoundTouch is a library that can be used to change pitch and time of
+ soundfiles independently.
+ .
+ This package contains the debugging symbols (32 bit) for lib32soundtouch0.
+
 Package: soundstretch
 Section: sound
 Architecture: any
diff --git a/debian/lib32soundtouch0-dbg.links b/debian/lib32soundtouch0-dbg.links
new file mode 100755
index 0000000..c3e05ea
--- /dev/null
+++ b/debian/lib32soundtouch0-dbg.links
@@ -0,0 +1 @@
+usr/share/doc/lib32soundtouch0 /usr/share/doc/lib32soundtouch0-dbg
diff --git a/debian/rules b/debian/rules
index 22ed25a..90fe59d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -29,6 +29,9 @@ override_dh_installchangelogs:
 
 override_dh_strip:
 	dh_strip --package=libsoundtouch0 --dbg-package=libsoundtouch0-dbg
+        ifeq ($(DEB_HOST_ARCH), amd64)
+		dh_strip --package=lib32soundtouch0 --dbg-package=lib32soundtouch0-dbg
+        endif
 
 %:
 	dh $@ --with autoreconf

-- 
soundtouch packaging



More information about the pkg-multimedia-commits mailing list