diff options
Diffstat (limited to 'trinity-base/kmail')
-rw-r--r-- | trinity-base/kmail/Manifest | 1 | ||||
-rw-r--r-- | trinity-base/kmail/kmail-14.0.12.ebuild | 68 |
2 files changed, 69 insertions, 0 deletions
diff --git a/trinity-base/kmail/Manifest b/trinity-base/kmail/Manifest index d13bb2ac..96ee514d 100644 --- a/trinity-base/kmail/Manifest +++ b/trinity-base/kmail/Manifest @@ -1 +1,2 @@ DIST tdepim-trinity-14.0.11.tar.xz 9387536 BLAKE2B 1d1874fe2bc962214d2a05c87bd75536280a08feb0ea5aaeee843dff145862fa8d43c6c6c29e7a2b304cc25748dc30ba1fb42336e0ed09322b5969a2b3d4c7a5 SHA512 a7f6e2f6f0080cd745d63fec7c573f0b6e8634470cf60985ac2c0d830fc0003c791585730a95e5ca242e3d9d037765be530606b3642a4764536bd07be262be74 +DIST tdepim-trinity-14.0.12.tar.xz 9389072 BLAKE2B 916a29be64cf0fbaef12962698909a947561d24d0c19d3527abce921e38460c084576d2b3fc36c0470607cba260b508443ac724f542bcc0c4e66190251fc6215 SHA512 09c7cd14e95c4e46ce2b46a35c2530a4e8f9ee72f623575b865929439045e3d37892b916df9c79d3750c162acea93357b3fcc9f5385470de59117b56b5c5ef07 diff --git a/trinity-base/kmail/kmail-14.0.12.ebuild b/trinity-base/kmail/kmail-14.0.12.ebuild new file mode 100644 index 00000000..b75f3da5 --- /dev/null +++ b/trinity-base/kmail/kmail-14.0.12.ebuild @@ -0,0 +1,68 @@ +# Copyright 2022 Gentoo Authors +# Copyright 2022 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/ + translations/" +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 +} |