diff options
author | ormorph <[email protected]> | 2022-07-16 10:25:32 +0200 |
---|---|---|
committer | ormorph <[email protected]> | 2022-07-16 10:52:06 +0200 |
commit | 4cd432ea19c88edc3f4c47986f2837fa382433ae (patch) | |
tree | b24e7fbe4933f666a6e9f73bf5c1e307d76d1b41 /trinity-apps/karbon | |
parent | 2c4121c3348c089d07d0fade2d1f1bd07301418a (diff) | |
download | tde-packaging-gentoo-4cd432ea19c88edc3f4c47986f2837fa382433ae.tar.gz tde-packaging-gentoo-4cd432ea19c88edc3f4c47986f2837fa382433ae.zip |
Added handbook assembly in subpackages for the koffice metapackage
Signed-off-by: ormorph <[email protected]>
Diffstat (limited to 'trinity-apps/karbon')
-rw-r--r-- | trinity-apps/karbon/karbon-9999.ebuild | 24 |
1 files changed, 19 insertions, 5 deletions
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 +} |