From ac29db5dadd17b94fe6f039648248db39e8c1632 Mon Sep 17 00:00:00 2001 From: Alessio Treglia Date: Sat, 11 Feb 2012 15:29:27 +0100 Subject: [PATCH] Add -DBG packages. --- debian/control | 32 ++++++++++++++++++++++++++++++++ debian/rules | 5 +++++ 2 files changed, 37 insertions(+) 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-$@` -- 2.30.2