diff options
author | Justin Lecher <jlec@gentoo.org> | 2012-02-01 10:43:35 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2012-02-01 10:43:35 +0000 |
commit | 18b852b332f878438da9cd6b3a71e6d68bcbb51c (patch) | |
tree | 30db1995e915a1d9897a8fa9d2137582be35a01f /gnome-extra/zeitgeist-datasources | |
parent | ppc/ppc64 stable wrt #396965 (diff) | |
download | gentoo-2-18b852b332f878438da9cd6b3a71e6d68bcbb51c.tar.gz gentoo-2-18b852b332f878438da9cd6b3a71e6d68bcbb51c.tar.bz2 gentoo-2-18b852b332f878438da9cd6b3a71e6d68bcbb51c.zip |
Initial addition, written by me with code provided by thansen
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Diffstat (limited to 'gnome-extra/zeitgeist-datasources')
-rw-r--r-- | gnome-extra/zeitgeist-datasources/ChangeLog | 10 | ||||
-rw-r--r-- | gnome-extra/zeitgeist-datasources/Manifest | 4 | ||||
-rw-r--r-- | gnome-extra/zeitgeist-datasources/metadata.xml | 22 | ||||
-rw-r--r-- | gnome-extra/zeitgeist-datasources/zeitgeist-datasources-0.8.0.1.ebuild | 119 |
4 files changed, 155 insertions, 0 deletions
diff --git a/gnome-extra/zeitgeist-datasources/ChangeLog b/gnome-extra/zeitgeist-datasources/ChangeLog new file mode 100644 index 000000000000..36beeca4919d --- /dev/null +++ b/gnome-extra/zeitgeist-datasources/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for gnome-extra/zeitgeist-datasources +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/zeitgeist-datasources/ChangeLog,v 1.1 2012/02/01 10:43:35 jlec Exp $ + +*zeitgeist-datasources-0.8.0.1 (01 Feb 2012) + + 01 Feb 2012; Justin Lecher <jlec@gentoo.org> + +zeitgeist-datasources-0.8.0.1.ebuild, +metadata.xml: + Initial addition, written by me with code provided by thansen + diff --git a/gnome-extra/zeitgeist-datasources/Manifest b/gnome-extra/zeitgeist-datasources/Manifest new file mode 100644 index 000000000000..93bcbce746fc --- /dev/null +++ b/gnome-extra/zeitgeist-datasources/Manifest @@ -0,0 +1,4 @@ +DIST zeitgeist-datasources-0.8.0.1.tar.gz 484167 RMD160 6438c951831659f31e82abc89d7970b446d99a03 SHA1 88392b2233932bee38623620ba9abf1e63bc61bb SHA256 e4530834ef0493dc0361d9d9fec17f72f646429866e0eecd9d2b59b8c6d7a042 +EBUILD zeitgeist-datasources-0.8.0.1.ebuild 3067 RMD160 5aa5a4d2fedfccb2061a842a2deb57484a2a2138 SHA1 1c868870acc873a471fa8acff2f2c0a5769cb561 SHA256 6260fdd3f5a7b2ccd0158cefab93a421122a1f48e8081a127935ea950705884d +MISC ChangeLog 348 RMD160 116522ed4051b4db166da731a670a91d5b6fde86 SHA1 caf42409096df38c136fe4eebd2e401e8062f4f0 SHA256 462157e5241dddaeb61653a33a51c1624e4e0e65d0ba6fe76036b3c2f78fc334 +MISC metadata.xml 1370 RMD160 a301c0e64a6e8d33f6952ea4f0070068177b5abe SHA1 bd70aa464b8f1d03fd26fd11671adcd2144dee49 SHA256 c697090323d7f81cfc5f2bbfb18b15096f8eff25056fc7c90593b9acf6e847e4 diff --git a/gnome-extra/zeitgeist-datasources/metadata.xml b/gnome-extra/zeitgeist-datasources/metadata.xml new file mode 100644 index 000000000000..bf388767be6b --- /dev/null +++ b/gnome-extra/zeitgeist-datasources/metadata.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>jlec@gentoo.org</email> + </maintainer> + <use> + <flag name="bzr">Zeitgeist plugin for <pkg>dev-vcs/bzr</pkg> as data source</flag> + <flag name="chromium">Zeitgeist plugin for <pkg>www-client/chromium</pkg> as data source</flag> + <flag name="eog">Zeitgeist plugin for <pkg>media-gfx/eog</pkg> as data source</flag> + <flag name="geany">Zeitgeist plugin for <pkg>dev-util/geany</pkg> as data source</flag> + <flag name="gedit">Zeitgeist plugin for <pkg>app-editors/gedit</pkg> as data source</flag> + <flag name="vim">Zeitgeist plugin for vim as data source</flag> + <flag name="emacs">Zeitgeist plugin for emacs as data source</flag> + <flag name="tomboy">Zeitgeist plugin for <pkg>app-misc/tomboy</pkg> as data source</flag> + <flag name="telepathy">Zeitgeist plugin for telepathy framework as data source</flag> + <flag name="xchat">Zeitgeist plugin for <pkg>net-irc/xchat-gnome</pkg> as data source</flag> + <flag name="rhythmbox">Zeitgeist plugin for <pkg>media-sound/rhythmbox</pkg> as data source</flag> + <flag name="firefox">Zeitgeist plugin for <pkg>www-client/firefox</pkg> as data source</flag> + <flag name="totem">Zeitgeist plugin for <pkg>media-video/totem</pkg> as data source</flag> + </use> +</pkgmetadata> diff --git a/gnome-extra/zeitgeist-datasources/zeitgeist-datasources-0.8.0.1.ebuild b/gnome-extra/zeitgeist-datasources/zeitgeist-datasources-0.8.0.1.ebuild new file mode 100644 index 000000000000..ea3eecebb7dd --- /dev/null +++ b/gnome-extra/zeitgeist-datasources/zeitgeist-datasources-0.8.0.1.ebuild @@ -0,0 +1,119 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/zeitgeist-datasources/zeitgeist-datasources-0.8.0.1.ebuild,v 1.1 2012/02/01 10:43:35 jlec Exp $ + +EAPI=4 + +AUTOTOOLS_AUTORECONF=true + +inherit autotools-utils eutils mono python versionator + +DIR_PV=$(get_version_component_range 1-2) +DIR_PV2=$(get_version_component_range 1-3) + +DESCRIPTION="Plugins whose work is to push activities as events into Zeitgeist daemon" +HOMEPAGE="https://launchpad.net/zeitgeist-datasources/ http://zeitgeist-project.com/" +SRC_URI="http://launchpad.net/zeitgeist-datasources/${DIR_PV}/${DIR_PV2}/+download/${P}.tar.gz" + +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +LICENSE="GPL-3" +PLUGINS_IUSE="bzr chromium eog geany gedit vim emacs tomboy telepathy xchat rhythmbox firefox totem" +IUSE="${PLUGINS_IUSE} static-libs" + +RDEPEND=" + dev-libs/libzeitgeist + gnome-extra/zeitgeist + x11-libs/gtk+:2 + chromium? ( www-client/chromium ) + eog? ( media-gfx/eog[python] ) + geany? ( dev-util/geany ) + gedit? ( <app-editors/gedit-3[python] ) + vim? ( app-editors/vim ) + emacs? ( virtual/emacs ) + tomboy? ( + app-misc/tomboy + dev-dotnet/gtk-sharp + dev-dotnet/mono-addins + dev-dotnet/zeitgeist-sharp + dev-python/dbus-python ) + telepathy? ( + dev-python/telepathy-python + dev-python/dbus-python + dev-python/pygobject ) + xchat? ( net-irc/xchat-gnome ) + rhythmbox? ( media-sound/rhythmbox ) + firefox? ( + || ( >=www-client/firefox-4.0 >=www-client/firefox-bin-4.0 ) + net-libs/xulrunner ) + totem? ( media-video/totem )" +DEPEND="${RDEPEND} + dev-lang/vala:0.14" + +PLUGINS="bzr chrome eog geany gedit vim emacs tomboy telepathy xchat rhythmbox firefox-40-libzg totem-libzg" + +src_prepare() { + sed \ + -e '/^allowed_plugin/s:^:#:g' \ + -i configure.ac || die + + SEARCH='$(datadir)/opt/google/chrome/resources' + REPLACE="/usr/$(get_libdir)/chromium-browser/resources" + sed \ + -e "s:${SEARCH}:${REPLACE}:" \ + -i chrome/Makefile.* || die + sed \ + -e 's:vim72:vimfiles:' \ + -i vim/Makefile.* || die + sed \ + -e "s:/xchat/:/xchat-gnome/:g" \ + -i xchat/Makefile.* || die + autotools-utils_src_prepare +} + +src_configure() { + export VALAC=$(type -p valac-0.14) + + local i myplugins + + for i in ${PLUGINS}; do + case ${i} in + chrome ) + use chromium && myplugins+=( ${i} ) + ;; + firefox-40-libzg ) + use firefox && myplugins+=( ${i} ) + ;; + totem-libzg ) + use totem && myplugins+=( ${i} ) + ;; + * ) + use ${i} && myplugins+=( ${i} ) + ;; + esac + done + + local myeconfargs=( + allowed_plugins="${myplugins[@]}" + ) + autotools-utils_src_configure +} + +src_install() { + autotools-utils_src_install + find "${ED}" -name "*.la" -delete || die +} + +pkg_postinst() { + if use chromium; then + elog "to use the chromium plugin you must open chromium" + elog "then click the wrench -> tools -> extensions" + elog "expand the \"Developer mode\" section" + elog "and click the \"Load unpacked extension...\" button" + elog "then browse to..." + elog "\t/usr/$(get_libdir)/chromium-browser/resources/zeitgeist_plugin/" + elog "" + elog "More info available here" + elog "http://code.google.com/chrome/extensions/packaging.html" + fi +} |