[SCM] bs1770gain/master: Add binary package bs1770gain-dbg for debug symbols.

pere at users.alioth.debian.org pere at users.alioth.debian.org
Tue Jun 2 21:55:49 UTC 2015


The following commit has been merged in the master branch:
commit 6842a4c77064092b8619bbc82879dc27286a929e
Author: Petter Reinholdtsen <pere at hungry.com>
Date:   Tue Jun 2 21:55:29 2015 +0000

    Add binary package bs1770gain-dbg for debug symbols.

diff --git a/debian/bs1770gain.install b/debian/bs1770gain.install
new file mode 100644
index 0000000..cae4627
--- /dev/null
+++ b/debian/bs1770gain.install
@@ -0,0 +1,2 @@
+usr/bin/bs1770gain
+usr/lib/bs1770gain
diff --git a/debian/control b/debian/control
index be43b5a..39c78b9 100644
--- a/debian/control
+++ b/debian/control
@@ -21,3 +21,17 @@ Description: measure and adjust audio and video sound loudness
  ITU-R BS.1770 and its flavors EBU R128, ATSC A/85, and ReplayGain
  2.0. It helps normalizing the loudness of audio and video files to
  the same level.
+
+Package: bs1770gain-dbg
+Section: debug
+Priority: extra
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+ , bs1770gain
+Description: measure and adjust audio and video sound loudness (debug symbols)
+ The command line tool bs1770gain is a loudness scanner compliant with
+ ITU-R BS.1770 and its flavors EBU R128, ATSC A/85, and ReplayGain
+ 2.0. It helps normalizing the loudness of audio and video files to
+ the same level.
+ .
+ Debug symbols for libraries and binary.
diff --git a/debian/rules b/debian/rules
index 2a7e787..4084a0f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,7 +6,14 @@
 override_dh_auto_configure:
 	dh_auto_configure -- --libdir=/usr/lib/bs1770gain
 
-#
+override_dh_strip:
+	dh_strip --dbg-package=bs1770gain-dbg
+
+# Avoid this lintian warning: E: bs1770gain: non-empty-dependency_libs-in-la-file usr/lib/bs1770gain/libffsox-2.la
+override_dh_install:
+	sed -i "/dependency_libs/ s/'.*'/''/" `find -name '*.la'`
+	dh_install
+
 # Hack around the fact that we replace the build system.  Remove the
 # old one and recreate an autotools based system.
 #

-- 
bs1770gain packaging



More information about the pkg-multimedia-commits mailing list