diff options
author | 2011-03-12 22:24:10 +0100 | |
---|---|---|
committer | 2011-03-12 22:24:10 +0100 | |
commit | 25f302c48a254cef311c5b51a24cb89ef5beb43b (patch) | |
tree | 77d410738ac45ec03490a00b8d8459b59ac75f01 /x11-libs | |
parent | easy-slow-down-manager: Fix building against a kernel other than the running (diff) | |
download | angelos-25f302c48a254cef311c5b51a24cb89ef5beb43b.tar.gz angelos-25f302c48a254cef311c5b51a24cb89ef5beb43b.tar.bz2 angelos-25f302c48a254cef311c5b51a24cb89ef5beb43b.zip |
libdesktop-agnostic: Initial import
Diffstat (limited to 'x11-libs')
-rw-r--r-- | x11-libs/libdesktop-agnostic/Manifest | 2 | ||||
-rw-r--r-- | x11-libs/libdesktop-agnostic/libdesktop-agnostic-9999.ebuild | 51 | ||||
-rw-r--r-- | x11-libs/libdesktop-agnostic/metadata.xml | 10 |
3 files changed, 63 insertions, 0 deletions
diff --git a/x11-libs/libdesktop-agnostic/Manifest b/x11-libs/libdesktop-agnostic/Manifest new file mode 100644 index 0000000..9e499b0 --- /dev/null +++ b/x11-libs/libdesktop-agnostic/Manifest @@ -0,0 +1,2 @@ +EBUILD libdesktop-agnostic-9999.ebuild 1310 RMD160 8dc286f86e39223c2572c80036b8e51de3cd5f77 SHA1 6d322f40c4d0ddb94c21dfb97f3e822a26505731 SHA256 135ecfa6d5b473306c0e9289b5659fdaebf19c115fe8d81934f8def2b1f1eea2 +MISC metadata.xml 464 RMD160 03c6a79c8cf1b492ea5ad1b7dd0c5f5fd0895584 SHA1 eed47f2b0f99fbc647445dc3e943c96c0f749c78 SHA256 a47bd87336a373512a2199296be21787def01b8957b54c8381b028e4ae13be8b diff --git a/x11-libs/libdesktop-agnostic/libdesktop-agnostic-9999.ebuild b/x11-libs/libdesktop-agnostic/libdesktop-agnostic-9999.ebuild new file mode 100644 index 0000000..b8edff5 --- /dev/null +++ b/x11-libs/libdesktop-agnostic/libdesktop-agnostic-9999.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3 +inherit bzr waf-utils + +DESCRIPTION="A desktop-agnostic library for GLib-based projects" +HOMEPAGE="https://launchpad.net/libdesktop-agnostic" +EBZR_REPO_URI="lp:libdesktop-agnostic" + +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 + introspection? ( + dev-libs/gobject-introspection + x11-libs/gtk+:2[introspection] )" + +src_unpack() { + bzr_src_unpack +} + +src_configure() { + local cfg="keyfile" fdo="glib" vfs="gio" myconf="" + + use gconf && cfg="gconf,${cfg}" + use gnome-vfs && vfs="${vfs},gnome-vfs" + use gnome && fdo="${fdo},gnome" + 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 \ + --config-backends=${cfg} \ + --desktop-entry-backends=${fdo} \ + --vfs-backends=${vfs} \ + ${myconf} +} diff --git a/x11-libs/libdesktop-agnostic/metadata.xml b/x11-libs/libdesktop-agnostic/metadata.xml new file mode 100644 index 0000000..eab9b3d --- /dev/null +++ b/x11-libs/libdesktop-agnostic/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <use> + <flag name="gconf">Enable GConf as configuration backend</flag> + <flag name="glade">Install the Glade catalog for the desktop-agnotstic GTK widgets.</flag> + <flag name="gnome-vfs">Enable gnome-vfs as VFS backend</flag> + <flag name="introspection">Use dev-libs/gobject-introspection for introspection</flag> + </use> +</pkgmetadata> |