blob: 8769919a01b12dc8850efc7853700865d53fd382 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
KMNAME="kdepimlibs"
inherit kde4-base
DESCRIPTION="C++ bindings for gpgme"
KEYWORDS="amd64 ~x86"
LICENSE="LGPL-2.1"
IUSE="debug"
DEPEND="
>=app-crypt/gpgme-1.8.0
dev-libs/boost:=
dev-libs/libgpg-error
"
# boost is not linked to, but headers which include it are installed
# bug #418071
RDEPEND="${DEPEND}
!kde-apps/kdepimlibs:4
"
S=${WORKDIR}/${KMNAME}-${PV}
src_prepare() {
cmake_comment_add_subdirectory kmime
kde4-base_src_prepare
}
src_configure() {
local mycmakeargs=(
-DBUILD_doc=OFF
-DCMAKE_DISABLE_FIND_PACKAGE_Prison=ON
-DCMAKE_DISABLE_FIND_PACKAGE_Ldap=ON
-DKDEPIM_ONLY_KLEO=ON
-DKDEPIM_NO_KCAL=ON
-DKDEPIM_NO_KRESOURCES=ON
)
kde4-base_src_configure
}
src_install() {
kde4-base_src_install
# Collisions with kdepimlibs:4
rm -f "${ED}"usr/share/apps/cmake/modules/CheckTimezone.cmake \
"${ED}"usr/share/apps/cmake/modules/Find{Ldap,Libical,QtOAuth}.cmake \
"${ED}"usr/share/doc/"${PF}"/{akonadi,kabc,kalarmcal,kresources,kxmlrpcclient}.README* \
"${ED}"usr/share/doc/"${PF}"/{kabc,kmime,kresources,mailtransport}.TODO* \
"${ED}"usr/share/doc/"${PF}"/kabc.HACKING* \
"${ED}"usr/share/doc/"${PF}"/ktnef.AUTHORS || die
}
|