[neon/extras/qcoro/Neon/unstable] debian: Build for Qt5 and Qt6.
Sandro Knauß
null at kde.org
Mon Feb 21 16:19:24 GMT 2022
Git commit 2eb935eb12b30fd01ce959a70f782eb0aa324f86 by Sandro Knauß.
Committed on 21/02/2022 at 15:13.
Pushed by jriddell into branch 'Neon/unstable'.
Build for Qt5 and Qt6.
M +12 -3 debian/control
A +3 -0 debian/qcoro-qt5-dev.install
A +3 -0 debian/qcoro-qt6-dev.install
M +16 -0 debian/rules
https://invent.kde.org/neon/extras/qcoro/commit/2eb935eb12b30fd01ce959a70f782eb0aa324f86
diff --git a/debian/control b/debian/control
index f1fa1cb..db10032 100644
--- a/debian/control
+++ b/debian/control
@@ -7,16 +7,25 @@ Build-Depends: cmake (>= 3.19~),
debhelper-compat (= 13),
dbus-x11,
qtbase5-dev (>= 5.15.0~),
+ qt6-base-dev (>= 6.1.2~),
Standards-Version: 4.6.0
Vcs-Browser: https://salsa.debian.org/qt-kde-team/extras/qcoro
Vcs-Git: https://salsa.debian.org/qt-kde-team/extras/qcoro.git
Homepage: https://qcoro.dvratil.cz/
Rules-Requires-Root: no
-Package: libqcoro-dev
+Package: qcoro-qt5-dev
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}
Section: libdevel
-Description: C++20 coroutines for Qt - development
+Description: C++20 coroutines for Qt5 - development
QCoro is a C++ library that provide set of tools to make use of C++20
- coroutines in connection with certain asynchronous Qt actions.
+ coroutines in connection with certain asynchronous Qt5 actions.
+
+Package: qcoro-qt6-dev
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Section: libdevel
+Description: C++20 coroutines for Qt6 - development
+ QCoro is a C++ library that provide set of tools to make use of C++20
+ coroutines in connection with certain asynchronous Qt6 actions.
diff --git a/debian/qcoro-qt5-dev.install b/debian/qcoro-qt5-dev.install
new file mode 100644
index 0000000..ee2d572
--- /dev/null
+++ b/debian/qcoro-qt5-dev.install
@@ -0,0 +1,3 @@
+usr/include/qcoro5/
+usr/lib/*/cmake/QCoro5*
+usr/lib/*/libQCoro5*
diff --git a/debian/qcoro-qt6-dev.install b/debian/qcoro-qt6-dev.install
new file mode 100644
index 0000000..fd26259
--- /dev/null
+++ b/debian/qcoro-qt6-dev.install
@@ -0,0 +1,3 @@
+usr/include/qcoro6/
+usr/lib/*/cmake/QCoro6*
+usr/lib/*/libQCoro6*
diff --git a/debian/rules b/debian/rules
index b8796e6..f6164d7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,3 +3,19 @@
%:
dh $@
+
+override_dh_auto_clean:
+ dh_auto_clean
+ rm -rf build-Qt6
+
+override_dh_auto_configure:
+ dh_auto_configure -- -DUSE_QT_VERSION=5
+ dh_auto_configure --builddirectory=build-Qt6 -- -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
More information about the Neon-commits
mailing list