summaryrefslogtreecommitdiffstats
path: root/trinity-apps
diff options
context:
space:
mode:
Diffstat (limited to 'trinity-apps')
-rw-r--r--trinity-apps/chalk/chalk-9999.ebuild26
-rw-r--r--trinity-apps/karbon/karbon-9999.ebuild24
-rw-r--r--trinity-apps/kchart/kchart-9999.ebuild27
-rw-r--r--trinity-apps/kexi/kexi-9999.ebuild24
-rw-r--r--trinity-apps/kformula/kformula-9999.ebuild23
-rw-r--r--trinity-apps/kivio/kivio-9999.ebuild25
-rw-r--r--trinity-apps/koffice-doc/koffice-doc-9999.ebuild22
-rw-r--r--trinity-apps/koffice-i18n/koffice-i18n-9999.ebuild2
-rw-r--r--trinity-apps/koffice-libs/koffice-libs-9999.ebuild2
-rw-r--r--trinity-apps/koffice-meta/koffice-meta-9999.ebuild5
-rw-r--r--trinity-apps/koshell/koshell-9999.ebuild25
-rw-r--r--trinity-apps/kplato/kplato-9999.ebuild26
-rw-r--r--trinity-apps/kpresenter/kpresenter-9999.ebuild24
-rw-r--r--trinity-apps/kspread/kspread-9999.ebuild24
-rw-r--r--trinity-apps/kugar/kugar-9999.ebuild24
-rw-r--r--trinity-apps/kword/kword-9999.ebuild24
16 files changed, 241 insertions, 86 deletions
diff --git a/trinity-apps/chalk/chalk-9999.ebuild b/trinity-apps/chalk/chalk-9999.ebuild
index 1fcc6fae..f9f3c739 100644
--- a/trinity-apps/chalk/chalk-9999.ebuild
+++ b/trinity-apps/chalk/chalk-9999.ebuild
@@ -1,5 +1,5 @@
-# Copyright 1999-2021 Gentoo Authors
-# Copyright 2021 The Trinity Desktop Project
+# Copyright 1999-2022 Gentoo Authors
+# Copyright 2022 The Trinity Desktop Project
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
@@ -8,7 +8,7 @@ TRINITY_MODULE_NAME="koffice"
TRINITY_MODULE_TYPE="applications/office"
TRINITY_BUILD_ADMIN="yes"
TRINITY_SUBMODULE="chalk filters/chalk"
-TSM_EXTRACT_ALSO="lib interfaces"
+TSM_EXTRACT_ALSO="lib interfaces doc"
inherit trinity-meta-2
@@ -19,7 +19,7 @@ SLOT="14"
if [[ ${PV} != *9999* ]] ; then
KEYWORDS="~amd64 ~x86"
fi
-IUSE=""
+IUSE="+handbook"
DEPEND="~dev-tqt/tqt-${PV}[opengl]
media-libs/lcms:0=
@@ -32,8 +32,9 @@ DEPEND="~dev-tqt/tqt-${PV}[opengl]
virtual/jpeg
virtual/imagemagick-tools[tiff]
"
-
-RDEPEND="$DEPEND"
+RDEPEND="${DEPEND}
+ handbook? ( ~trinity-base/khelpcenter-${PV}
+ app-doc/doxygen )"
KMCOPYLIB="
libkformula lib/kformula
@@ -75,6 +76,10 @@ src_prepare() {
fi
done
+ if use handbook ; then
+ echo -e "KDE_LANG = en\nSUBDIRS = ${PN}" >"${S}/doc/Makefile.am" || die
+ fi
+
echo "SUBDIRS=$dirlist kross" > ${S}/lib/Makefile.am
echo "SUBDIRS= api main" > ${S}/lib/kross/Makefile.am
echo "SUBDIRS= chalk" >${S}/filters/Makefile.am
@@ -98,3 +103,12 @@ src_compile() {
done
trinity-meta-2_src_compile
}
+
+src_install() {
+ trinity-meta-2_src_install
+ if use handbook ; then
+ pushd "${S}/doc" || die
+ emake install DESTDIR="${D}"
+ popd
+ fi
+}
diff --git a/trinity-apps/karbon/karbon-9999.ebuild b/trinity-apps/karbon/karbon-9999.ebuild
index a3726cc2..d61c0fdc 100644
--- a/trinity-apps/karbon/karbon-9999.ebuild
+++ b/trinity-apps/karbon/karbon-9999.ebuild
@@ -1,5 +1,5 @@
-# Copyright 1999-2021 Gentoo Authors
-# Copyright 2021 The Trinity Desktop Project
+# Copyright 1999-2022 Gentoo Authors
+# Copyright 2022 The Trinity Desktop Project
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
@@ -8,7 +8,7 @@ TRINITY_MODULE_NAME="koffice"
TRINITY_MODULE_TYPE="applications/office"
TRINITY_BUILD_ADMIN="yes"
TRINITY_SUBMODULE="karbon filters/karbon"
-TSM_EXTRACT_ALSO="lib filters/liboofilter interfaces"
+TSM_EXTRACT_ALSO="lib filters/liboofilter interfaces doc"
inherit flag-o-matic trinity-meta-2
@@ -19,7 +19,7 @@ SLOT="14"
if [[ ${PV} != *9999* ]] ; then
KEYWORDS="~amd64 ~x86"
fi
-IUSE=""
+IUSE="+handbook"
DEPEND="~dev-tqt/tqt-${PV}[opengl]
~trinity-apps/koffice-libs-${PV}
@@ -27,7 +27,9 @@ DEPEND="~dev-tqt/tqt-${PV}[opengl]
media-libs/libart_lgpl
"
-RDEPEND="$DEPEND"
+RDEPEND="${DEPEND}
+ handbook? ( ~trinity-base/khelpcenter-${PV}
+ app-doc/doxygen )"
KMCOPYLIB="
libkformula lib/kformula
@@ -64,6 +66,9 @@ src_prepare() {
libname=""
fi
done
+ if use handbook ; then
+ echo -e "KDE_LANG = en\nSUBDIRS = ${PN}" >"${S}/doc/Makefile.am" || die
+ fi
echo "SUBDIRS=$dirlist" > ${S}/lib/Makefile.am
trinity-meta-2_src_prepare
echo 'all:' > ${S}/Makefile.am
@@ -83,3 +88,12 @@ src_compile() {
popd
trinity-meta-2_src_compile
}
+
+src_install() {
+ trinity-meta-2_src_install
+ if use handbook ; then
+ pushd "${S}/doc" || die
+ emake install DESTDIR="${D}"
+ popd
+ fi
+}
diff --git a/trinity-apps/kchart/kchart-9999.ebuild b/trinity-apps/kchart/kchart-9999.ebuild
index 5d3eb31a..3ca1db17 100644
--- a/trinity-apps/kchart/kchart-9999.ebuild
+++ b/trinity-apps/kchart/kchart-9999.ebuild
@@ -1,5 +1,5 @@
-# Copyright 1999-2021 Gentoo Authors
-# Copyright 2021 The Trinity Desktop Project
+# Copyright 1999-2022 Gentoo Authors
+# Copyright 2022 The Trinity Desktop Project
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
@@ -7,7 +7,7 @@ EAPI="8"
TRINITY_MODULE_NAME="koffice"
TRINITY_BUILD_ADMIN="yes"
TRINITY_SUBMODULE="kchart filters/kchart"
-TSM_EXTRACT_ALSO="lib interfaces filters/libdialogfilter"
+TSM_EXTRACT_ALSO="lib interfaces filters/libdialogfilter doc"
inherit trinity-meta-2
@@ -18,13 +18,15 @@ SLOT="14"
if [[ ${PV} != *9999* ]] ; then
KEYWORDS="~amd64 ~x86"
fi
-IUSE=""
+IUSE="+handbook"
DEPEND="~trinity-base/tdelibs-${PV}
~trinity-apps/koffice-libs-${PV}
"
-RDEPEND="$DEPEND"
+RDEPEND="${DEPEND}
+ handbook? ( ~trinity-base/khelpcenter-${PV}
+ app-doc/doxygen )"
KMCOPYLIB="libkformula lib/kformula
libkofficecore lib/kofficecore
@@ -62,6 +64,9 @@ src_prepare() {
libname=""
fi
done
+ if use handbook ; then
+ echo -e "KDE_LANG = en\nSUBDIRS = ${PN}" >"${S}/doc/Makefile.am" || die
+ fi
echo "SUBDIRS=$dirlist" > ${S}/lib/Makefile.am
trinity-meta-2_src_prepare
@@ -79,5 +84,17 @@ src_compile() {
pushd filters/libdialogfilter
emake
popd
+ if use handbook ; then
+ TRINITY_SUBMODULE+=" doc"
+ fi
trinity-meta-2_src_compile
}
+
+src_install() {
+ trinity-meta-2_src_install
+ if use handbook ; then
+ pushd "${S}/doc" || die
+ emake install DESTDIR="${D}"
+ popd
+ fi
+}
diff --git a/trinity-apps/kexi/kexi-9999.ebuild b/trinity-apps/kexi/kexi-9999.ebuild
index f3d3ce71..00cc89c8 100644
--- a/trinity-apps/kexi/kexi-9999.ebuild
+++ b/trinity-apps/kexi/kexi-9999.ebuild
@@ -1,5 +1,5 @@
-# Copyright 1999-2021 Gentoo Authors
-# Copyright 2021 The Trinity Desktop Project
+# Copyright 1999-2022 Gentoo Authors
+# Copyright 2022 The Trinity Desktop Project
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
@@ -8,7 +8,7 @@ TRINITY_MODULE_NAME="koffice"
TRINITY_MODULE_TYPE="applications/office"
TRINITY_BUILD_ADMIN="yes"
TRINITY_SUBMODULE="kexi"
-TSM_EXTRACT_ALSO="lib interfaces"
+TSM_EXTRACT_ALSO="lib interfaces doc"
inherit flag-o-matic trinity-meta-2
@@ -19,7 +19,7 @@ SLOT="14"
if [[ ${PV} != *9999* ]] ; then
KEYWORDS="~amd64 ~x86"
fi
-IUSE="mariadb mysql postgres"
+IUSE="+handbook mariadb mysql postgres"
REQUIRED_USE="mysql? ( !mariadb )"
@@ -30,7 +30,9 @@ DEPEND="~trinity-base/tdelibs-${PV}
mariadb? ( dev-db/mariadb-connector-c:= )
postgres? ( dev-libs/libpqxx )"
-RDEPEND="$DEPEND"
+RDEPEND="${DEPEND}
+ handbook? ( ~trinity-base/khelpcenter-${PV}
+ app-doc/doxygen )"
KMCOPYLIB="
libkformula lib/kformula
@@ -67,6 +69,9 @@ src_prepare() {
libname=""
fi
done
+ if use handbook ; then
+ echo -e "KDE_LANG = en\nSUBDIRS = ${PN}" >"${S}/doc/Makefile.am" || die
+ fi
echo "SUBDIRS=$dirlist kross" > ${S}/lib/Makefile.am
@@ -103,3 +108,12 @@ src_configure() {
fi
trinity-econf ${myconf[@]}
}
+
+src_install() {
+ trinity-meta-2_src_install
+ if use handbook ; then
+ pushd "${S}/doc" || die
+ emake install DESTDIR="${D}"
+ popd
+ fi
+}
diff --git a/trinity-apps/kformula/kformula-9999.ebuild b/trinity-apps/kformula/kformula-9999.ebuild
index 7127a004..d27b372a 100644
--- a/trinity-apps/kformula/kformula-9999.ebuild
+++ b/trinity-apps/kformula/kformula-9999.ebuild
@@ -1,5 +1,5 @@
-# Copyright 1999-2021 Gentoo Authors
-# Copyright 2021 The Trinity Desktop Project
+# Copyright 1999-2022 Gentoo Authors
+# Copyright 2022 The Trinity Desktop Project
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
@@ -8,7 +8,7 @@ TRINITY_MODULE_NAME="koffice"
TRINITY_MODULE_TYPE="applications/office"
TRINITY_BUILD_ADMIN="yes"
TRINITY_SUBMODULE="kformula filters/kformula"
-TSM_EXTRACT_ALSO="lib interfaces"
+TSM_EXTRACT_ALSO="lib interfaces doc"
inherit flag-o-matic trinity-meta-2
@@ -19,11 +19,14 @@ SLOT="14"
if [[ ${PV} != *9999* ]] ; then
KEYWORDS="~amd64 ~x86"
fi
+IUSE="+handbook"
DEPEND="~trinity-apps/koffice-libs-${PV}
~trinity-base/kcontrol-${PV}"
-RDEPEND="$DEPEND"
+RDEPEND="${DEPEND}
+ handbook? ( ~trinity-base/khelpcenter-${PV}
+ app-doc/doxygen )"
KMCOPYLIB="
libkformula lib/kformula
@@ -54,6 +57,9 @@ src_prepare() {
libname=""
fi
done
+ if use handbook ; then
+ echo -e "KDE_LANG = en\nSUBDIRS = ${PN}" >"${S}/doc/Makefile.am" || die
+ fi
echo "SUBDIRS=$dirlis" > ${S}/lib/Makefile.am
echo "SUBDIRS= kformula" > ${S}/filters/Makefile.am
trinity-meta-2_src_prepare
@@ -67,3 +73,12 @@ src_configure() {
append-cxxflags "-std=c++11"
trinity-meta-2_src_configure
}
+
+src_install() {
+ trinity-meta-2_src_install
+ if use handbook ; then
+ pushd "${S}/doc" || die
+ emake install DESTDIR="${D}"
+ popd
+ fi
+}
diff --git a/trinity-apps/kivio/kivio-9999.ebuild b/trinity-apps/kivio/kivio-9999.ebuild
index c97c3eaa..55422870 100644
--- a/trinity-apps/kivio/kivio-9999.ebuild
+++ b/trinity-apps/kivio/kivio-9999.ebuild
@@ -1,5 +1,5 @@
-# Copyright 1999-2021 Gentoo Authors
-# Copyright 2021 The Trinity Desktop Project
+# Copyright 1999-2022 Gentoo Authors
+# Copyright 2022 The Trinity Desktop Project
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
@@ -8,7 +8,7 @@ TRINITY_MODULE_NAME="koffice"
TRINITY_MODULE_TYPE="applications/office"
TRINITY_BUILD_ADMIN="yes"
TRINITY_SUBMODULE="kivio filters/kivio"
-TSM_EXTRACT_ALSO="lib"
+TSM_EXTRACT_ALSO="lib doc"
inherit flag-o-matic trinity-meta-2
@@ -19,12 +19,14 @@ SLOT="14"
if [[ ${PV} != *9999* ]] ; then
KEYWORDS="~amd64 ~x86"
fi
-IUSE=""
+IUSE="+handbook"
DEPEND="~trinity-apps/koffice-libs-${PV}
"
-RDEPEND="$DEPEND"
+RDEPEND="${DEPEND}
+ handbook? ( ~trinity-base/khelpcenter-${PV}
+ app-doc/doxygen )"
KMCOPYLIB="
libkformula lib/kformula
@@ -56,6 +58,10 @@ src_prepare() {
libname=""
fi
done
+ if use handbook ; then
+ echo -e "KDE_LANG = en\nSUBDIRS = ${PN}" >"${S}/doc/Makefile.am" || die
+ fi
+
echo "SUBDIRS=$dirlist" > ${S}/lib/Makefile.am
echo "SUBDIRS= kivio" > ${S}/filters/Makefile.am
@@ -71,3 +77,12 @@ src_configure() {
append-cxxflags "-std=c++11"
trinity-meta-2_src_configure
}
+
+src_install() {
+ trinity-meta-2_src_install
+ if use handbook ; then
+ pushd "${S}/doc" || die
+ emake install DESTDIR="${D}"
+ popd
+ fi
+}
diff --git a/trinity-apps/koffice-doc/koffice-doc-9999.ebuild b/trinity-apps/koffice-doc/koffice-doc-9999.ebuild
deleted file mode 100644
index fbfc0e39..00000000
--- a/trinity-apps/koffice-doc/koffice-doc-9999.ebuild
+++ /dev/null
@@ -1,22 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Copyright 2021 The Trinity Desktop Project
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="8"
-TRINITY_MODULE_NAME="koffice"
-TRINITY_MODULE_TYPE="applications/office"
-TRINITY_BUILD_ADMIN="yes"
-
-inherit trinity-meta-2
-
-DESCRIPTION="Documentaion for koffice-derived packages"
-HOMEPAGE="https://trinitydesktop.org"
-
-SLOT="14"
-if [[ ${PV} != *9999* ]] ; then
- KEYWORDS="~amd64 ~x86"
-fi
-IUSE=""
-
-RDEPEND="
- ~trinity-base/khelpcenter-${PV}"
diff --git a/trinity-apps/koffice-i18n/koffice-i18n-9999.ebuild b/trinity-apps/koffice-i18n/koffice-i18n-9999.ebuild
index 79468333..783a5f38 100644
--- a/trinity-apps/koffice-i18n/koffice-i18n-9999.ebuild
+++ b/trinity-apps/koffice-i18n/koffice-i18n-9999.ebuild
@@ -30,7 +30,7 @@ done
DEPEND="
~trinity-base/tdelibs-${PV}
"
-RDEPEND="$DEPEND"
+RDEPEND="${DEPEND}"
run_phase() {
local lang dir phase;
diff --git a/trinity-apps/koffice-libs/koffice-libs-9999.ebuild b/trinity-apps/koffice-libs/koffice-libs-9999.ebuild
index 07636b13..02402ec3 100644
--- a/trinity-apps/koffice-libs/koffice-libs-9999.ebuild
+++ b/trinity-apps/koffice-libs/koffice-libs-9999.ebuild
@@ -31,7 +31,7 @@ DEPEND="
~trinity-base/tdelibs-${PV}
"
-RDEPEND="$DEPEND"
+RDEPEND="${DEPEND}"
src_prepare() {
trinity-meta-2_src_prepare
diff --git a/trinity-apps/koffice-meta/koffice-meta-9999.ebuild b/trinity-apps/koffice-meta/koffice-meta-9999.ebuild
index df7c51f9..562a734c 100644
--- a/trinity-apps/koffice-meta/koffice-meta-9999.ebuild
+++ b/trinity-apps/koffice-meta/koffice-meta-9999.ebuild
@@ -1,5 +1,5 @@
-# Copyright 1999-2021 Gentoo Authors
-# Copyright 2021 The Trinity Desktop Project
+# Copyright 1999-2022 Gentoo Authors
+# Copyright 2022 The Trinity Desktop Project
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
@@ -28,6 +28,5 @@ RDEPEND="
~trinity-apps/kspread-${PV}
~trinity-apps/kugar-${PV}
~trinity-apps/kword-${PV}
- ~trinity-apps/koffice-doc-${PV}
~trinity-apps/koffice-i18n-${PV}
"
diff --git a/trinity-apps/koshell/koshell-9999.ebuild b/trinity-apps/koshell/koshell-9999.ebuild
index a13c29bd..b8a9f258 100644
--- a/trinity-apps/koshell/koshell-9999.ebuild
+++ b/trinity-apps/koshell/koshell-9999.ebuild
@@ -1,5 +1,5 @@
-# Copyright 1999-2021 Gentoo Authors
-# Copyright 2021 The Trinity Desktop Project
+# Copyright 1999-2022 Gentoo Authors
+# Copyright 2022 The Trinity Desktop Project
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
@@ -7,7 +7,7 @@ EAPI="8"
TRINITY_MODULE_NAME="koffice"
TRINITY_MODULE_TYPE="applications/office"
TRINITY_BUILD_ADMIN="yes"
-TSM_EXTRACT_ALSO="lib"
+TSM_EXTRACT_ALSO="lib doc"
inherit flag-o-matic trinity-meta-2
DESCRIPTION="KOffice workspace for TDE [Trinity]"
@@ -17,13 +17,16 @@ SLOT="14"
if [[ ${PV} != *9999* ]] ; then
KEYWORDS="~amd64 ~x86"
fi
-IUSE=""
+IUSE="+handbook"
DEPEND="
~trinity-apps/koffice-libs-${PV}
"
-RDEPEND="$DEPEND"
+RDEPEND="${DEPEND}
+ handbook? ( ~trinity-base/khelpcenter-${PV}
+ app-doc/doxygen )
+"
KMCOPYLIB="
libkformula lib/kformula
@@ -54,6 +57,9 @@ src_prepare() {
libname=""
fi
done
+ if use handbook ; then
+ echo -e "KDE_LANG = en\nSUBDIRS = ${PN}" >"${S}/doc/Makefile.am" || die
+ fi
echo "SUBDIRS=$dirlist" > ${S}/lib/Makefile.am
trinity-meta-2_src_prepare
@@ -66,3 +72,12 @@ src_configure() {
append-cxxflags "-std=c++11"
trinity-meta-2_src_configure
}
+
+src_install() {
+ trinity-meta-2_src_install
+ if use handbook ; then
+ pushd "${S}/doc" || die
+ emake install DESTDIR="${D}"
+ popd
+ fi
+}
diff --git a/trinity-apps/kplato/kplato-9999.ebuild b/trinity-apps/kplato/kplato-9999.ebuild
index 46da2fd0..041204fe 100644
--- a/trinity-apps/kplato/kplato-9999.ebuild
+++ b/trinity-apps/kplato/kplato-9999.ebuild
@@ -1,5 +1,5 @@
-# Copyright 1999-2021 Gentoo Authors
-# Copyright 2021 The Trinity Desktop Project
+# Copyright 1999-2022 Gentoo Authors
+# Copyright 2022 The Trinity Desktop Project
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
@@ -8,7 +8,7 @@ TRINITY_MODULE_NAME="koffice"
TRINITY_MODULE_TYPE="applications/office"
TRINITY_BUILD_ADMIN="yes"
TRINITY_SUBMODULE="kdgantt kplato"
-TSM_EXTRACT_ALSO="lib kugar interfaces"
+TSM_EXTRACT_ALSO="lib kugar interfaces doc"
inherit flag-o-matic trinity-meta-2
@@ -19,12 +19,15 @@ SLOT="14"
if [[ ${PV} != *9999* ]] ; then
KEYWORDS="~amd64 ~x86"
fi
-IUSE=""
+IUSE="+handbook"
DEPEND="~trinity-apps/koffice-libs-${PV}
"
-RDEPEND="$DEPEND"
+RDEPEND="${DEPEND}
+ handbook? ( ~trinity-base/khelpcenter-${PV}
+ app-doc/doxygen )
+"
KMCOPYLIB="libkofficecore lib/kofficecore
libkofficeui lib/kofficeui
@@ -50,6 +53,10 @@ src_prepare() {
libname=""
fi
done
+ if use handbook ; then
+ echo -e "KDE_LANG = en\nSUBDIRS = ${PN}" >"${S}/doc/Makefile.am" || die
+ fi
+
echo "SUBDIRS=$dirlist" > ${S}/lib/Makefile.am
trinity-meta-2_src_prepare
@@ -62,3 +69,12 @@ src_configure() {
append-cxxflags "-std=c++11"
trinity-meta-2_src_configure
}
+
+src_install() {
+ trinity-meta-2_src_install
+ if use handbook ; then
+ pushd "${S}/doc" || die
+ emake install DESTDIR="${D}"
+ popd
+ fi
+}
diff --git a/trinity-apps/kpresenter/kpresenter-9999.ebuild b/trinity-apps/kpresenter/kpresenter-9999.ebuild
index 962782ee..a6975dfd 100644
--- a/trinity-apps/kpresenter/kpresenter-9999.ebuild
+++ b/trinity-apps/kpresenter/kpresenter-9999.ebuild
@@ -1,5 +1,5 @@
# Copyright 1999-2021 Gentoo Authors
-# Copyright 2021 The Trinity Desktop Project
+# Copyright 2022 The Trinity Desktop Project
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
@@ -8,7 +8,7 @@ TRINITY_MODULE_NAME="koffice"
TRINITY_MODULE_TYPE="applications/office"
TRINITY_BUILD_ADMIN="yes"
TRINITY_SUBMODULE="filters/libdialogfilter kpresenter filters/kpresenter"
-TSM_EXTRACT_ALSO="lib filters/liboofilter filters/generic_wrapper"
+TSM_EXTRACT_ALSO="lib filters/liboofilter filters/generic_wrapper doc"
inherit flag-o-matic trinity-meta-2
@@ -19,11 +19,14 @@ SLOT="14"
if [[ ${PV} != *9999* ]] ; then
KEYWORDS="~amd64 ~x86"
fi
-IUSE="arts"
+IUSE="arts +handbook"
DEPEND="~trinity-apps/koffice-libs-${PV}"
-RDEPEND="$DEPEND"
+RDEPEND="${DEPEND}
+ handbook? ( ~trinity-base/khelpcenter-${PV}
+ app-doc/doxygen )
+"
KMCOPYLIB="
libkformula lib/kformula
@@ -54,6 +57,9 @@ src_prepare() {
libname=""
fi
done
+ if use handbook ; then
+ echo -e "KDE_LANG = en\nSUBDIRS = ${PN}" >"${S}/doc/Makefile.am" || die
+ fi
echo "SUBDIRS=$dirlist" > ${S}/lib/Makefile.am
echo "SUBDIRS = liboofilter libdialogfilter kpresenter" > ${S}/filters/Makefile.am
@@ -84,3 +90,13 @@ src_compile() {
emake
popd
}
+
+src_install() {
+ trinity-meta-2_src_install
+ if use handbook ; then
+ pushd "${S}/doc" || die
+ emake install DESTDIR="${D}"
+ popd
+ fi
+}
+
diff --git a/trinity-apps/kspread/kspread-9999.ebuild b/trinity-apps/kspread/kspread-9999.ebuild
index c5fb61d3..1a3dbad0 100644
--- a/trinity-apps/kspread/kspread-9999.ebuild
+++ b/trinity-apps/kspread/kspread-9999.ebuild
@@ -1,5 +1,5 @@
-# Copyright 1999-2021 Gentoo Authors
-# Copyright 2021 The Trinity Desktop Project
+# Copyright 1999-2022 Gentoo Authors
+# Copyright 2022 The Trinity Desktop Project
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
@@ -8,7 +8,7 @@ TRINITY_MODULE_NAME="koffice"
TRINITY_MODULE_TYPE="applications/office"
TRINITY_BUILD_ADMIN="yes"
TRINITY_SUBMODULE="kspread filters/kspread"
-TSM_EXTRACT_ALSO="lib interfaces filters/kexi kexi filters/liboofilter"
+TSM_EXTRACT_ALSO="lib interfaces filters/kexi kexi filters/liboofilter doc"
inherit flag-o-matic trinity-meta-2
@@ -19,7 +19,7 @@ SLOT="14"
if [[ ${PV} != *9999* ]] ; then
KEYWORDS="~amd64 ~x86"
fi
-IUSE=""
+IUSE="+handbook"
DEPEND="
~trinity-apps/koffice-libs-${PV}
@@ -27,7 +27,9 @@ DEPEND="
~trinity-apps/kexi-${PV}
"
-RDEPEND="$DEPEND"
+RDEPEND="${DEPEND}
+ handbook? ( ~trinity-base/khelpcenter-${PV}
+ app-doc/doxygen )"
KMCOPYLIB="
libkformula lib/kformula
@@ -65,6 +67,9 @@ src_prepare() {
libname=""
fi
done
+ if use handbook ; then
+ echo -e "KDE_LANG = en\nSUBDIRS = ${PN}" >"${S}/doc/Makefile.am" || die
+ fi
echo "SUBDIRS=$dirlist kross" > ${S}/lib/Makefile.am
sed -i "${S}/kexi/migration/keximigratetest.cpp" \
@@ -96,3 +101,12 @@ src_compile() {
emake
popd
}
+
+src_install() {
+ trinity-meta-2_src_install
+ if use handbook ; then
+ pushd "${S}/doc" || die
+ emake install DESTDIR="${D}"
+ popd
+ fi
+}
diff --git a/trinity-apps/kugar/kugar-9999.ebuild b/trinity-apps/kugar/kugar-9999.ebuild
index e55bbf25..63a41cc1 100644
--- a/trinity-apps/kugar/kugar-9999.ebuild
+++ b/trinity-apps/kugar/kugar-9999.ebuild
@@ -1,5 +1,5 @@
-# Copyright 1999-2021 Gentoo Authors
-# Copyright 2021 The Trinity Desktop Project
+# Copyright 1999-2022 Gentoo Authors
+# Copyright 2022 The Trinity Desktop Project
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
@@ -8,7 +8,7 @@ TRINITY_MODULE_NAME="koffice"
TRINITY_MODULE_TYPE="applications/office"
TRINITY_BUILD_ADMIN="yes"
TRINITY_SUBMODULE="kugar filters/kugar"
-TSM_EXTRACT_ALSO="lib interfaces"
+TSM_EXTRACT_ALSO="lib interfaces doc"
inherit flag-o-matic trinity-meta-2
@@ -19,13 +19,15 @@ SLOT="14"
if [[ ${PV} != *9999* ]] ; then
KEYWORDS="~amd64 ~x86"
fi
-IUSE=""
+IUSE="+handbook"
DEPEND="
~trinity-apps/koffice-libs-${PV}
"
-RDEPEND="$DEPEND"
+RDEPEND="${DEPEND}
+ handbook? ( ~trinity-base/khelpcenter-${PV}
+ app-doc/doxygen )"
KMCOPYLIB="
libkformula lib/kformula
@@ -57,6 +59,9 @@ src_prepare() {
libname=""
fi
done
+ if use handbook ; then
+ echo -e "KDE_LANG = en\nSUBDIRS = ${PN}" >"${S}/doc/Makefile.am" || die
+ fi
echo "SUBDIRS=$dirlist" > ${S}/lib/Makefile.am
echo "SUBDIRS= kugar" > ${S}/filters/Makefile.am
@@ -72,3 +77,12 @@ src_configure() {
append-cxxflags "-std=c++11"
trinity-meta-2_src_configure
}
+
+src_install() {
+ trinity-meta-2_src_install
+ if use handbook ; then
+ pushd "${S}/doc" || die
+ emake install DESTDIR="${D}"
+ popd
+ fi
+}
diff --git a/trinity-apps/kword/kword-9999.ebuild b/trinity-apps/kword/kword-9999.ebuild
index 604cb2ef..5beff015 100644
--- a/trinity-apps/kword/kword-9999.ebuild
+++ b/trinity-apps/kword/kword-9999.ebuild
@@ -1,5 +1,5 @@
-# Copyright 1999-2021 Gentoo Authors
-# Copyright 2021 The Trinity Desktop Project
+# Copyright 1999-2022 Gentoo Authors
+# Copyright 2022 The Trinity Desktop Project
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
@@ -8,7 +8,7 @@ TRINITY_MODULE_NAME="koffice"
TRINITY_MODULE_TYPE="applications/office"
TRINITY_BUILD_ADMIN="yes"
TRINITY_SUBMODULE="kword filters/kword"
-TSM_EXTRACT_ALSO="lib kspread filters/liboofilter interfaces"
+TSM_EXTRACT_ALSO="lib kspread filters/liboofilter interfaces doc"
inherit flag-o-matic trinity-meta-2
@@ -19,7 +19,7 @@ SLOT="14"
if [[ ${PV} != *9999* ]] ; then
KEYWORDS="~amd64 ~x86"
fi
-IUSE=""
+IUSE="+handbook"
DEPEND="
~trinity-apps/koffice-libs-${PV}
@@ -29,7 +29,9 @@ DEPEND="
app-text/libwpd
"
-RDEPEND="$DEPEND"
+RDEPEND="${DEPEND}
+ handbook? ( ~trinity-base/khelpcenter-${PV}
+ app-doc/doxygen )"
KMCOPYLIB="libkformula lib/kformula
libkofficecore lib/kofficecore
@@ -62,6 +64,9 @@ src_prepare() {
libname=""
fi
done
+ if use handbook ; then
+ echo -e "KDE_LANG = en\nSUBDIRS = ${PN}" >"${S}/doc/Makefile.am" || die
+ fi
echo "SUBDIRS=$dirlist" > ${S}/lib/Makefile.am
echo "SUBDIRS = liboofilter kword" > ${S}/filters/Makefile.am
@@ -88,3 +93,12 @@ src_compile() {
popd
trinity-meta-2_src_compile
}
+
+src_install() {
+ trinity-meta-2_src_install
+ if use handbook ; then
+ pushd "${S}/doc" || die
+ emake install DESTDIR="${D}"
+ popd
+ fi
+}