/[gentoo-x86]/kde-base/kdepimlibs/kdepimlibs-4.9.5.ebuild
Gentoo

Contents of /kde-base/kdepimlibs/kdepimlibs-4.9.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sun Jan 27 23:22:36 2013 UTC (22 months, 3 weeks ago) by ago
Branch: MAIN
Changes since 1.3: +2 -2 lines
Stable for ppc, wrt bug #450678

(Portage version: 2.1.11.31/cvs/Linux ppc64, unsigned Manifest commit)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/kde-base/kdepimlibs/kdepimlibs-4.9.5.ebuild,v 1.3 2013/01/27 15:23:47 ago Exp $
4
5 EAPI=4
6
7 KDE_HANDBOOK="optional"
8 CPPUNIT_REQUIRED="optional"
9 inherit kde4-base
10
11 DESCRIPTION="Common library for KDE PIM apps."
12 KEYWORDS="amd64 ~arm ppc x86 ~amd64-linux ~x86-linux"
13 LICENSE="LGPL-2.1"
14 IUSE="debug ldap prison semantic-desktop"
15
16 # some akonadi tests timeout, that probaly needs more work as its ~700 tests
17 RESTRICT="test"
18
19 DEPEND="
20 >=app-crypt/gpgme-1.1.6
21 >=dev-libs/boost-1.35.0-r5
22 dev-libs/libgpg-error
23 >=dev-libs/libical-0.43
24 dev-libs/cyrus-sasl
25 $(add_kdebase_dep kdelibs 'semantic-desktop=')
26 prison? ( media-libs/prison )
27 semantic-desktop? (
28 >=app-office/akonadi-server-1.8.1
29 media-libs/phonon
30 x11-misc/shared-mime-info
31 )
32 ldap? ( net-nds/openldap )
33 "
34 # boost is not linked to, but headers which include it are installed
35 # bug #418071
36 RDEPEND="${DEPEND}"
37
38 PATCHES=( "${FILESDIR}/${PN}-4.9.1-boostincludes.patch" )
39
40 src_prepare() {
41 kde4-base_src_prepare
42
43 # Disable hardcoded checks
44 sed -r -e '/find_package\((Akonadi|SharedDesktopOntologies|Soprano|Nepomuk)/{/macro_optional_/!s/find/macro_optional_&/}' \
45 -e '/macro_log_feature\((Akonadi|SHAREDDESKTOPONTOLOGIES|Soprano|Nepomuk)_FOUND/s/ TRUE / FALSE /' \
46 -e '/add_subdirectory\((akonadi|mailtransport)/{/macro_optional_/!s/add/macro_optional_&/}' \
47 -i CMakeLists.txt || die
48 if ! use semantic-desktop; then
49 sed -e '/include(SopranoAddOntology)/s/^/#DISABLED /' \
50 -i CMakeLists.txt || die
51 # More reliable than -DBUILD_akonadi=OFF
52 rm -r akonadi mailtransport || die
53 fi
54 }
55
56 src_configure() {
57 mycmakeargs=(
58 $(cmake-utils_use_build handbook doc)
59 $(cmake-utils_use_with ldap)
60 $(cmake-utils_use_with semantic-desktop Akonadi)
61 $(cmake-utils_use_with semantic-desktop SharedDesktopOntologies)
62 $(cmake-utils_use_with semantic-desktop Soprano)
63 $(cmake-utils_use_with semantic-desktop Nepomuk)
64 $(cmake-utils_use !semantic-desktop KALARM_USE_KRESOURCES)
65 $(cmake-utils_use_with prison)
66 )
67
68 kde4-base_src_configure
69 }

  ViewVC Help
Powered by ViewVC 1.1.20