[SCM] qtsystems packaging branch, master, updated. 4a6c68d3aa20872881b080cdeabb244834c8e588

Pino Toscano pino at alioth.debian.org
Thu May 30 14:36:15 UTC 2013


Gitweb-URL: http://git.debian.org/?p=pkg-kde/qt/qtsystems.git;a=commitdiff;h=0bc65ce

The following commit has been merged in the master branch:
commit 0bc65cecde655bd1df74aa643f8a664152af94a6
Author: Pino Toscano <pino at debian.org>
Date:   Thu May 30 16:35:23 2013 +0200

    implement "standard" override_dh_auto_install
---
 debian/rules |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/debian/rules b/debian/rules
index c635287..6b1fe95 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,6 +13,26 @@ export LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) -Wl,--as-needed
 override_dh_auto_configure:
 	qmake
 
+override_dh_auto_install:
+	dh_auto_install
+
+	# Fix wrong path in pkgconfig files
+	find $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig -type f -name '*.pc' \
+	-exec sed -i -e 's/$(DEB_HOST_MULTIARCH)\/$(DEB_HOST_MULTIARCH)/$(DEB_HOST_MULTIARCH)/g' {} \;
+
+	# Fix wrong permissions in examples.
+	find $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/qt5/examples/ -type f \( \
+	-name '*.png' \
+	-o -name '*.php' \
+	-o -name '*.xsl' \
+	-o -name '*.xml' \
+	-o -name '*.js' \
+	-o -name '*.jpg' \
+	\) -print0 | xargs -0 chmod a-x
+
+	# Remove libtool-like files
+	rm -f debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/*.la
+
 override_dh_builddeb:
 	dh_builddeb -- -Zxz
 

-- 
qtsystems packaging



More information about the pkg-kde-commits mailing list