Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: kde-apps/kmail/
Date: Sun, 05 Mar 2017 23:21:04
Message-Id: 1488755775.74484778855a0cee31e9497b21bac209e64acb26.asturm@gentoo
1 commit: 74484778855a0cee31e9497b21bac209e64acb26
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Mar 5 22:36:43 2017 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 5 23:16:15 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74484778
7
8 kde-apps/kmail: Raise DEPEND on fixed kde-apps/kdepimlibs
9
10 Gentoo-bug: 600510
11
12 Package-Manager: Portage-2.3.3, Repoman-2.3.1
13
14 kde-apps/kmail/kmail-4.14.11_pre20160211-r1.ebuild | 111 +++++++++++++++++++++
15 kde-apps/kmail/kmail-4.4.2016.01-r1.ebuild | 74 ++++++++++++++
16 2 files changed, 185 insertions(+)
17
18 diff --git a/kde-apps/kmail/kmail-4.14.11_pre20160211-r1.ebuild b/kde-apps/kmail/kmail-4.14.11_pre20160211-r1.ebuild
19 new file mode 100644
20 index 00000000000..6595247b651
21 --- /dev/null
22 +++ b/kde-apps/kmail/kmail-4.14.11_pre20160211-r1.ebuild
23 @@ -0,0 +1,111 @@
24 +# Copyright 1999-2017 Gentoo Foundation
25 +# Distributed under the terms of the GNU General Public License v2
26 +
27 +EAPI=6
28 +
29 +KDE_HANDBOOK="optional"
30 +KMNAME="kdepim"
31 +EGIT_BRANCH="KDE/4.14"
32 +VIRTUALX_REQUIRED="test"
33 +WEBKIT_REQUIRED="always"
34 +inherit flag-o-matic kde4-meta
35 +
36 +DESCRIPTION="Email component of Kontact, the integrated personal information manager of KDE"
37 +HOMEPAGE="https://www.kde.org/applications/internet/kmail/"
38 +COMMIT_ID="2aec255c6465676404e4694405c153e485e477d9"
39 +SRC_URI="https://quickgit.kde.org/?p=kdepim.git&a=snapshot&h=${COMMIT_ID}&fmt=tgz -> ${KMNAME}-${PV}.tar.gz"
40 +
41 +KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
42 +IUSE="debug"
43 +
44 +DEPEND="
45 + $(add_kdeapps_dep kdepimlibs 'akonadi(+)' 4.14.11_pre20160211-r3)
46 + $(add_kdeapps_dep kdepim-common-libs '' 4.14.11_pre20160211-r1)
47 + $(add_kdeapps_dep korganizer)
48 +"
49 +RDEPEND="
50 + ${DEPEND}
51 + !=kde-apps/kdepim-common-libs-4.12.1-r1
52 +"
53 +
54 +RESTRICT="test"
55 +# bug 393147
56 +
57 +KMEXTRACTONLY="
58 + agents/folderarchiveagent.desktop
59 + agents/sendlateragent/
60 + akonadi_next/
61 + calendarviews/
62 + grantleeeditor/grantleethemeeditor/
63 + kdgantt2/
64 + korganizer/
65 + kresources/
66 + libkdepimdbusinterfaces/
67 + libkleo/
68 + libkpgp/
69 +"
70 +KMCOMPILEONLY="
71 + calendarsupport/
72 + grantleetheme/
73 + incidenceeditor-ng/
74 + kaddressbookgrantlee/
75 + mailcommon/
76 + mailimporter/
77 + messagecomposer/
78 + messagecore/
79 + messagelist/
80 + messageviewer/
81 + mailcommon/
82 + mailimporter/
83 + noteshared/
84 + pimcommon/
85 + templateparser/
86 +"
87 +KMEXTRA="
88 + agents/archivemailagent/
89 + agents/followupreminderagent/
90 + agents/mailfilteragent/
91 + grantleeeditor/headerthemeeditor/
92 + importwizard/
93 + kmailcvt/
94 + ksendemail/
95 + libksieve/
96 + mboximporter/
97 + pimsettingexporter/
98 + plugins/messageviewer/
99 +"
100 +
101 +KMLOADLIBS="kdepim-common-libs"
102 +
103 +src_compile() {
104 + kde4-meta_src_compile kmail_xml
105 + kde4-meta_src_compile
106 +}
107 +
108 +pkg_postinst() {
109 + kde4-meta_pkg_postinst
110 +
111 + if ! has_version kde-apps/kdepim-kresources:${SLOT}; then
112 + echo
113 + elog "For groupware functionality, please install kde-apps/kdepim-kresources:${SLOT}"
114 + echo
115 + fi
116 + if ! has_version kde-apps/kleopatra:${SLOT}; then
117 + echo
118 + elog "For certificate management and the gnupg log viewer, please install kde-apps/kleopatra:${SLOT}"
119 + echo
120 + fi
121 +
122 + if has_version "kde-apps/akonadi[sqlite]"; then
123 + ewarn
124 + ewarn "We strongly recommend you set your Akonadi database backend to QMYSQL in your"
125 + ewarn "user configuration. This is the backend recommended by KDE upstream."
126 + ewarn "Reports indicate that kde-apps/kmail-4.10 does not work properly with the sqlite"
127 + ewarn "backend anymore."
128 + if has_version "kde-apps/akonadi[-mysql]"; then
129 + ewarn "FOR THAT, YOU WILL HAVE TO RE-BUILD kde-apps/akonadi WITH mysql USEFLAG ENABLED."
130 + fi
131 + ewarn "You can select the backend in your ~/.config/akonadi/akonadiserverrc."
132 + ewarn
133 + fi
134 +}
135
136 diff --git a/kde-apps/kmail/kmail-4.4.2016.01-r1.ebuild b/kde-apps/kmail/kmail-4.4.2016.01-r1.ebuild
137 new file mode 100644
138 index 00000000000..03e8b9315b8
139 --- /dev/null
140 +++ b/kde-apps/kmail/kmail-4.4.2016.01-r1.ebuild
141 @@ -0,0 +1,74 @@
142 +# Copyright 1999-2017 Gentoo Foundation
143 +# Distributed under the terms of the GNU General Public License v2
144 +
145 +EAPI=5
146 +
147 +KMNAME="kdepim"
148 +KDE_HANDBOOK=optional
149 +VIRTUALX_REQUIRED=test
150 +inherit flag-o-matic kde4-meta
151 +
152 +DESCRIPTION="Email component of Kontact (noakonadi branch)"
153 +HOMEPAGE="https://launchpad.net/~pali/+archive/ubuntu/kdepim-noakonadi"
154 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
155 +IUSE="debug"
156 +
157 +DEPEND="
158 + $(add_kdeapps_dep kdepimlibs '' 4.14.10-r3)
159 + $(add_kdeapps_dep libkdepim '' 4.4.11.1-r1)
160 + $(add_kdeapps_dep libkleo '' 4.4.2015)
161 + $(add_kdeapps_dep libkpgp '' 4.4.2015)
162 + kde-frameworks/kdelibs:4
163 +"
164 +RDEPEND="${DEPEND}
165 + !>=kde-apps/kdepimlibs-4.14.11_pre20160211
166 +"
167 +
168 +KMEXTRACTONLY="
169 + korganizer/org.kde.Korganizer.Calendar.xml
170 + libkleo/
171 + libkpgp/
172 +"
173 +KMEXTRA="
174 + kmailcvt/
175 + ksendemail/
176 + libksieve/
177 + messagecore/
178 + messagelist/
179 + messageviewer/
180 + mimelib/
181 + plugins/kmail/
182 +"
183 +KMLOADLIBS="libkdepim"
184 +
185 +PATCHES=(
186 + "${FILESDIR}/${PN}-4.4.9-nodbus.patch"
187 +)
188 +
189 +src_configure() {
190 + mycmakeargs=(
191 + -DWITH_IndicateQt=OFF
192 + )
193 +
194 + kde4-meta_src_configure
195 +}
196 +
197 +src_compile() {
198 + kde4-meta_src_compile kmail_xml
199 + kde4-meta_src_compile
200 +}
201 +
202 +pkg_postinst() {
203 + kde4-meta_pkg_postinst
204 +
205 + if ! has_version kde-apps/kdepim-kresources:${SLOT}; then
206 + echo
207 + elog "For groupware functionality, please install kde-apps/kdepim-kresources:${SLOT}"
208 + echo
209 + fi
210 + if ! has_version kde-apps/kleopatra:${SLOT}; then
211 + echo
212 + elog "For certificate management and the gnupg log viewer, please install kde-apps/kleopatra:${SLOT}"
213 + echo
214 + fi
215 +}