diff options
author | Alexey Shvetsov <alexxy@gentoo.org> | 2009-03-04 23:02:08 +0000 |
---|---|---|
committer | Alexey Shvetsov <alexxy@gentoo.org> | 2009-03-04 23:02:08 +0000 |
commit | 4de417b1bb3bc2e9455805558437ef13d2cf9344 (patch) | |
tree | 870de20bd2e0eebb646138c5b5ac72aca4b40b3a /kde-base/akonadi/akonadi-4.2.1.ebuild | |
parent | Version bump. (diff) | |
download | historical-4de417b1bb3bc2e9455805558437ef13d2cf9344.tar.gz historical-4de417b1bb3bc2e9455805558437ef13d2cf9344.tar.bz2 historical-4de417b1bb3bc2e9455805558437ef13d2cf9344.zip |
Bump KDE 4.2.1
Package-Manager: portage-2.2_rc23/cvs/Linux x86_64
Diffstat (limited to 'kde-base/akonadi/akonadi-4.2.1.ebuild')
-rw-r--r-- | kde-base/akonadi/akonadi-4.2.1.ebuild | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/kde-base/akonadi/akonadi-4.2.1.ebuild b/kde-base/akonadi/akonadi-4.2.1.ebuild new file mode 100644 index 000000000000..f96d0e6e13ae --- /dev/null +++ b/kde-base/akonadi/akonadi-4.2.1.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-base/akonadi/akonadi-4.2.1.ebuild,v 1.1 2009/03/04 20:18:04 alexxy Exp $ + +EAPI="2" + +KMNAME="kdepim" +inherit kde4-meta + +DESCRIPTION="An extensible cross-desktop storage service for PIM data and meta data" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +# add when libmapi becomes available with an ebuild +#exchange +IUSE="debug +semantic-desktop" + +# add when libmapi becomes available with an ebuild +#exchange? ( net-libs/libmapi ) +# not sure about libxml2... - reavertm +DEPEND=" + dev-libs/boost + dev-libs/libxml2 + dev-libs/libxslt + >=kde-base/kdemaildir-${PV}:${SLOT} + >=kde-base/libkdepim-${PV}:${SLOT} + x11-misc/shared-mime-info + >=kde-base/kdelibs-${PV}:${SLOT}[semantic-desktop?] +" + +RDEPEND="${DEPEND} + >=app-office/akonadi-server-1.1[mysql] +" + +KMEXTRACTONLY=" + libkdepim/ + maildir/ +" + +src_prepare() { + if ! use semantic-desktop; then + sed -i -e "s/add_subdirectory( nepomuktag )//"\ + akonadi/resources/CMakeLists.txt\ + || die "Failed to disable nepomuktag" + fi + + kde4-meta_src_prepare +} + +src_configure() { + # Set the dbus dirs, otherwise it searches in KDEDIR + mycmakeargs="${mycmakeargs} + -DAKONADI_DBUS_INTERFACES_INSTALL_DIR=/usr/share/dbus-1/interfaces + -DAKONADI_DBUS_SERVICES_INSTALL_DIR=/usr/share/dbus-1/services" + # replace with $(cmake-utils_use_with exchange OpenChange) when libmapi becomes available with an ebuild + mycmakeargs="${mycmakeargs} + -DWITH_LibXslt=ON + -DWITH_OpenChange=OFF + -DWITH_GNOKII=OFF + -DWITH_GLIB2=OFF + -DWITH_OpenSync=OFF + $(cmake-utils_use_with semantic-desktop Nepomuk) + $(cmake-utils_use_with semantic-desktop Soprano)" + + kde4-meta_src_configure +} + +src_test() { + # disable broken test + sed -i -e '/mailserializerplugintest/ s/^/#DO_NOT_RUN_TEST /' \ + "${S}"/akonadi/plugins/tests/CMakeLists.txt || \ + die "sed to disable mailserializerplugintest failed." + + kde4-meta_src_test +} |