[SCM] gmtk/master: Use /usr/share/dpkg/buildflags.mk for buildflags.

sramacher-guest at users.alioth.debian.org sramacher-guest at users.alioth.debian.org
Mon Jan 2 14:43:23 UTC 2012


The following commit has been merged in the master branch:
commit a4a2cd320ee9aec932c5552e343edd964b8db382
Author: Sebastian Ramacher <s.ramacher at gmx.at>
Date:   Mon Jan 2 15:00:39 2012 +0100

    Use /usr/share/dpkg/buildflags.mk for buildflags.
    
    debian/control: add Build-Dep on dpkg-dev
    debian/rules: include /usr/share/dpkg/buildflags.mk

diff --git a/debian/control b/debian/control
index f68b223..e8c8cc5 100644
--- a/debian/control
+++ b/debian/control
@@ -10,7 +10,8 @@ Build-Depends: debhelper (>= 7.0.50~),
  libgtk2.0-dev,
  libpulse-dev,
  libasound2-dev,
- libgconf2-dev
+ libgconf2-dev,
+ dpkg-dev (>= 1.16.1)
 Standards-Version: 3.9.1
 Homepage: http://code.google.com/p/gmtk/
 Vcs-Git: git://anonscm.debian.org/pkg-multimedia/gmtk.git
diff --git a/debian/rules b/debian/rules
index 07729e6..8982e10 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,11 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed
+
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/buildflags.mk
+
 %:
 	dh $@ --with autoreconf
 

-- 
gmtk packaging



More information about the pkg-multimedia-commits mailing list