[neon/kde/knights/Neon/unstable] debian: kf6ify

Scarlett Moore null at kde.org
Thu Sep 28 12:03:15 BST 2023


Git commit 48612b3adeb2464920d6a3d9e0853404b0349824 by Scarlett Moore.
Committed on 28/09/2023 at 13:03.
Pushed by scarlettmoore into branch 'Neon/unstable'.

kf6ify

D  +0    -1    debian/compat
M  +18   -16   debian/control
M  +4    -7    debian/rules

https://invent.kde.org/neon/kde/knights/-/commit/48612b3adeb2464920d6a3d9e0853404b0349824

diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index b4de394..0000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-11
diff --git a/debian/control b/debian/control
index e94423c..936137d 100644
--- a/debian/control
+++ b/debian/control
@@ -3,22 +3,24 @@ Section: games
 Priority: optional
 Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>
 Uploaders: José Manuel Santamaría Lema <panfaust at gmail.com>
-Build-Depends: debhelper (>= 11~), pkg-kde-tools (>= 0.15.16), cmake (>= 3.2.0),
- extra-cmake-modules (>= 5.30.0~),
- qtbase5-dev (>= 5.7.0~),
- libqt5svg5-dev (>= 5.7.0~),
- libqt5texttospeech5-dev (>= 5.7.0~),
- libkf5configwidgets-dev (>= 5.30.0~),
- libkf5crash-dev (>= 5.30.0~),
- libkf5dbusaddons-dev (>= 5.30.0~),
- libkf5doctools-dev (>= 5.30.0~),
- libkf5kio-dev (>= 5.30.0~),
- libkf5plasma-dev (>= 5.30.0~),
- libkf5plotting-dev (>= 5.30.0~),
- libkf5textwidgets-dev (>= 5.30.0~),
- libkf5xmlgui-dev (>= 5.30.0~),
- libkf5wallet-dev (>= 5.30.0~),
- libkf5kdegames-dev,
+Build-Depends: debhelper-compat (= 12),
+               pkg-kde-tools-neon,
+               cmake (>= 3.2.0),
+               kf6-extra-cmake-modules,
+               qt6-base-dev,
+               qt6-svg-dev,
+               qt6-texttospeech-dev,
+               kf6-kconfigwidgets-dev,
+               kf6-kcrash-dev,
+               kf6-kdbusaddons-dev,
+               kf6-kdoctools-dev,
+               kf6-kio-dev,
+               kf6-kplasma-dev,
+               kf6-kplotting-dev,
+               kf6-ktextwidgets-dev,
+               kf6-kxmlgui-dev,
+               kf6-kwallet-dev,
+               libkdegames6-dev,
 Standards-Version: 4.2.1
 Homepage: https://www.kde.org/applications/games/knights/
 Vcs-Browser: https://salsa.debian.org/qt-kde-team/kde/knights
diff --git a/debian/rules b/debian/rules
index 2631dd0..773c786 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,12 +1,9 @@
 #!/usr/bin/make -f
-
-export DEB_LDFLAGS_MAINT_APPEND := -Wl,--as-needed
+# SPDX-License-Identifier: LGPL-2.0-or-later
+# SPDX-FileCopyrightText: 2023 Jonathan Riddell <jr at jriddell.org>
 
 %:
-	dh $@ --with kf5
+	dh $@ --with kf6 --buildsystem kf6
 
 override_dh_auto_configure:
-	dh_auto_configure -Skf5 -- -DKDE_INSTALL_BINDIR=/usr/games
-
-override_dh_strip:
-	dh_strip --dbgsym-migration='knights-dbg (<< 18.11.80~)'
+	dh_auto_configure -- -DBIN_INSTALL_DIR=/usr/games


More information about the Neon-commits mailing list