/[gentoo-x86]/kde-base/akonadi/akonadi-4.2.0.ebuild
Gentoo

Contents of /kde-base/akonadi/akonadi-4.2.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sun Mar 8 18:50:17 2009 UTC (10 years, 11 months ago) by alexxy
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Drop KDE 4.2.0
(Portage version: 2.2_rc23/cvs/Linux x86_64)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/kde-base/akonadi/akonadi-4.2.0.ebuild,v 1.2 2009/02/01 06:20:27 jmbsvicetto Exp $
4
5 EAPI="2"
6
7 KMNAME="kdepim"
8 inherit kde4-meta
9
10 DESCRIPTION="An extensible cross-desktop storage service for PIM data and meta data"
11 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
12 # add when libmapi becomes available with an ebuild
13 #exchange
14 IUSE="debug +semantic-desktop"
15
16 # add when libmapi becomes available with an ebuild
17 #exchange? ( net-libs/libmapi )
18 # not sure about libxml2... - reavertm
19 DEPEND="
20 dev-libs/boost
21 dev-libs/libxml2
22 dev-libs/libxslt
23 >=kde-base/kdemaildir-${PV}:${SLOT}
24 >=kde-base/libkdepim-${PV}:${SLOT}
25 x11-misc/shared-mime-info
26 >=kde-base/kdelibs-${PV}:${SLOT}[semantic-desktop?]
27 "
28
29 RDEPEND="${DEPEND}
30 >=app-office/akonadi-server-1.1[mysql]
31 "
32
33 KMEXTRACTONLY="
34 libkdepim/
35 maildir/
36 "
37
38 src_prepare() {
39 if ! use semantic-desktop; then
40 sed -i -e "s/add_subdirectory( nepomuktag )//"\
41 akonadi/resources/CMakeLists.txt\
42 || die "Failed to disable nepomuktag"
43 fi
44
45 kde4-meta_src_prepare
46 }
47
48 src_configure() {
49 # Set the dbus dirs, otherwise it searches in KDEDIR
50 mycmakeargs="${mycmakeargs}
51 -DAKONADI_DBUS_INTERFACES_INSTALL_DIR=/usr/share/dbus-1/interfaces
52 -DAKONADI_DBUS_SERVICES_INSTALL_DIR=/usr/share/dbus-1/services"
53 # replace with $(cmake-utils_use_with exchange OpenChange) when libmapi becomes available with an ebuild
54 mycmakeargs="${mycmakeargs}
55 -DWITH_LibXslt=ON
56 -DWITH_OpenChange=OFF
57 -DWITH_GNOKII=OFF
58 -DWITH_GLIB2=OFF
59 -DWITH_OpenSync=OFF
60 $(cmake-utils_use_with semantic-desktop Nepomuk)
61 $(cmake-utils_use_with semantic-desktop Soprano)"
62
63 kde4-meta_src_configure
64 }
65
66 src_test() {
67 # disable broken test
68 sed -i -e '/mailserializerplugintest/ s/^/#DO_NOT_RUN_TEST /' \
69 "${S}"/akonadi/plugins/tests/CMakeLists.txt || \
70 die "sed to disable mailserializerplugintest failed."
71
72 kde4-meta_src_test
73 }

  ViewVC Help
Powered by ViewVC 1.1.20