[SCM] handbrake/master: adding handbrake-dbg package

onlyjob-guest at users.alioth.debian.org onlyjob-guest at users.alioth.debian.org
Thu Oct 4 13:43:27 UTC 2012


The following commit has been merged in the master branch:
commit 8e760c51bcd0756b269be6de260d0155fee94f06
Author: Dmitry Smirnov <onlyjob at member.fsf.org>
Date:   Thu Oct 4 22:15:48 2012 +1000

    adding handbrake-dbg package

diff --git a/debian/control b/debian/control
index 1e63cbb..e784289 100644
--- a/debian/control
+++ b/debian/control
@@ -84,3 +84,22 @@ Description: versatile DVD ripper and video transcoder (GTK GUI)
  muxing via libmp4v2, it falls back to the MKV format instead.
  .
  This package contains the graphical variant, ghb.
+
+Package: handbrake-dbg
+Section: debug
+Priority: extra
+Architecture: any
+Depends: ${misc:Depends},
+         handbrake-cli (= ${binary:Version}),
+         handbrake-gtk (= ${binary:Version})
+Description: handbrake -- debugging symbols
+ HandBrake is a versatile, easy-to-use tool for converting DVDs and other
+ videos into H.264, XViD, or OGG formatted media.  It's particularly useful
+ for making videos that are compatible with portable video devices such as
+ the Apple iPod/iPhone or Sony PSP.
+ .
+ This version of handbrake has been modified for inclusion in Debian.
+ It does neither support audio encoding to AAC via faac nor MP4 format
+ muxing via libmp4v2, it falls back to the MKV format instead.
+ .
+ This package provides debugging symbols
diff --git a/debian/rules b/debian/rules
index c248e06..1067860 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,14 +1,12 @@
 #!/usr/bin/make -f
 
-CFLAGS   = $(shell dpkg-buildflags --get CFLAGS   2>/dev/null | sed -e 's/-g\|-O2//g')
-CXXFLAGS = $(shell dpkg-buildflags --get CXXFLAGS 2>/dev/null | sed -e 's/-g\|-O2//g')
 LDFLAGS += -Wl,-z,defs -Wl,--as-needed
 
 %:
 	dh $@ --builddirectory=build
 
 override_dh_auto_configure:
-	./configure --prefix=/usr --build build \
+	./configure --prefix=/usr --build build --debug=std \
 		CC="$(CC)" CXX="$(CXX)" \
 		CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" LDFLAGS="$(LDFLAGS)"
 
@@ -23,3 +21,6 @@ override_dh_builddeb:
 
 override_dh_installchangelogs:
 	dh_installchangelogs NEWS
+
+override_dh_strip:
+	dh_strip --dbg-package=handbrake-dbg

-- 
handbrake packaging



More information about the pkg-multimedia-commits mailing list