From 7560fed8432ccff7e376686f183f9a017b1057cb Mon Sep 17 00:00:00 2001 From: Emanoil Kotsev Date: Wed, 17 May 2023 07:51:41 +0000 Subject: Add debian rules for building tdebluez api docs Signed-off-by: Emanoil Kotsev (cherry picked from commit 4f5df2771d5544e4ad783a98ddeeb9e92f21c614) --- .../_base/applications/system/tdebluez/debian/control | 17 +++++++++++++++-- debian/_base/applications/system/tdebluez/debian/rules | 2 ++ .../tdebluez/debian/tdebluez-trinity-api-doc.install | 1 + 3 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 debian/_base/applications/system/tdebluez/debian/tdebluez-trinity-api-doc.install (limited to 'debian/_base') 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/* -- cgit v1.2.1