[neon/extras/kuserfeedback/Neon/unstable] debian: fix the rules

Carlos De Maine null at kde.org
Tue Mar 14 06:53:36 GMT 2023


Git commit fc311578364f46e61f24f6f79b5228ca6b3662b1 by Carlos De Maine.
Committed on 14/03/2023 at 06:53.
Pushed by carlosdem into branch 'Neon/unstable'.

fix the rules

M  +1    -35   debian/rules

https://invent.kde.org/neon/extras/kuserfeedback/commit/fc311578364f46e61f24f6f79b5228ca6b3662b1

diff --git a/debian/rules b/debian/rules
index 10dfe8a..f70bd3d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,7 +11,7 @@ execute_after_dh_auto_clean:
 
 override_dh_auto_configure-arch:
 	dh_auto_configure --with kf5,pkgkde_symbolshelper --buildsystem kf5 -DENABLE_DOCS=OFF -DQT_MAJOR_VERSION=5
-	dh_auto_configure --with kf6,pkgkde_symbolshelper --buildsystem kf6 --builddirectory=build-Qt6 -DUSE_QT_VERSION=6
+	dh_auto_configure --with kf6,pkgkde_symbolshelper --buildsystem kf6 -DENABLE_DOCS=OFF --builddirectory=build-Qt6 -- -DBUILD_WITH_QT6=ON
 
 override_dh_auto_configure-indep:
 	dh_auto_configure -- -DENABLE_DOCS=ON -DQT_MAJOR_VERSION=5
@@ -24,37 +24,3 @@ override_dh_auto_install:
 override_dh_auto_test:
 	xvfb-run dh_auto_test --no-parallel
 	xvfb-run dh_auto_test --no-parallel --builddirectory=build-Qt6
-
-#!/usr/bin/make -f
-# -*- makefile -*-
-
-export DEB_BUILD_MAINT_OPTIONS = hardening=+all
-
-CMAKE_ARGS = -DBUILD_SHARED_LIBS=ON -DQCORO_BUILD_EXAMPLES=OFF
-
-%:
-	dh $@ --with pkgkde_symbolshelper
-
-execute_after_dh_auto_clean:
-	rm -rf build-Qt6
-
-override_dh_auto_configure:
-	dh_auto_configure -- $(CMAKE_ARGS) -DUSE_QT_VERSION=5
-	dh_auto_configure --builddirectory=build-Qt6 -- $(CMAKE_ARGS) -DUSE_QT_VERSION=6
-
-override_dh_auto_build:
-	dh_auto_build
-	dh_auto_build --builddirectory=build-Qt6
-
-override_dh_auto_install:
-	dh_auto_install
-	dh_auto_install --builddirectory=build-Qt6
-
-execute_after_dh_install-indep:
-	rm debian/qcoro-doc/usr/share/doc/qcoro-doc/docs/changelog.md
-	rm -r debian/qcoro-doc/usr/share/doc/qcoro-doc/docs/about
-	rm -r debian/qcoro-doc/usr/share/doc/qcoro-doc/docs/overrides
-
-override_dh_auto_test:
-	dh_auto_test --no-parallel
-	dh_auto_test --no-parallel --builddirectory=build-Qt6
\ No newline at end of file


More information about the Neon-commits mailing list