[neon/qt/qtgamepad/Neon/release] debian: Build and install the documentation.
Dmitry Shachnev
null at kde.org
Thu May 5 12:55:36 BST 2022
Git commit e068def30c3123f7d4fab381918438ac487461fd by Dmitry Shachnev.
Committed on 21/04/2021 at 17:35.
Pushed by jriddell into branch 'Neon/release'.
Build and install the documentation.
M +1 -0 debian/changelog
M +33 -0 debian/control
A +9 -0 debian/qtgamepad5-doc-html.doc-base
A +1 -0 debian/qtgamepad5-doc-html.install
A +1 -0 debian/qtgamepad5-doc-html.links
A +1 -0 debian/qtgamepad5-doc.install
https://invent.kde.org/neon/qt/qtgamepad/commit/e068def30c3123f7d4fab381918438ac487461fd
diff --git a/debian/changelog b/debian/changelog
index 680eb5b..0051dcc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ qtgamepad-everywhere-src (5.15.2-3) UNRELEASED; urgency=medium
[ Dmitry Shachnev ]
* Build and install the QML module (closes: #987318).
+ * Build and install the documentation.
-- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org> Wed, 21 Apr 2021 20:17:53 +0300
diff --git a/debian/control b/debian/control
index d47f81f..d5afd8a 100644
--- a/debian/control
+++ b/debian/control
@@ -12,6 +12,10 @@ Build-Depends: debhelper-compat (= 13),
qtbase5-dev (>= 5.15.2+dfsg~),
qtbase5-private-dev (>= 5.15.2+dfsg~),
qtdeclarative5-dev (>= 5.15.2+dfsg~)
+Build-Depends-Indep: qdoc-qt5 (>= 5.15.2~) <!nodoc>,
+ qhelpgenerator-qt5 (>= 5.15.2~) <!nodoc>,
+ qtattributionsscanner-qt5 (>= 5.15.2~) <!nodoc>,
+ qtbase5-doc-html (>= 5.15.2+dfsg~) <!nodoc>
Rules-Requires-Root: no
Standards-Version: 4.5.1
Homepage: https://doc.qt.io/qt-5/qtgamepad-index.html
@@ -60,3 +64,32 @@ Description: Qt 5 Gamepad QML module
.
The Qt Gamepad module provides QML types that can be used to access the
state of gamepad hardware that may be available on a system.
+
+Package: qtgamepad5-doc
+Build-Profiles: <!nodoc>
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}
+Description: Qt 5 Gamepad QCH documentation
+ Qt Gamepad is an add-on library that enables Qt applications to support the
+ use of gamepad hardware and in some cases remote control equipment. The
+ module provides both QML and C++ interfaces. The primary target audience are
+ embedded devices with fullscreen user interfaces, and mobile applications
+ targeting TV-like form factors.
+ .
+ This package contains the documentation in QCH format, which can be viewed
+ using Qt Assistant from qt5-assistant package.
+
+Package: qtgamepad5-doc-html
+Build-Profiles: <!nodoc>
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}
+Description: Qt 5 Gamepad HTML documentation
+ Qt Gamepad is an add-on library that enables Qt applications to support the
+ use of gamepad hardware and in some cases remote control equipment. The
+ module provides both QML and C++ interfaces. The primary target audience are
+ embedded devices with fullscreen user interfaces, and mobile applications
+ targeting TV-like form factors.
+ .
+ This package contains the documentation in HTML format.
diff --git a/debian/qtgamepad5-doc-html.doc-base b/debian/qtgamepad5-doc-html.doc-base
new file mode 100644
index 0000000..d3f324b
--- /dev/null
+++ b/debian/qtgamepad5-doc-html.doc-base
@@ -0,0 +1,9 @@
+Document: qt5-gamepad
+Title: Qt 5 Gamepad module
+Author: The Qt Company Ltd
+Abstract: This is the HTML documentation for Qt 5 Gamepad
+Section: Programming/C++
+
+Format: HTML
+Index: /usr/share/doc/qtgamepad5-doc-html/html/qtgamepad/qtgamepad-index.html
+Files: /usr/share/doc/qtgamepad5-doc-html/html/qtgamepad/*.html
diff --git a/debian/qtgamepad5-doc-html.install b/debian/qtgamepad5-doc-html.install
new file mode 100644
index 0000000..14fb8a4
--- /dev/null
+++ b/debian/qtgamepad5-doc-html.install
@@ -0,0 +1 @@
+usr/share/qt5/doc/qtgamepad
diff --git a/debian/qtgamepad5-doc-html.links b/debian/qtgamepad5-doc-html.links
new file mode 100644
index 0000000..b3ccff3
--- /dev/null
+++ b/debian/qtgamepad5-doc-html.links
@@ -0,0 +1 @@
+usr/share/qt5/doc usr/share/doc/qtgamepad5-doc-html/html
diff --git a/debian/qtgamepad5-doc.install b/debian/qtgamepad5-doc.install
new file mode 100644
index 0000000..3d61f02
--- /dev/null
+++ b/debian/qtgamepad5-doc.install
@@ -0,0 +1 @@
+usr/share/qt5/doc/qtgamepad.qch
More information about the Neon-commits
mailing list