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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Thu Apr 16 19:58:49 2009 UTC (10 years, 9 months ago) by alexxy
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
Drop KDE 4.2.1
(Portage version: 2.2_rc30/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.1.ebuild,v 1.5 2009/04/11 19:32:33 armin76 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="~alpha ~amd64 ~ia64 ~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
20 DEPEND="
21 dev-libs/boost
22 dev-libs/libxml2
23 dev-libs/libxslt
24 >=kde-base/kdelibs-${PV}:${SLOT}[kdeprefix=,semantic-desktop?]
25 >=kde-base/kdemaildir-${PV}:${SLOT}[kdeprefix=]
26 >=kde-base/libkdepim-${PV}:${SLOT}[kdeprefix=]
27 x11-misc/shared-mime-info
28 "
29
30 RDEPEND="${DEPEND}
31 >=app-office/akonadi-server-1.1[mysql]
32 "
33
34 KMEXTRACTONLY="
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