[SCM] gpac/master: Add -DBG packages.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Sat Feb 11 14:29:11 UTC 2012


The following commit has been merged in the master branch:
commit ac29db5dadd17b94fe6f039648248db39e8c1632
Author: Alessio Treglia <alessio at debian.org>
Date:   Sat Feb 11 15:29:27 2012 +0100

    Add -DBG packages.

diff --git a/debian/control b/debian/control
index 4746470..6d67a2d 100644
--- a/debian/control
+++ b/debian/control
@@ -52,6 +52,22 @@ Description: GPAC Project on Advanced Content - utilities
    - MP4Client (content packaging)
    - MP4Box
 
+Package: gpac-dbg
+Priority: extra
+Section: debug
+Architecture: any
+Depends:
+ gpac (= ${binary:Version}),
+ libgpac-dbg (= ${binary:Version}),
+ ${misc:Depends}
+Description: GPAC Project on Advanced Content - debugging symbols
+ GPAC stands for GPAC Project on Advanced Content (a recursive acronym). It is
+ an Open Source multimedia framework for research and academic purposes. The
+ project covers different aspects of multimedia, with a focus on presentation
+ technologies (graphics, animation and interactivity).
+ .
+ This package provides the debugging symbols for GPAC applications.
+
 Package: gpac-modules-base
 Architecture: any
 Multi-Arch: same
@@ -86,6 +102,22 @@ Description: GPAC Project on Advanced Content - shared libraries
  This package contains the shared libraries used at runtime in depending
  packages.
 
+Package: libgpac-dbg
+Priority: extra
+Section: debug
+Architecture: any
+Multi-Arch: same
+Depends:
+ libgpac1 (= ${binary:Version}),
+ ${misc:Depends}
+Description: GPAC Project on Advanced Content - debugging symbols for libgpac1
+ GPAC stands for GPAC Project on Advanced Content (a recursive acronym). It is
+ an Open Source multimedia framework for research and academic purposes. The
+ project covers different aspects of multimedia, with a focus on presentation
+ technologies (graphics, animation and interactivity).
+ .
+ This package provides the debugging symbols for libgpac1.
+
 Package: libgpac-dev
 Architecture: any
 Section: libdevel
diff --git a/debian/rules b/debian/rules
index 37076c8..1bc04ae 100755
--- a/debian/rules
+++ b/debian/rules
@@ -44,6 +44,11 @@ override_dh_clean:
 	dh_clean config.h bin/gcc/libgpac* include/gpac/version.h
 	find $(CURDIR) -name *.opic -delete
 
+override_dh_strip:
+	dh_strip -pgpac --dbg-package=gpac-dbg
+	dh_strip -plibgpac1 --dbg-package=libgpac-dbg
+	dh_strip --remaining-packages
+
 get-orig-source:
 # Use external script
 	sh debian/repack.stub `$(dir $_)gpac-$@`

-- 
gpac packaging



More information about the pkg-multimedia-commits mailing list