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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Wed Mar 31 21:56:48 2010 UTC (9 years, 9 months ago) by spatz
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Remove old KDE versions.
(Portage version: 2.2_rc67/cvs/Linux x86_64, RepoMan options: --force)

1 # Copyright 1999-2010 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.3.4.ebuild,v 1.4 2010/01/23 20:10:39 abcd Exp $
4
5 EAPI="2"
6
7 if [[ ${PV} = *9999* ]]; then
8 KMNAME="kdepim"
9 eclass="kde4-meta"
10 else
11 KMNAME="kdepim-runtime"
12 eclass="kde4-base"
13 fi
14 inherit ${eclass}
15
16 DESCRIPTION="An extensible cross-desktop storage service for PIM data and meta data"
17 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
18 # add when libmapi becomes available with an ebuild
19 #exchange
20 IUSE="debug +semantic-desktop"
21
22 # add when libmapi becomes available with an ebuild
23 #exchange? ( net-libs/libmapi )
24 DEPEND="
25 dev-libs/boost
26 dev-libs/libxml2
27 dev-libs/libxslt
28 $(add_kdebase_dep kdelibs 'semantic-desktop?')
29 $(add_kdebase_dep kdepimlibs)
30 x11-misc/shared-mime-info
31 "
32 RDEPEND="${DEPEND}
33 >=app-office/akonadi-server-1.2.1
34 "
35
36 # @since 4.3 - blocks kdemaildir - no longer provided (it's in akonadi now)
37 add_blocker kdemaildir
38 add_blocker kdepim-kresources '<4.2.95'
39
40 [[ ${KMNAME} = "kdepim-runtime" ]] && S="${WORKDIR}/${KMNAME}-${PV}"
41
42 src_prepare() {
43 local pref="${S}"
44 [[ ${KMNAME} != "kdepim-runtime" ]] && pref="${S}/${PN}"
45 if ! use semantic-desktop; then
46 sed -i -e "s/add_subdirectory( nepomuktag )//"\
47 "${pref}"/resources/CMakeLists.txt\
48 || die "Failed to disable nepomuktag"
49 fi
50
51 ${eclass}_src_prepare
52 }
53
54 src_configure() {
55 mycmakeargs=(
56 # Set the dbus dirs, otherwise it searches in KDEDIR
57 -DAKONADI_DBUS_INTERFACES_INSTALL_DIR="${EPREFIX}/usr/share/dbus-1/interfaces"
58 -DAKONADI_DBUS_SERVICES_INSTALL_DIR="${EPREFIX}/usr/share/dbus-1/services"
59
60 -DWITH_LibXslt=ON
61 # replace with $(cmake-utils_use_with exchange OpenChange) when libmapi becomes available with an ebuild
62 -DWITH_OpenChange=OFF
63 -DWITH_GNOKII=OFF
64 -DWITH_GLIB2=OFF
65 -DWITH_OpenSync=OFF
66 $(cmake-utils_use_with semantic-desktop Nepomuk)
67 $(cmake-utils_use_with semantic-desktop Soprano)
68 )
69
70 ${eclass}_src_configure
71 }
72
73 src_test() {
74 # disable broken tests
75 sed -i -e '/kcalserializertest/ s/^/#DO_NOT_RUN_TEST /' \
76 "${S}"/plugins/tests/CMakeLists.txt || \
77 die "sed to disable kcalserializertest failed."
78 sed -i -e '/kresmigrationtest/ s/^/#DO_NOT_RUN_TEST /' \
79 "${S}"/migration/kres/tests/CMakeLists.txt || \
80 die "sed to disable kresmigrationtest failed."
81
82 ${eclass}_src_test
83 }
84
85 src_install() {
86 ${eclass}_src_install
87 # colliding files with nepomuk
88 rm -rf "${D}"/${EKDEDIR}/share/apps/nepomuk/ontologies/n{m,c}o.{desktop,trig}
89 }

  ViewVC Help
Powered by ViewVC 1.1.20