diff options
Diffstat (limited to 'gnome-extra/synapse/synapse-0.2.10.ebuild')
-rw-r--r-- | gnome-extra/synapse/synapse-0.2.10.ebuild | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/gnome-extra/synapse/synapse-0.2.10.ebuild b/gnome-extra/synapse/synapse-0.2.10.ebuild new file mode 100644 index 000000000000..86137d12bede --- /dev/null +++ b/gnome-extra/synapse/synapse-0.2.10.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/synapse/synapse-0.2.10.ebuild,v 1.1 2012/03/19 08:04:07 jlec Exp $ + +EAPI=4 + +AUTOTOOLS_AUTORECONF=true + +inherit gnome2 autotools-utils gnome2-utils + +DESCRIPTION="A program launcher in the style of GNOME Do" +HOMEPAGE="http://launchpad.net/synapse-project/" +SRC_URI="http://launchpad.net/synapse-project/0.2/${PV}/+download/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="ayatana plugins +zeitgeist" + +RDEPEND=" + dev-lang/vala:0.14 + dev-libs/dbus-glib + dev-libs/libgee:0 + dev-libs/glib:2 + dev-libs/json-glib + dev-libs/libunique:1 + sys-apps/dbus + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/gtkhotkey + x11-libs/gtk+:2 + x11-libs/libnotify + x11-libs/pango + x11-themes/gnome-icon-theme + ayatana? ( dev-libs/libappindicator ) + plugins? ( net-libs/rest ) + zeitgeist? ( + dev-libs/libzeitgeist + gnome-extra/zeitgeist + gnome-extra/zeitgeist-extensions[fts] + )" +DEPEND="${RDEPEND} + dev-util/intltool + dev-util/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${PN}-0.2.8.2-underlinking.patch + "${FILESDIR}"/${PN}-0.2.8.2-zeitgeist.patch + ) + +pkg_preinst() { + gnome2_icon_savelist +} + +src_prepare() { + sed -i -e 's/GNOME/GNOME;GTK/' data/synapse.desktop.in + autotools-utils_src_prepare +} + +src_configure() { + local myeconfargs=( + $(use_enable ayatana indicator yes) + $(use_enable plugins librest yes) + $(use_enable zeitgeist) + VALAC="$(type -P valac-0.14)" + ) + autotools-utils_src_configure +} + +pkg_preinst() { + gnome2_pkg_preinst +} + +pkg_postinst() { + gnome2_pkg_postinst +} + +pkg_postrm() { + gnome2_pkg_postrm +} |