summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris <xchrisx@uber.space>2020-04-24 00:37:28 +0200
committerChris <xchrisx@uber.space>2020-04-24 00:37:28 +0200
commit55787e8078d5d241d95cf251fda8fff5b88164ae (patch)
tree23e3d4f7ea1daf613bd93012a1588921a4a0d617
parent912f40ace9505c591e61e02a47e101c864c98bca (diff)
downloadtde-packaging-gentoo-55787e8078d5d241d95cf251fda8fff5b88164ae.tar.gz
tde-packaging-gentoo-55787e8078d5d241d95cf251fda8fff5b88164ae.zip
Live ebuilds: Add `KMail` and depending ebuilds.
- `libkpgp` - `libksieve` - `tdepim-tdeioslaves` Signed-off-by: Chris <xchrisx@uber.space>
-rw-r--r--trinity-base/kmail/kmail-9999.ebuild55
-rw-r--r--trinity-base/kmail/metadata.xml7
-rw-r--r--trinity-base/libkpgp/libkpgp-9999.ebuild17
-rw-r--r--trinity-base/libkpgp/metadata.xml7
-rw-r--r--trinity-base/libksieve/libksieve-9999.ebuild9
-rw-r--r--trinity-base/libksieve/metadata.xml7
-rw-r--r--trinity-base/mimelib/mimelib-9999.ebuild1
-rw-r--r--trinity-base/tdepim-tdeioslaves/metadata.xml7
-rw-r--r--trinity-base/tdepim-tdeioslaves/tdepim-tdeioslaves-9999.ebuild38
9 files changed, 147 insertions, 1 deletions
diff --git a/trinity-base/kmail/kmail-9999.ebuild b/trinity-base/kmail/kmail-9999.ebuild
new file mode 100644
index 00000000..47f83498
--- /dev/null
+++ b/trinity-base/kmail/kmail-9999.ebuild
@@ -0,0 +1,55 @@
+# Copyright 2020 The Trinity Desktop Project
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+TRINITY_MODULE_NAME="tdepim"
+
+inherit trinity-meta-2
+
+DESCRIPTION="The email client for Trinity"
+
+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.
+
+COMMON_DEPEND="
+ =trinity-base/libtdepim-${PV}
+ =trinity-base/mimelib-${PV}
+ =trinity-base/libtdenetwork-${PV}
+ =trinity-base/ktnef-${PV}
+ =trinity-base/libkcal-${PV}
+ =trinity-base/libkmime-${PV}
+ =trinity-base/libkpgp-${PV}
+ =trinity-base/certmanager-${PV}
+ =trinity-base/libkpimidentities-${PV}
+ =trinity-base/libksieve-${PV}"
+
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}
+ crypt? ( app-crypt/pinentry )
+ =trinity-base/tdebase-tdeioslaves-${PV}
+ mbox? ( =trinity-base/tdepim-tdeioslaves-${PV} )
+ imap? ( =trinity-base/tdepim-tdeioslaves-${PV}[sasl=] )"
+
+TSM_EXTRACT_ALSO="
+ ktnef/
+ libemailfunctions/
+ mimelib/
+ libtdenetwork/
+ certmanager/lib/
+ libtdepim/
+ korganizer/korganizerinterface.h
+ korganizer/kcalendarinterface.h
+ libkpgp/
+ libkmime/
+ libksieve/
+ kmail/"
+
+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
+} \ No newline at end of file
diff --git a/trinity-base/kmail/metadata.xml b/trinity-base/kmail/metadata.xml
new file mode 100644
index 00000000..61b4108b
--- /dev/null
+++ b/trinity-base/kmail/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <name>Chris</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/trinity-base/libkpgp/libkpgp-9999.ebuild b/trinity-base/libkpgp/libkpgp-9999.ebuild
new file mode 100644
index 00000000..737bdec3
--- /dev/null
+++ b/trinity-base/libkpgp/libkpgp-9999.ebuild
@@ -0,0 +1,17 @@
+# Copyright 2020 The Trinity Desktop Project
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+TRINITY_MODULE_NAME="tdepim"
+
+inherit trinity-meta-2
+
+DESCRIPTION="Trinity PGP library"
+
+DEPEND="
+ dev-libs/libical
+ =trinity-base/ktnef-${PV}
+ =trinity-base/libkmime-${PV}"
+RDEPEND="${DEPEND}"
+
+TSM_EXTRACT_ALSO="libtdepim/" \ No newline at end of file
diff --git a/trinity-base/libkpgp/metadata.xml b/trinity-base/libkpgp/metadata.xml
new file mode 100644
index 00000000..61b4108b
--- /dev/null
+++ b/trinity-base/libkpgp/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <name>Chris</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/trinity-base/libksieve/libksieve-9999.ebuild b/trinity-base/libksieve/libksieve-9999.ebuild
new file mode 100644
index 00000000..9cba0b52
--- /dev/null
+++ b/trinity-base/libksieve/libksieve-9999.ebuild
@@ -0,0 +1,9 @@
+# Copyright 2020 The Trinity Desktop Project
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+TRINITY_MODULE_NAME="tdepim"
+
+inherit trinity-meta-2
+
+DESCRIPTION="TDE library to enable support for sieve, used by KMail" \ No newline at end of file
diff --git a/trinity-base/libksieve/metadata.xml b/trinity-base/libksieve/metadata.xml
new file mode 100644
index 00000000..61b4108b
--- /dev/null
+++ b/trinity-base/libksieve/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <name>Chris</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/trinity-base/mimelib/mimelib-9999.ebuild b/trinity-base/mimelib/mimelib-9999.ebuild
index 7ca64c0b..2ad7d9af 100644
--- a/trinity-base/mimelib/mimelib-9999.ebuild
+++ b/trinity-base/mimelib/mimelib-9999.ebuild
@@ -1,5 +1,4 @@
# Copyright 2020 The Trinity Desktop Project
-# Copyright 2020 The Trinity Desktop Project
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
diff --git a/trinity-base/tdepim-tdeioslaves/metadata.xml b/trinity-base/tdepim-tdeioslaves/metadata.xml
new file mode 100644
index 00000000..61b4108b
--- /dev/null
+++ b/trinity-base/tdepim-tdeioslaves/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <name>Chris</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/trinity-base/tdepim-tdeioslaves/tdepim-tdeioslaves-9999.ebuild b/trinity-base/tdepim-tdeioslaves/tdepim-tdeioslaves-9999.ebuild
new file mode 100644
index 00000000..828ac432
--- /dev/null
+++ b/trinity-base/tdepim-tdeioslaves/tdepim-tdeioslaves-9999.ebuild
@@ -0,0 +1,38 @@
+# Copyright 2020 The Trinity Desktop Project
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+TRINITY_MODULE_NAME="tdepim"
+
+inherit trinity-meta-2
+
+TSM_EXTRACT="tdeioslave"
+TRINITY_SUBMODULE="tdeioslave"
+
+DESCRIPTION="PIM Trinity TDEIOslaves"
+
+IUSE="sasl sieve"
+
+# The Sieve TDEIOslave won't build without SASL and
+# the IMAP4 TDEIOslave will lose the ability of SASL
+# authentification. To fulfill any expectation of users,
+# we offer two USE flags, which depend on each other.
+
+REQUIRED_USE="
+ sasl? ( sieve )
+ sieve? ( sasl )
+"
+
+DEPEND="
+ net-libs/libtirpc
+ trinity-base/libkmime
+ sasl? ( dev-libs/cyrus-sasl )"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ mycmakeargs=(
+ -DWITH_SASL=$(usex sieve)
+ )
+
+ trinity-meta-2_src_configure
+}