[neon/backports-jammy/packagekit-qt/Neon/unstable] debian: Build the Qt5 library instead of the Qt4 lib
Matthias Klumpp
null at kde.org
Wed Mar 15 04:29:32 GMT 2023
Git commit a11c9a7825371e6ae4c30f0bd6f9f6c61c141e4b by Matthias Klumpp.
Committed on 24/05/2015 at 15:39.
Pushed by carlosdem into branch 'Neon/unstable'.
Build the Qt5 library instead of the Qt4 lib
M +7 -7 debian/control
D +0 -1 debian/libpackagekitqt4-0.install
D +0 -4 debian/libpackagekitqt4-dev.install
A +1 -0 debian/libpackagekitqt5-0.install
A +4 -0 debian/libpackagekitqt5-dev.install
M +5 -0 debian/rules
https://invent.kde.org/neon/backports-jammy/packagekit-qt/commit/a11c9a7825371e6ae4c30f0bd6f9f6c61c141e4b
diff --git a/debian/control b/debian/control
index 203a10b..9d03b03 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Matthias Klumpp <mak at debian.org>
Build-Depends: cmake (>= 2.8),
debhelper (>= 9),
- libqt4-dev (>= 4.8),
+ qtbase5-dev (>= 5.4),
packagekit (>= 1.0),
pkg-config (>= 0.26)
Standards-Version: 3.9.6
@@ -12,27 +12,27 @@ Homepage: http://www.packagekit.org
Vcs-Git: git://anonscm.debian.org/pkg-packagekit/packagekit-qt.git
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-packagekit/packagekit-qt.git
-Package: libpackagekitqt4-0
+Package: libpackagekitqt5-0
Architecture: any
Multi-Arch: same
Pre-Depends: ${misc:Pre-Depends}
Depends: ${misc:Depends},
${shlibs:Depends}
Recommends: packagekit (>= 1.0)
-Description: Library for accessing PackageKit using Qt4
+Description: Library for accessing PackageKit using Qt5
PackageKit allows performing simple software management tasks over a DBus
interface e.g. refreshing the cache, updating, installing and removing
software packages or searching for multimedia codecs and file handlers.
.
This package provides a library to access PackageKit using Qt.
-Package: libpackagekitqt4-dev
+Package: libpackagekitqt5-dev
Section: libdevel
Architecture: any
-Depends: libpackagekitqt4-0 (= ${binary:Version}),
- libqt4-dev,
+Depends: libpackagekitqt5-0 (= ${binary:Version}),
+ qtbase5-dev,
${misc:Depends}
-Description: Library for accessing PackageKit using Qt4 (development files)
+Description: Library for accessing PackageKit using Qt5 (development files)
PackageKit allows performing simple software management tasks over a DBus
interface e.g. refreshing the cache, updating, installing and removing
software packages or searching for multimedia codecs and file handlers.
diff --git a/debian/libpackagekitqt4-0.install b/debian/libpackagekitqt4-0.install
deleted file mode 100644
index 98a0561..0000000
--- a/debian/libpackagekitqt4-0.install
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib/*/libpackagekitqt4.so.*
diff --git a/debian/libpackagekitqt4-dev.install b/debian/libpackagekitqt4-dev.install
deleted file mode 100644
index dec4243..0000000
--- a/debian/libpackagekitqt4-dev.install
+++ /dev/null
@@ -1,4 +0,0 @@
-usr/include/packagekitqt4/*
-usr/lib/*/cmake/packagekitqt4
-usr/lib/*/libpackagekitqt4.so
-usr/lib/*/pkgconfig/packagekitqt4.pc
diff --git a/debian/libpackagekitqt5-0.install b/debian/libpackagekitqt5-0.install
new file mode 100644
index 0000000..edd5285
--- /dev/null
+++ b/debian/libpackagekitqt5-0.install
@@ -0,0 +1 @@
+usr/lib/*/libpackagekitqt5.so.*
diff --git a/debian/libpackagekitqt5-dev.install b/debian/libpackagekitqt5-dev.install
new file mode 100644
index 0000000..136ac93
--- /dev/null
+++ b/debian/libpackagekitqt5-dev.install
@@ -0,0 +1,4 @@
+usr/include/packagekitqt5/*
+usr/lib/*/cmake/packagekitqt5
+usr/lib/*/libpackagekitqt5.so
+usr/lib/*/pkgconfig/packagekitqt5.pc
diff --git a/debian/rules b/debian/rules
index 7a8dd16..7a89cc5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,12 @@
#!/usr/bin/make -f
+QPK_CONFIGURE_ARGS = -DUSE_QT5=ON
+
%:
dh $@ --parallel
+override_dh_auto_configure:
+ dh_auto_configure -- $(QPK_CONFIGURE_ARGS)
+
override_dh_install:
dh_install --list-missing
More information about the Neon-commits
mailing list