[neon/extras/qcoro/Neon/unstable] debian: Package also examples and upstream documentation.
Sandro Knauß
null at kde.org
Mon Feb 21 16:19:24 GMT 2022
Git commit dbe92df24d33f23c65a5653aae032e8bca8e3cde by Sandro Knauß.
Committed on 21/02/2022 at 15:13.
Pushed by jriddell into branch 'Neon/unstable'.
Package also examples and upstream documentation.
M +12 -0 debian/control
A +2 -0 debian/qcoro-doc.install
M +6 -0 debian/rules
https://invent.kde.org/neon/extras/qcoro/commit/dbe92df24d33f23c65a5653aae032e8bca8e3cde
diff --git a/debian/control b/debian/control
index db10032..f5a0cd2 100644
--- a/debian/control
+++ b/debian/control
@@ -14,9 +14,20 @@ Vcs-Git: https://salsa.debian.org/qt-kde-team/extras/qcoro.git
Homepage: https://qcoro.dvratil.cz/
Rules-Requires-Root: no
+Package: qcoro-doc
+Architecture: all
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Section: doc
+Description: C++20 coroutines for Qt5 - documentation & examples
+ QCoro is a C++ library that provide set of tools to make use of C++20
+ coroutines in connection with certain asynchronous Qt actions.
+ .
+ This package has the examples and documentation files.
+
Package: qcoro-qt5-dev
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}
+Recommends: qcoro-doc
Section: libdevel
Description: C++20 coroutines for Qt5 - development
QCoro is a C++ library that provide set of tools to make use of C++20
@@ -25,6 +36,7 @@ Description: C++20 coroutines for Qt5 - development
Package: qcoro-qt6-dev
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}
+Recommends: qcoro-doc
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
diff --git a/debian/qcoro-doc.install b/debian/qcoro-doc.install
new file mode 100644
index 0000000..3c44017
--- /dev/null
+++ b/debian/qcoro-doc.install
@@ -0,0 +1,2 @@
+examples /usr/share/doc/qcoro-doc/
+docs /usr/share/doc/qcoro-doc/
diff --git a/debian/rules b/debian/rules
index f6164d7..fc21242 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,3 +19,9 @@ override_dh_auto_build:
override_dh_auto_install:
dh_auto_install
dh_auto_install --builddirectory=build-Qt6
+
+override_dh_install-indep:
+ dh_install
+ rm debian/qcoro-doc/usr/share/doc/qcoro-doc/docs/changelog.md
+ rm -r debian/qcoro-doc/usr/share/doc/qcoro-doc/docs/about
+ rm -r debian/qcoro-doc/usr/share/doc/qcoro-doc/docs/overrides
More information about the Neon-commits
mailing list