summaryrefslogtreecommitdiffstats
path: root/trinity-base/kontact
diff options
context:
space:
mode:
authorormorph <[email protected]>2021-01-09 00:15:38 +0300
committerTDE Gitea <[email protected]>2021-02-18 07:17:44 +0000
commit218beda252fbaa5c59ef456caef061aad0fb44cf (patch)
tree2db312afc625b2bc4ab1806db6d1a67a0070892b /trinity-base/kontact
parentc572c1ce898a379247d6a7177ba35bd890d2c745 (diff)
downloadtde-packaging-gentoo-218beda252fbaa5c59ef456caef061aad0fb44cf.tar.gz
tde-packaging-gentoo-218beda252fbaa5c59ef456caef061aad0fb44cf.zip
Added ebuilds trinity-base/tdepim-meta-9999, as well as corrections for tdepim-meta
Signed-off-by: ormorph <[email protected]>
Diffstat (limited to 'trinity-base/kontact')
-rw-r--r--trinity-base/kontact/kontact-9999.ebuild17
-rw-r--r--trinity-base/kontact/metadata.xml8
2 files changed, 18 insertions, 7 deletions
diff --git a/trinity-base/kontact/kontact-9999.ebuild b/trinity-base/kontact/kontact-9999.ebuild
index 058c3be2..6f5c4864 100644
--- a/trinity-base/kontact/kontact-9999.ebuild
+++ b/trinity-base/kontact/kontact-9999.ebuild
@@ -6,22 +6,33 @@ EAPI="7"
TRINITY_MODULE_NAME="tdepim"
TSM_EXTRACT_ALSO="libtdepim/ libtdenetwork/ plugins/ korganizer/ kaddressbook/
- kmail/ knotes/ knode/ akregator/ karm/ libemailfunctions/ libkpimidentities/"
+ 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() {
- sed -i '/kmail/d' kontact/plugins/CMakeLists.txt || die
- sed -i '/specialdates/d' kontact/plugins/CMakeLists.txt || die
+ 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
}
diff --git a/trinity-base/kontact/metadata.xml b/trinity-base/kontact/metadata.xml
index 6e9f5e4a..7047cbf3 100644
--- a/trinity-base/kontact/metadata.xml
+++ b/trinity-base/kontact/metadata.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person">
- <email>[email protected]</email>
- <name>Alexander Golubev</name>
- </maintainer>
+ <!-- maintainer-needed -->
+ <use>
+ <flag name="kmail">Build support for kmail</flag>
+ </use>
</pkgmetadata>