summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin McCarthy <signals@gentoo.org>2011-03-02 01:52:53 +0000
committerKevin McCarthy <signals@gentoo.org>2011-03-02 01:52:53 +0000
commitff8590e9b32b662acbee34c37aa3a7ec8bda986f (patch)
tree90e9828b2224019ce3d341ea3c8741cda50f7b90 /gnome-extra/zeitgeist
parentstable ppc64, bug 350896 (diff)
downloadgentoo-2-ff8590e9b32b662acbee34c37aa3a7ec8bda986f.tar.gz
gentoo-2-ff8590e9b32b662acbee34c37aa3a7ec8bda986f.tar.bz2
gentoo-2-ff8590e9b32b662acbee34c37aa3a7ec8bda986f.zip
New ebuild gnome-extra/zeitgeist
(Portage version: 2.2.0_alpha25/cvs/Linux x86_64)
Diffstat (limited to 'gnome-extra/zeitgeist')
-rw-r--r--gnome-extra/zeitgeist/ChangeLog10
-rw-r--r--gnome-extra/zeitgeist/files/zeitgeist-0.7-no-rdfpipe.patch15
-rw-r--r--gnome-extra/zeitgeist/metadata.xml12
-rw-r--r--gnome-extra/zeitgeist/zeitgeist-0.7.ebuild41
4 files changed, 78 insertions, 0 deletions
diff --git a/gnome-extra/zeitgeist/ChangeLog b/gnome-extra/zeitgeist/ChangeLog
new file mode 100644
index 000000000000..ae485ab690cc
--- /dev/null
+++ b/gnome-extra/zeitgeist/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for gnome-extra/zeitgeist
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/zeitgeist/ChangeLog,v 1.1 2011/03/02 01:52:53 signals Exp $
+
+*zeitgeist-0.7 (02 Mar 2011)
+
+ 02 Mar 2011; Kevin McCarthy <signals@gentoo.org> +zeitgeist-0.7.ebuild,
+ +files/zeitgeist-0.7-no-rdfpipe.patch, +metadata.xml:
+ Initial commit. Ebuild by signals@gentoo.org.
+
diff --git a/gnome-extra/zeitgeist/files/zeitgeist-0.7-no-rdfpipe.patch b/gnome-extra/zeitgeist/files/zeitgeist-0.7-no-rdfpipe.patch
new file mode 100644
index 000000000000..0a91fda3df69
--- /dev/null
+++ b/gnome-extra/zeitgeist/files/zeitgeist-0.7-no-rdfpipe.patch
@@ -0,0 +1,15 @@
+Remove dep on rdfpipe (from OpenSUSE)
+
+--- configure.ac
++++ configure.ac
+@@ -37,10 +37,4 @@ if test "x$HAVE_RAPPER" = "xno"; then
+ AC_MSG_ERROR(You need the tool `rapper' from the `raptor-utils' package in order to compile Zeitgeist)
+ fi
+
+-# check for rdflib
+-AC_CHECK_PROG(HAVE_RDFLIB, rdfpipe, yes, no)
+-if test "x$HAVE_RDFLIB" = "xno"; then
+- AC_MSG_ERROR(You need the tool `rdfpipe' from the `python-rdflib' package in order to compile Zeitgeist)
+-fi
+-
+ AC_OUTPUT
diff --git a/gnome-extra/zeitgeist/metadata.xml b/gnome-extra/zeitgeist/metadata.xml
new file mode 100644
index 000000000000..66f0c22e9e4a
--- /dev/null
+++ b/gnome-extra/zeitgeist/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>desktop-misc</herd>
+ <maintainer>
+ <email>signals@gentoo.org</email>
+ <name>Kevin McCarthy</name>
+ </maintainer>
+ <use>
+ <flag name="fts">Enable the full text search extension</flag>
+ </use>
+</pkgmetadata>
diff --git a/gnome-extra/zeitgeist/zeitgeist-0.7.ebuild b/gnome-extra/zeitgeist/zeitgeist-0.7.ebuild
new file mode 100644
index 000000000000..475e9cc810c3
--- /dev/null
+++ b/gnome-extra/zeitgeist/zeitgeist-0.7.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/zeitgeist/zeitgeist-0.7.ebuild,v 1.1 2011/03/02 01:52:53 signals Exp $
+
+EAPI=3
+PYTHON_DEPEND="2"
+inherit autotools eutils python
+
+EXT_VER=0.0.6
+DESCRIPTION="Service to log activities and present to other apps"
+HOMEPAGE="http://launchpad.net/zeitgeist"
+SRC_URI="http://launchpad.net/zeitgeist/${PV}/${PV}/+download/${P}.tar.gz
+ http://launchpad.net/zeitgeist-extensions/trunk/${EXT_VER}/+download/zeitgeist-extensions-${EXT_VER}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="fts"
+
+RDEPEND="media-libs/raptor:2
+ dev-python/rdflib
+ dev-python/dbus-python"
+DEPEND="${RDEPEND}"
+
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-no-rdfpipe.patch
+ eautoreconf
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ if use fts; then
+ insinto /usr/share/zeitgeist/_zeitgeist/engine/extensions
+ doins "${WORKDIR}"/zeitgeist-extensions-0.0.6/fts/fts.py
+ fi
+}