forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
kdepimlibs-4.14.10.ebuild
60 lines (50 loc) · 1.49 KB
/
kdepimlibs-4.14.10.ebuild
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
57
58
59
60
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
KDE_HANDBOOK="optional"
CPPUNIT_REQUIRED="optional"
EGIT_BRANCH="KDE/4.14"
inherit kde4-base
DESCRIPTION="Common library for KDE PIM apps"
KEYWORDS=" ~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
LICENSE="LGPL-2.1"
IUSE="debug ldap prison"
# some akonadi tests timeout, that probaly needs more work as its ~700 tests
RESTRICT="test"
DEPEND="
!kde-misc/akonadi-social-utils
>=app-crypt/gpgme-1.1.6
>=app-office/akonadi-server-1.12.90[qt4]
>=dev-libs/boost-1.35.0-r5:=
dev-libs/libgpg-error
>=dev-libs/libical-0.48-r2:=
dev-libs/cyrus-sasl
>=dev-libs/qjson-0.8.1
media-libs/phonon[qt4]
x11-misc/shared-mime-info
prison? ( media-libs/prison:4 )
ldap? ( net-nds/openldap )
"
# boost is not linked to, but headers which include it are installed
# bug #418071
RDEPEND="${DEPEND}
!=kde-apps/kdepim-runtime-4.10*
!=kde-apps/kdepim-runtime-4.11*
!<kde-apps/kdepim-runtime-4.4.11.1-r2:4
"
PATCHES=( "${FILESDIR}/${PN}-4.9.1-boostincludes.patch" )
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_build handbook doc)
$(cmake-utils_use_find_package ldap)
$(cmake-utils_use_find_package prison)
)
kde4-base_src_configure
}
src_install() {
kde4-base_src_install
rm "${ED}"/usr/share/apps/cmake/modules/FindQtOAuth.cmake #Collides with net-im/choqok
# contains constants/defines only
QA_DT_NEEDED="$(find "${ED}" -type f -name 'libakonadi-kabc.so.*' -printf '/%P\n')"
}