[neon/kde/layer-shell-qt/Neon/unstable] debian: add kf6-extra-cmake-modules and fix the rules

Carlos De Maine null at kde.org
Tue Mar 14 00:40:54 GMT 2023


Git commit 7499f5271222a028b9b07ae1908d066d148ae83d by Carlos De Maine.
Committed on 14/03/2023 at 00:40.
Pushed by carlosdem into branch 'Neon/unstable'.

add kf6-extra-cmake-modules and fix the rules

M  +1    -1    debian/control
M  +6    -6    debian/rules

https://invent.kde.org/neon/kde/layer-shell-qt/commit/7499f5271222a028b9b07ae1908d066d148ae83d

diff --git a/debian/control b/debian/control
index 7ae6993..67612c3 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>
 Uploaders: Norbert Preining <norbert at preining.info>
 Build-Depends: cmake (>= 3.16~),
                debhelper-compat (= 13),
-               extra-cmake-modules (>= 5.82~),
+               kf6-extra-cmake-modules,
                qt6-wayland-dev,
                libwayland-bin,
                libwayland-dev (>= 1.3~),
diff --git a/debian/rules b/debian/rules
index 27f896b..113c5e3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,10 +1,10 @@
 #!/usr/bin/make -f
-
-export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+# SPDX-License-Identifier: LGPL-2.0-or-later
+# SPDX-FileCopyrightText: 2023 Jonathan Riddell <jr at jriddell.org>
 
 %:
-	dh $@ --with pkgkde_symbolshelper,kf5
+	dh $@ --with kf6 --buildsystem kf6
+
+override_dh_shlibdeps:
+	dh_shlibdeps -l$(CURDIR)/debian/$(shell dh_listpackages | head -n1)/usr/kf6/lib/$(DEB_HOST_MULTIARCH)/
 
-override_dh_clean:
-	rm -rf .clang-format
-	dh_clean


More information about the Neon-commits mailing list