summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Cristian B. <steven.darklight@gmail.com>2014-12-02 02:17:56 +0200
committerStefan Cristian B. <steven.darklight@gmail.com>2014-12-02 02:17:56 +0200
commitf71bb82d9f97c2d09b4e5df7b91bb0cc3147c955 (patch)
treece4c00ca31c00d725e1486f5461f206626ccce8a
parent9bd31d97b0655517c68ec81236108b62f11cbba0 (diff)
parent4c54de12191ac78d8085c880afd7c699b3255fe3 (diff)
Merge pull request #11 from V3n3RiX/master
bump libdesktop-agnostic to new upstream, this fixes AWN segfault
-rw-r--r--x11-libs/libdesktop-agnostic/Manifest1
-rw-r--r--x11-libs/libdesktop-agnostic/libdesktop-agnostic-0.3.94.ebuild51
2 files changed, 52 insertions, 0 deletions
diff --git a/x11-libs/libdesktop-agnostic/Manifest b/x11-libs/libdesktop-agnostic/Manifest
new file mode 100644
index 00000000..8cd14af9
--- /dev/null
+++ b/x11-libs/libdesktop-agnostic/Manifest
@@ -0,0 +1 @@
+DIST v0.3.94.tar.gz 194967 SHA256 c042cc16e47d638892d24485433b0029710cbe3e3e44f6f0920cfa17a67f2159 SHA512 be7467fff9fb66a1b63d4bffa06ba60634779f7f50199904892ab9cd6b756b1c2e14db7a32b230fd22e0009c1039b8a0c651e75fe5b868b6cea81f8e13c32766 WHIRLPOOL 8fc62377288aa06ed80908e977d3801a16719f933294e224ea955a0a737feb4f27eab53556e8c62903b8b5cc1c1bc7d638ebf0e89efa59bd5665dcb04cca7759
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}
+}