Added handbook assembly in subpackages for the koffice metapackage

Signed-off-by: ormorph <roma251078@mail.ru>
pull/261/head
ormorph 2 years ago
parent 2c4121c334
commit 4cd432ea19

@ -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
}

@ -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
}

@ -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
}

@ -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
}

@ -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
}

@ -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
}

@ -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}"

@ -30,7 +30,7 @@ done
DEPEND="
~trinity-base/tdelibs-${PV}
"
RDEPEND="$DEPEND"
RDEPEND="${DEPEND}"
run_phase() {
local lang dir phase;

@ -31,7 +31,7 @@ DEPEND="
~trinity-base/tdelibs-${PV}
"
RDEPEND="$DEPEND"
RDEPEND="${DEPEND}"
src_prepare() {
trinity-meta-2_src_prepare

@ -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}
"

@ -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
}

@ -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
}

@ -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
}

@ -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
}

@ -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
}

@ -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
}

Loading…
Cancel
Save