[SCM] Qt 4 packaging branch, master, updated. debian/4.7.3-4-1-g23b8b4c

Fathi Boudra fabo at alioth.debian.org
Mon Jun 27 06:16:54 UTC 2011


The following commit has been merged in the master branch:
commit 23b8b4c3fdaff55c2445ab6a20d7df82885c1e17
Author: Fathi Boudra <fabo at debian.org>
Date:   Mon Jun 27 09:16:23 2011 +0300

    Add support for vendor specifics in debian/rules.
---
 debian/changelog |    6 ++++++
 debian/rules     |    8 +++++++-
 2 files changed, 13 insertions(+), 1 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 71cdcdd..60ffced 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+qt4-x11 (4:4.7.3-5) UNRELEASED; urgency=low
+
+  * Add support for vendor specifics in debian/rules.
+
+ -- Fathi Boudra <fabo at debian.org>  Mon, 27 Jun 2011 09:15:29 +0300
+
 qt4-x11 (4:4.7.3-4) unstable; urgency=low
 
   * Update Fix_fontconfig_usage_in_X11_font_database.patch to fix crashes in
diff --git a/debian/rules b/debian/rules
index 96111c8..f5cedb5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -23,6 +23,8 @@ shlibs_version := $(shell dpkg-parsechangelog | sed -n 's/^Version: //p' | cut -
 # libqt4-phonon shlibs. Minimum libphonon4 version may need adjusting for new
 # Qt upstream release
 libqt4phonon_shlibs := libphonon4 (>= 4:4.6.0) | libqt4-phonon (= $(current_version))
+# Distribution vendor
+vendor := $(shell dpkg-vendor --query Vendor)
 
 ifneq (,$(filter %-sql-ibase,$(shell dh_listpackages)))
 	extra_configure_opts += -plugin-sql-ibase
@@ -34,7 +36,11 @@ ifeq ($(DEB_HOST_ARCH),arm)
 	extra_configure_opts += -DQT_QLOCALE_USES_FCVT
 endif
 
-ifeq ($(DEB_HOST_ARCH),armhf)
+armv6_architectures := armhf
+ifeq ($(vendor),Ubuntu)
+	armv6_architectures += armel
+endif
+ifeq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH), $(armv6_architectures)))
 	extra_configure_opts += -arch armv6
 endif
 

-- 
Qt 4 packaging



More information about the pkg-kde-commits mailing list