From 4f5df2771d5544e4ad783a98ddeeb9e92f21c614 Mon Sep 17 00:00:00 2001 From: Emanoil Kotsev Date: Wed, 17 May 2023 07:51:41 +0000 Subject: [PATCH] Add debian rules for building tdebluez api docs Signed-off-by: Emanoil Kotsev --- .../applications/system/tdebluez/debian/control | 17 +++++++++++++++-- .../applications/system/tdebluez/debian/rules | 2 ++ .../debian/tdebluez-trinity-api-doc.install | 1 + .../applications/system/tdebluez/debian/control | 17 +++++++++++++++-- .../applications/system/tdebluez/debian/rules | 2 ++ .../debian/tdebluez-trinity-api-doc.install | 1 + 6 files changed, 36 insertions(+), 4 deletions(-) create mode 100644 debian/_base/applications/system/tdebluez/debian/tdebluez-trinity-api-doc.install create mode 100644 ubuntu/_base/applications/system/tdebluez/debian/tdebluez-trinity-api-doc.install 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 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 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/*