[neon/backports-jammy/kcolorpicker/Neon/stable] debian: qt 6 port

Jonathan Esk-Riddell null at kde.org
Tue Jan 16 16:21:02 GMT 2024


Git commit c4cd5e50c2c968f6c92508ac01b261de1f6ce673 by Jonathan Esk-Riddell.
Committed on 16/01/2024 at 17:20.
Pushed by jriddell into branch 'Neon/stable'.

qt 6 port

M  +4    -4    debian/control
R  +0    -0    debian/libkcolorpicker-qt6-0.install [from: debian/libkcolorpicker0.install - 100% similarity]
R  +0    -0    debian/libkcolorpicker-qt6-dev.docs [from: debian/libkcolorpicker-dev.docs - 100% similarity]
R  +0    -0    debian/libkcolorpicker-qt6-dev.examples [from: debian/libkcolorpicker-dev.examples - 100% similarity]
R  +0    -0    debian/libkcolorpicker-qt6-dev.install [from: debian/libkcolorpicker-dev.install - 100% similarity]
D  +0    -1    debian/libkcolorpicker0.shlibs
M  +2    -4    debian/rules

https://invent.kde.org/neon/backports-jammy/kcolorpicker/-/commit/c4cd5e50c2c968f6c92508ac01b261de1f6ce673

diff --git a/debian/control b/debian/control
index 0fe4d05..8c7d965 100644
--- a/debian/control
+++ b/debian/control
@@ -5,18 +5,18 @@ Maintainer: Boyuan Yang <byang at debian.org>
 Build-Depends:
  cmake,
  debhelper-compat (= 13),
- qtbase5-dev,
+ qt6-base-dev
 Rules-Requires-Root: no
 Standards-Version: 4.6.1
 Homepage: https://github.com/ksnip/kcolorpicker
 Vcs-Git: https://salsa.debian.org/debian/kcolorpicker.git
 Vcs-Browser: https://salsa.debian.org/debian/kcolorpicker
 
-Package: libkcolorpicker-dev
+Package: libkcolorpicker-qt6-dev
 Architecture: any
 Multi-Arch: same
 Depends:
- libkcolorpicker0 (= ${binary:Version}),
+ libkcolorpicker-qt6-0 (= ${binary:Version}),
  ${misc:Depends},
 Description: QToolButton-like widget with color selection popup menu (dev)
  The kColorPicker library provides a QToolButton-like widget with color
@@ -24,7 +24,7 @@ Description: QToolButton-like widget with color selection popup menu (dev)
  .
  This package provides the development files.
 
-Package: libkcolorpicker0
+Package: libkcolorpicker-qt6-0
 Architecture: any
 Multi-Arch: same
 Depends:
diff --git a/debian/libkcolorpicker0.install b/debian/libkcolorpicker-qt6-0.install
similarity index 100%
rename from debian/libkcolorpicker0.install
rename to debian/libkcolorpicker-qt6-0.install
diff --git a/debian/libkcolorpicker-dev.docs b/debian/libkcolorpicker-qt6-dev.docs
similarity index 100%
rename from debian/libkcolorpicker-dev.docs
rename to debian/libkcolorpicker-qt6-dev.docs
diff --git a/debian/libkcolorpicker-dev.examples b/debian/libkcolorpicker-qt6-dev.examples
similarity index 100%
rename from debian/libkcolorpicker-dev.examples
rename to debian/libkcolorpicker-qt6-dev.examples
diff --git a/debian/libkcolorpicker-dev.install b/debian/libkcolorpicker-qt6-dev.install
similarity index 100%
rename from debian/libkcolorpicker-dev.install
rename to debian/libkcolorpicker-qt6-dev.install
diff --git a/debian/libkcolorpicker0.shlibs b/debian/libkcolorpicker0.shlibs
deleted file mode 100644
index a0b3c24..0000000
--- a/debian/libkcolorpicker0.shlibs
+++ /dev/null
@@ -1 +0,0 @@
-libkColorPicker 0 libkcolorpicker0 (>= 0.2.0)
diff --git a/debian/rules b/debian/rules
index ca83181..7924d8d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,13 +12,11 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 # package maintainers to append LDFLAGS
 export DEB_LDFLAGS_MAINT_APPEND =
 
-export QT_SELECT := 5
-
-
 %:
-	dh $@
+	dh $@ --with kf6 --buildsystem kf6
 
 override_dh_auto_configure:
 	dh_auto_configure -- \
 	        -DBUILD_SHARED_LIBS=ON \
+	        -DBUILD_WITH_QT6=6 \
 	        $(NULL)


More information about the Neon-commits mailing list