Add -DBG packages.
authorAlessio Treglia <alessio@debian.org>
Sat, 11 Feb 2012 14:29:27 +0000 (15:29 +0100)
committerAlessio Treglia <alessio@debian.org>
Sat, 11 Feb 2012 14:29:27 +0000 (15:29 +0100)
debian/control
debian/rules

index 47464706c737cc1ebd900ca3732ecf14738df97f..6d67a2d6fdbe8e7bcd65403582a5b1f6b30d7c5c 100644 (file)
@@ -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
index 37076c88fd40e19dc24f33cf5c79e73dc4bdc6d9..1bc04aed519b0c6fd3e558cf1d3933030a8cb5d4 100755 (executable)
@@ -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-$@`