diff options
author | V3n3RiX <venerix@gmail.com> | 2014-12-02 02:13:48 +0200 |
---|---|---|
committer | V3n3RiX <venerix@gmail.com> | 2014-12-02 02:13:48 +0200 |
commit | 4518b8dbe0ce21be47f8eaa165746764fdb769ce (patch) | |
tree | 4b8b6d27df0970718e9d9e0fd43577d22143558a /x11-libs/libdesktop-agnostic/libdesktop-agnostic-0.3.94.ebuild | |
parent | d0bb85a9d04b090c8850155750b5775fba6ef32b (diff) |
bump libdesktop-agnostic to new upstream, this fixes AWN segfault
Diffstat (limited to 'x11-libs/libdesktop-agnostic/libdesktop-agnostic-0.3.94.ebuild')
-rw-r--r-- | x11-libs/libdesktop-agnostic/libdesktop-agnostic-0.3.94.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/x11-libs/libdesktop-agnostic/libdesktop-agnostic-0.3.94.ebuild b/x11-libs/libdesktop-agnostic/libdesktop-agnostic-0.3.94.ebuild new file mode 100644 index 00000000..81a50178 --- /dev/null +++ b/x11-libs/libdesktop-agnostic/libdesktop-agnostic-0.3.94.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 +PYTHON_DEPEND="2:2.7" +VALA_USE_DEPEND="vapigen" + +inherit python waf-utils vala + +DESCRIPTION="A desktop-agnostic library for GLib-based projects" +HOMEPAGE="https://github.com/p12tic/libdesktop-agnostic" +SRC_URI="https://github.com/p12tic/${PN}/archive/v${PV}.tar.gz" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="debug +gconf glade gnome +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? ( gnome-base/gnome-desktop:2 )" +DEPEND="${RDEPEND} + $(vala_depend) + dev-libs/gobject-introspection + introspection? ( x11-libs/gtk+:2[introspection] )" + +pkg_setup() { + python_set_active_version 2 + python_pkg_setup +} + +src_configure() { + local cfg="keyfile" fdo="glib" myconf="" + + use gconf && cfg="gconf,${cfg}" + use gnome && fdo="${fdo},gnome" + use debug && myconf="${myconf} --enable-debug" + use glade && myconf="${myconf} --enable-glade" + use introspection || myconf="${myconf} --disable-gi" + + waf-utils_src_configure \ + --sysconfdir="${EPREFIX}"/etc \ + --config-backends=${cfg} \ + --desktop-entry-backends=${fdo} \ + --vfs-backends=gio \ + ${myconf} +} |