summaryrefslogtreecommitdiffstats
path: root/trinity-base/kontact/kontact-14.0.11.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'trinity-base/kontact/kontact-14.0.11.ebuild')
-rw-r--r--trinity-base/kontact/kontact-14.0.11.ebuild39
1 files changed, 39 insertions, 0 deletions
diff --git a/trinity-base/kontact/kontact-14.0.11.ebuild b/trinity-base/kontact/kontact-14.0.11.ebuild
new file mode 100644
index 00000000..ab57e3a2
--- /dev/null
+++ b/trinity-base/kontact/kontact-14.0.11.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2021 Gentoo Authors
+# Copyright 2021 The Trinity Desktop Project
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+TRINITY_MODULE_NAME="tdepim"
+TRINITY_MODULE_TYPE="core"
+TSM_EXTRACT_ALSO="libtdepim/ libtdenetwork/ plugins/ korganizer/ kaddressbook/
+ kmail/ knotes/ knode/ akregator/ karm/ libemailfunctions/ libkpimidentities/
+ libkholidays/ translations/"
+inherit trinity-meta-2
+
+DESCRIPTION="Trinity personal information manager"
+
+if [[ ${PV} != *9999* ]] ; then
+ KEYWORDS="~amd64 ~x86"
+fi
+IUSE="kmail"
+
+DEPEND="
+ ~trinity-base/libtdepim-${PV}
+ ~trinity-base/libkpimidentities-${PV}
+ ~trinity-base/libkholidays-${PV}
+ ~trinity-base/knotes-${PV}
+ ~trinity-base/korganizer-${PV}
+ kmail? ( ~trinity-base/kmail-${PV} )
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ if use kmail ; then
+ cp "${TDEDIR}/include/kmail"/*.h "${S}/kmail" || die
+ else
+ sed -i '/kmail/d' kontact/plugins/CMakeLists.txt || die
+ sed -i '/specialdates/d' kontact/plugins/CMakeLists.txt || die
+ fi
+ trinity-meta-2_src_prepare
+}