[GIT] 03/04: Update debian/rules: - build using kf5 libraries instead of kde4 - update configure flags - use xz compression in packages

Boris Pek tehnick at moszumanska.debian.org
Sat Jul 25 19:46:52 UTC 2015


This is an automated email from the git hooks/post-receive script.

tehnick pushed a commit to branch master
in repository qtcurve.

commit 29ae6b2b8897eaebd2eb3e39ab53e2e9191e2cfc
Author: Boris Pek <tehnick-8 at yandex.ru>
Date:   Sat Jul 25 22:43:37 2015 +0300

    Update debian/rules:
    - build using kf5 libraries instead of kde4
    - update configure flags
    - use xz compression in packages
---
 debian/rules | 18 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)

diff --git a/debian/rules b/debian/rules
index 2b3cddf..150cf68 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,13 +8,25 @@ CUR_VER = $(shell echo "$(USCAN_REPORT)" | sed -n 's/.*<upstream-version>\(.*\)<
 CUR_URL = $(shell echo "$(USCAN_REPORT)" | sed -n 's/.*<upstream-url>\(.*\)<\/upstream-url>.*/\1/p')
 
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
-LDFLAGS += -Wl,--as-needed
+
+# export DEB_CXXFLAGS_MAINT_APPEND = $(shell dpkg-buildflags --get CPPFLAGS)
+# export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
 
 %:
-	dh $@ --parallel --list-missing --with kde
+	dh $@ --parallel --list-missing --with=kf5
 
 override_dh_auto_configure:
-	dh_auto_configure -- -DLIB_INSTALL_DIR="/usr/lib/$(DEB_HOST_MULTIARCH)"
+	dh_auto_configure -- \
+		-DLIB_INSTALL_DIR="/usr/lib/$(DEB_HOST_MULTIARCH)" \
+		-DQT_QMAKE_EXECUTABLE=/usr/bin/qmake-qt4 \
+		-DQTC_QT5_ENABLE_KDE=On \
+		-DQTC_QT5_ENABLE_KWIN=On \
+		-DQTC_QT4_ENABLE_KDE=Off \
+		-DQTC_QT4_ENABLE_KWIN=Off \
+		-DENABLE_TEST=Off
+
+override_dh_builddeb:
+	dh_builddeb -- -Zxz
 
 get-orig-source:
 	wget -c "$(CUR_URL)" -O "$(PACKAGE)_$(CUR_VER).orig.tar.gz"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-kde/kde-extras/qtcurve.git



More information about the pkg-kde-commits mailing list