[neon/backports-jammy/libaccounts-qt/Neon/unstable] debian: Drop qt4 packages

Maximiliano Curia null at kde.org
Thu Jun 22 01:22:15 BST 2023


Git commit dfbf82749e9f74f831e5e565725f8438b739f90c by Maximiliano Curia.
Committed on 12/07/2017 at 15:34.
Pushed by carlosdem into branch 'Neon/unstable'.

Drop qt4 packages

M  +3    -27   debian/rules

https://invent.kde.org/neon/backports-jammy/libaccounts-qt/-/commit/dfbf82749e9f74f831e5e565725f8438b739f90c

diff --git a/debian/rules b/debian/rules
index a3228fd..de4cbd4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,32 +6,9 @@
 export DPKG_GENSYMBOLS_CHECK_LEVEL=4
 
 override_dh_auto_configure:
-	mkdir -p build/qt4 build/qt5
-	QT_SELECT=qt4 \
-	dh_auto_configure -Bbuild/qt4 \
-		-- LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH) \
-		BUILD_DIR=build/qt4 \
+	dh_auto_configure -- LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH) \
 		"QMAKE_CXXFLAGS=$(CFLAGS)" \
-		../../accounts-qt.pro
-	QT_SELECT=qt5 \
-	dh_auto_configure -Bbuild/qt5 \
-		-- LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH) \
-		BUILD_DIR=build/qt5 \
-		"QMAKE_CXXFLAGS=$(CFLAGS)" \
-		../../accounts-qt.pro
-
-override_dh_auto_build:
-	dh_auto_build -Bbuild/qt4
-	dh_auto_build -Bbuild/qt5
-
-override_dh_auto_clean:
-	dh_auto_clean -Bbuild/qt4
-	dh_auto_clean -Bbuild/qt5
-
-override_dh_auto_install:
-	dh_auto_install -Bbuild/qt5 -plibaccounts-qt5-1
-	dh_auto_install -Bbuild/qt5 -plibaccounts-qt5-dev
-	dh_auto_install -Bbuild/qt4
+		accounts-qt.pro
 
 override_dh_install:
 	rm -f debian/tmp/usr/share/doc/accounts-qt/html/jquery.js
@@ -41,8 +18,7 @@ override_dh_install:
 	dh_install --fail-missing
 
 override_dh_auto_test:
-	cd build/qt4; xvfb-run -a dbus-launch --exit-with-session make check; cd -
-	cd build/qt5; xvfb-run -a dbus-launch --exit-with-session make check; cd -
+	xvfb-run -a dbus-launch --exit-with-session make check
 
 %:
 	dh $@



More information about the Neon-commits mailing list