summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Alexander <wired@gentoo.org>2009-08-03 23:12:25 +0000
committerAlex Alexander <wired@gentoo.org>2009-08-03 23:12:25 +0000
commite398944fc6319561eececc1b93aacbe9fd3317fb (patch)
tree89da7881fe3d6ab1f29956b8f8451c5fbd4391a2 /kde-base/akonadi
parentMask the lisp live darcs ebuilds. (diff)
downloadgentoo-2-e398944fc6319561eececc1b93aacbe9fd3317fb.tar.gz
gentoo-2-e398944fc6319561eececc1b93aacbe9fd3317fb.tar.bz2
gentoo-2-e398944fc6319561eececc1b93aacbe9fd3317fb.zip
Version bump KDE 4.3.0
(Portage version: 2.2_rc33/cvs/Linux x86_64, RepoMan options: --force)
Diffstat (limited to 'kde-base/akonadi')
-rw-r--r--kde-base/akonadi/ChangeLog7
-rw-r--r--kde-base/akonadi/akonadi-4.3.0.ebuild95
2 files changed, 101 insertions, 1 deletions
diff --git a/kde-base/akonadi/ChangeLog b/kde-base/akonadi/ChangeLog
index ab7757e40c78..60c9a44b4e0a 100644
--- a/kde-base/akonadi/ChangeLog
+++ b/kde-base/akonadi/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for kde-base/akonadi
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/akonadi/ChangeLog,v 1.25 2009/06/14 10:18:16 alexxy Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/akonadi/ChangeLog,v 1.26 2009/08/03 23:12:25 wired Exp $
+
+*akonadi-4.3.0 (03 Aug 2009)
+
+ 03 Aug 2009; Alex Alexander <wired@gentoo.org> +akonadi-4.3.0.ebuild:
+ Version bump
14 Jun 2009; Alexey Shvetsov <alexxy@gentoo.org> -akonadi-4.2.3.ebuild:
Drop KDE 4.2.3
diff --git a/kde-base/akonadi/akonadi-4.3.0.ebuild b/kde-base/akonadi/akonadi-4.3.0.ebuild
new file mode 100644
index 000000000000..60febb9af47b
--- /dev/null
+++ b/kde-base/akonadi/akonadi-4.3.0.ebuild
@@ -0,0 +1,95 @@
+# 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.3.0.ebuild,v 1.1 2009/08/03 23:12:25 wired Exp $
+
+EAPI="2"
+
+if [[ ${PV} = *9999* ]]; then
+ KMNAME="kdepim"
+ eclass="kde4-meta"
+else
+ KMNAME="kdepim-runtime"
+ eclass="kde4-base"
+fi
+inherit ${eclass}
+
+DESCRIPTION="An extensible cross-desktop storage service for PIM data and meta data"
+KEYWORDS="~amd64 ~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 )
+DEPEND="
+ dev-libs/boost
+ dev-libs/libxml2
+ dev-libs/libxslt
+ >=kde-base/kdelibs-${PV}:${SLOT}[kdeprefix=,semantic-desktop?]
+ >=kde-base/libkdepim-${PV}:${SLOT}[kdeprefix=]
+ x11-misc/shared-mime-info
+"
+# @since 4.3 - blocks kdemaildir - no longer provided (it's in akonadi now)
+RDEPEND="${DEPEND}
+ !kdeprefix? (
+ !kde-base/kdemaildir[-kdeprefix]
+ !~kde-base/kdepim-kresources-4.2.3[-kdeprefix]
+ !~kde-base/kdepim-kresources-4.2.4[-kdeprefix]
+ !<kde-base/kdepim-kresources-4.2.95:4.3[-kdeprefix]
+ )
+ kdeprefix? (
+ !kde-base/kdemaildir:${SLOT}
+ !<kde-base/kdepim-kresources-4.2.95:${SLOT}[kdeprefix]
+ )
+ >=app-office/akonadi-server-1.2.0
+"
+
+[[ ${KMNAME} = "kdepim-runtime" ]] && S="${WORKDIR}/${KMNAME}-${PV}"
+
+src_prepare() {
+ local pref="${S}"
+ [[ ${KMNAME} != "kdepim-runtime" ]] && pref="${S}/${PN}"
+ if ! use semantic-desktop; then
+ sed -i -e "s/add_subdirectory( nepomuktag )//"\
+ "${pref}"/resources/CMakeLists.txt\
+ || die "Failed to disable nepomuktag"
+ fi
+
+ ${eclass}_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)"
+
+ ${eclass}_src_configure
+}
+
+src_test() {
+ # disable broken tests
+ sed -i -e '/kcalserializertest/ s/^/#DO_NOT_RUN_TEST /' \
+ "${S}"/plugins/tests/CMakeLists.txt || \
+ die "sed to disable kcalserializertest failed."
+ sed -i -e '/kresmigrationtest/ s/^/#DO_NOT_RUN_TEST /' \
+ "${S}"/migration/kres/tests/CMakeLists.txt || \
+ die "sed to disable kresmigrationtest failed."
+
+ ${eclass}_src_test
+}
+
+src_install() {
+ ${eclass}_src_install
+ # colliding files with nepomuk
+ rm -rf "${D}"/${KDEDIR}/share/apps/nepomuk/ontologies/n{m,c}o.{desktop,trig}
+}