summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmanoil Kotsev <deloptes@gmail.com>2023-05-17 07:51:41 +0000
committerEmanoil Kotsev <deloptes@gmail.com>2023-05-18 22:26:13 +0000
commit4f5df2771d5544e4ad783a98ddeeb9e92f21c614 (patch)
tree6cb929740f6b62665f03733e489c7592fda1e45d
parentd13dcfc67512346edf79df2417fc912787144ab2 (diff)
downloadtde-packaging-4f5df277.tar.gz
tde-packaging-4f5df277.zip
Add debian rules for building tdebluez api docs
Signed-off-by: Emanoil Kotsev <deloptes@gmail.com>
-rw-r--r--debian/_base/applications/system/tdebluez/debian/control17
-rwxr-xr-xdebian/_base/applications/system/tdebluez/debian/rules2
-rw-r--r--debian/_base/applications/system/tdebluez/debian/tdebluez-trinity-api-doc.install1
-rw-r--r--ubuntu/_base/applications/system/tdebluez/debian/control17
-rwxr-xr-xubuntu/_base/applications/system/tdebluez/debian/rules2
-rw-r--r--ubuntu/_base/applications/system/tdebluez/debian/tdebluez-trinity-api-doc.install1
6 files changed, 36 insertions, 4 deletions
diff --git a/debian/_base/applications/system/tdebluez/debian/control b/debian/_base/applications/system/tdebluez/debian/control
index 916a97314..a6cdbcaf1 100644
--- a/debian/_base/applications/system/tdebluez/debian/control
+++ b/debian/_base/applications/system/tdebluez/debian/control
@@ -3,6 +3,7 @@ Section: tde
Priority: optional
Maintainer: TDE Debian Team <team-debian@trinitydesktop.org>
Build-Depends: cdbs, debhelper (>= 9~), quilt, tde-cmake, ninja-build, tdelibs14-trinity-dev, libdbus-1-tqt-dev
+Build-Depends-Indep: doxygen, graphviz
Standards-Version: 3.8.0
Package: tdebluez-trinity
@@ -50,7 +51,7 @@ Description: development files for libtdebluez
This package is part of the TDE Bluetooth Framework.
It contains the development files for libtdebluez.
.
- See the 'tdebluez-trinity' package for more informations.
+ See the 'tdebluez-trinity' and 'tdebluez-trinity-api-doc' package for more informations.
Package: libtdeobex-trinity-dev
Architecture: any
@@ -60,4 +61,16 @@ Description: development files for libtdeobex
This package is part of the TDE Bluetooth Framework.
It contains the development files for libtdeobex.
.
- See the 'tdebluez-trinity' package for more informations.
+ See the 'tdebluez-trinity' and 'tdebluez-trinity-api-doc' package for more informations.
+
+Package: tdebluez-trinity-api-doc
+Section: doc
+Architecture: all
+Description: developer documentation for the libtdebluez-trinity and libtdeobex-trinity libraries
+ This package contains documentation for the libtdebluez-trinity and libtdeobex-trinity libraries of
+ use more for developers creating applications which use the libtdebluez-trinity and libtdeobex-trinity
+ libraries, than regular users.
+ .
+ This package is part of the provided bindings for the Trinity TQt interface.
+ .
+ See the tdebluez-trinity description for more information about tdebluez in general.
diff --git a/debian/_base/applications/system/tdebluez/debian/rules b/debian/_base/applications/system/tdebluez/debian/rules
index 5a0da42af..9c17d4c4c 100755
--- a/debian/_base/applications/system/tdebluez/debian/rules
+++ b/debian/_base/applications/system/tdebluez/debian/rules
@@ -4,6 +4,8 @@ include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
include debian/cdbs/debian-tde.mk
+DEB_KDE_APIDOX := yes
+
DEB_CMAKE_EXTRA_FLAGS := \
-DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
diff --git a/debian/_base/applications/system/tdebluez/debian/tdebluez-trinity-api-doc.install b/debian/_base/applications/system/tdebluez/debian/tdebluez-trinity-api-doc.install
new file mode 100644
index 000000000..50a3931d0
--- /dev/null
+++ b/debian/_base/applications/system/tdebluez/debian/tdebluez-trinity-api-doc.install
@@ -0,0 +1 @@
+debian/tmp/usr/share/doc/tdebluez-trinity-api/HTML/en/*
diff --git a/ubuntu/_base/applications/system/tdebluez/debian/control b/ubuntu/_base/applications/system/tdebluez/debian/control
index 916a97314..a6cdbcaf1 100644
--- a/ubuntu/_base/applications/system/tdebluez/debian/control
+++ b/ubuntu/_base/applications/system/tdebluez/debian/control
@@ -3,6 +3,7 @@ Section: tde
Priority: optional
Maintainer: TDE Debian Team <team-debian@trinitydesktop.org>
Build-Depends: cdbs, debhelper (>= 9~), quilt, tde-cmake, ninja-build, tdelibs14-trinity-dev, libdbus-1-tqt-dev
+Build-Depends-Indep: doxygen, graphviz
Standards-Version: 3.8.0
Package: tdebluez-trinity
@@ -50,7 +51,7 @@ Description: development files for libtdebluez
This package is part of the TDE Bluetooth Framework.
It contains the development files for libtdebluez.
.
- See the 'tdebluez-trinity' package for more informations.
+ See the 'tdebluez-trinity' and 'tdebluez-trinity-api-doc' package for more informations.
Package: libtdeobex-trinity-dev
Architecture: any
@@ -60,4 +61,16 @@ Description: development files for libtdeobex
This package is part of the TDE Bluetooth Framework.
It contains the development files for libtdeobex.
.
- See the 'tdebluez-trinity' package for more informations.
+ See the 'tdebluez-trinity' and 'tdebluez-trinity-api-doc' package for more informations.
+
+Package: tdebluez-trinity-api-doc
+Section: doc
+Architecture: all
+Description: developer documentation for the libtdebluez-trinity and libtdeobex-trinity libraries
+ This package contains documentation for the libtdebluez-trinity and libtdeobex-trinity libraries of
+ use more for developers creating applications which use the libtdebluez-trinity and libtdeobex-trinity
+ libraries, than regular users.
+ .
+ This package is part of the provided bindings for the Trinity TQt interface.
+ .
+ See the tdebluez-trinity description for more information about tdebluez in general.
diff --git a/ubuntu/_base/applications/system/tdebluez/debian/rules b/ubuntu/_base/applications/system/tdebluez/debian/rules
index 5a0da42af..9c17d4c4c 100755
--- a/ubuntu/_base/applications/system/tdebluez/debian/rules
+++ b/ubuntu/_base/applications/system/tdebluez/debian/rules
@@ -4,6 +4,8 @@ include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
include debian/cdbs/debian-tde.mk
+DEB_KDE_APIDOX := yes
+
DEB_CMAKE_EXTRA_FLAGS := \
-DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
diff --git a/ubuntu/_base/applications/system/tdebluez/debian/tdebluez-trinity-api-doc.install b/ubuntu/_base/applications/system/tdebluez/debian/tdebluez-trinity-api-doc.install
new file mode 100644
index 000000000..50a3931d0
--- /dev/null
+++ b/ubuntu/_base/applications/system/tdebluez/debian/tdebluez-trinity-api-doc.install
@@ -0,0 +1 @@
+debian/tmp/usr/share/doc/tdebluez-trinity-api/HTML/en/*