diff options
author | Christoph Mende <angelos@gentoo.org> | 2011-03-13 21:28:45 +0000 |
---|---|---|
committer | Christoph Mende <angelos@gentoo.org> | 2011-03-13 21:28:45 +0000 |
commit | 9f58352706cb1917cc80ba2a7d6c8bcf8581b4c6 (patch) | |
tree | b588de38cd5c8e556b1d56d1ad7b4f51541be38b /x11-libs/libdesktop-agnostic/libdesktop-agnostic-0.3.92.ebuild | |
parent | tweak WORKDIR a bit more #358391 by Anthony Basile (diff) | |
download | gentoo-2-9f58352706cb1917cc80ba2a7d6c8bcf8581b4c6.tar.gz gentoo-2-9f58352706cb1917cc80ba2a7d6c8bcf8581b4c6.tar.bz2 gentoo-2-9f58352706cb1917cc80ba2a7d6c8bcf8581b4c6.zip |
Initial import
(Portage version: 2.2.0_alpha26/cvs/Linux x86_64)
Diffstat (limited to 'x11-libs/libdesktop-agnostic/libdesktop-agnostic-0.3.92.ebuild')
-rw-r--r-- | x11-libs/libdesktop-agnostic/libdesktop-agnostic-0.3.92.ebuild | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/x11-libs/libdesktop-agnostic/libdesktop-agnostic-0.3.92.ebuild b/x11-libs/libdesktop-agnostic/libdesktop-agnostic-0.3.92.ebuild new file mode 100644 index 000000000000..c0a5247693e1 --- /dev/null +++ b/x11-libs/libdesktop-agnostic/libdesktop-agnostic-0.3.92.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/libdesktop-agnostic/libdesktop-agnostic-0.3.92.ebuild,v 1.1 2011/03/13 21:28:45 angelos Exp $ + +EAPI=3 +PYTHON_DEPEND="2" +inherit python waf-utils + +DESCRIPTION="A desktop-agnostic library for GLib-based projects" +HOMEPAGE="https://launchpad.net/libdesktop-agnostic" +SRC_URI="http://launchpad.net/${PN}/0.4/${PV}/+download/${P}.tar.gz" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug +gconf glade gnome gnome-vfs introspection" + +RDEPEND="dev-libs/glib:2 + dev-python/pygobject:2 + dev-python/pygtk:2 + x11-libs/gtk+:2 + gconf? ( gnome-base/gconf:2 ) + glade? ( gnome-base/libglade:2.0 ) + gnome-vfs? ( gnome-base/gnome-vfs:2 ) + gnome? ( gnome-base/gnome-desktop:2 )" +DEPEND="${RDEPEND} + dev-lang/vala:0.10[vapigen] + introspection? ( dev-libs/gobject-introspection + x11-libs/gtk+:2[introspection] )" + +pkg_setup() { + python_set_active_version 2 +} + +src_configure() { + local cfg="keyfile" fdo="glib" vfs="gio" myconf="" + + use gconf && cfg="gconf,${cfg}" + use gnome && fdo="${fdo},gnome" + use gnome-vfs && vfs="${vfs},gnome-vfs" + use debug && myconf="${myconf} --enable-debug" + use glade && myconf="${myconf} --enable-glade" + use introspection || myconf="${myconf} --disable-gi" + + VALAC=$(type -p valac-0.10) \ + waf-utils_src_configure \ + --sysconfdir="${EPREFIX}"/etc \ + --config-backends=${cfg} \ + --desktop-entry-backends=${fdo} \ + --vfs-backends=${vfs} \ + ${myconf} +} |