summaryrefslogtreecommitdiffstats
path: root/trinity-base/kmail
diff options
context:
space:
mode:
Diffstat (limited to 'trinity-base/kmail')
-rw-r--r--trinity-base/kmail/Manifest1
-rw-r--r--trinity-base/kmail/kmail-14.1.2.ebuild67
2 files changed, 68 insertions, 0 deletions
diff --git a/trinity-base/kmail/Manifest b/trinity-base/kmail/Manifest
index 470f1f96..93017a44 100644
--- a/trinity-base/kmail/Manifest
+++ b/trinity-base/kmail/Manifest
@@ -1 +1,2 @@
DIST tdepim-trinity-14.1.1.tar.xz 9386540 BLAKE2B 67851438c79afd180cb4c95cc32c1b64f45452e4c292e27a0e5595cab567114e64ecc9954d952619cc2181063d56fe11696edfe24e53dc93c8508cc0be82d3cf SHA512 4d9658726d03a7c914292f8e3e45ff2343a85e45bb308fe2fd44d30ecb44c37c506534a25d0d5741aeb5ec95567056715a1c158fcd2f75a3b73d111d4258146f
+DIST tdepim-trinity-14.1.2.tar.xz 9386984 BLAKE2B 88819de39d4091c62ad90cb7e86e05f1a60a690ea9103b2352cd4c775e18419b6359437dfa0d0fa007ac755fd72a78a223cf9629a25daadbf7ca0c7b92d8a1fb SHA512 af71307ec36c42a7aa1795c5200f05f2dd2def89a42d6c50e79fda0261c89e7670384a51dd4be1151a17c8912c615921f36d39fdb226953c15ac9a119f3bdd6b
diff --git a/trinity-base/kmail/kmail-14.1.2.ebuild b/trinity-base/kmail/kmail-14.1.2.ebuild
new file mode 100644
index 00000000..2e7091fa
--- /dev/null
+++ b/trinity-base/kmail/kmail-14.1.2.ebuild
@@ -0,0 +1,67 @@
+# Copyright 2020-2024 Gentoo Authors
+# Copyright 2020-2024 The Trinity Desktop Project
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+
+TRINITY_MODULE_NAME="tdepim"
+TRINITY_MODULE_TYPE="core"
+TSM_EXTRACT_ALSO="
+ ktnef/
+ libemailfunctions/
+ mimelib/
+ libtdenetwork/
+ certmanager/lib/
+ libtdepim/
+ korganizer/kcalendariface.h
+ korganizer/korganizeriface.h
+ libkpimidentities/
+ libkpgp/
+ libkmime/
+ libksieve/
+ kmail/"
+inherit trinity-meta-2
+
+DESCRIPTION="The email client for Trinity"
+
+if [[ ${PV} != *9999* ]] ; then
+ KEYWORDS="~amd64 ~arm64 ~x86"
+fi
+IUSE="crypt imap mbox sasl"
+
+# The magic of KMail, is fully done by individual TDEIOSlaves,
+# so we trigger them to be build, depending on USE flags.
+
+DEPEND="
+ ~trinity-base/certmanager-${PV}
+ ~trinity-base/ktnef-${PV}
+ ~trinity-base/libkcal-${PV}
+ ~trinity-base/libkmime-${PV}
+ ~trinity-base/libkpgp-${PV}
+ ~trinity-base/libkpimidentities-${PV}
+ ~trinity-base/libksieve-${PV}
+ ~trinity-base/libtdenetwork-${PV}
+ ~trinity-base/libtdepim-${PV}
+ ~trinity-base/mimelib-${PV}
+"
+RDEPEND="${DEPEND}
+ ~trinity-base/tdebase-tdeioslaves-${PV}
+ crypt? ( app-crypt/pinentry )
+ imap? ( ~trinity-base/tdepim-tdeioslaves-${PV}[sasl=] )
+ mbox? ( ~trinity-base/tdepim-tdeioslaves-${PV} )
+ sasl? ( ~trinity-base/tdebase-tdeioslaves-${PV}[sasl=] )
+"
+
+src_install() {
+ trinity-meta-2_src_install
+ insinto "${TDEDIR}/include/kmail"
+ doins "${BUILD_DIR}/kmail"/*.h
+}
+
+pkg_postinst () {
+ if use crypt; then
+ elog "Remember that you can build Pinentry with TQt support."
+ elog "To do so, just emerge app-crypt/pinentry with \"tqt\" USE"
+ elog "and use \"eselect pinentry set pinentry-tqt\" to use it."
+ fi
+}