Gentoo Archives: gentoo-commits

From: Nirbheek Chauhan <nirbheek@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: app-emulation/libvirt-glib/
Date: Tue, 15 Nov 2011 01:32:11
Message-Id: 443c2446c349956ba193c0e98ff9e9a33da1b96c.nirbheek@gentoo
commit:     443c2446c349956ba193c0e98ff9e9a33da1b96c
Author:     Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
AuthorDate: Tue Nov  8 09:47:51 2011 +0000
Commit:     Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
CommitDate: Tue Nov 15 01:31:29 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=443c2446

Add new package app-emulation/libvirt-glib, will used by gnome-boxes

---
 .../libvirt-glib/libvirt-glib-9999.ebuild          |   52 ++++++++++++++++++++
 1 files changed, 52 insertions(+), 0 deletions(-)

diff --git a/app-emulation/libvirt-glib/libvirt-glib-9999.ebuild b/app-emulation/libvirt-glib/libvirt-glib-9999.ebuild
new file mode 100644
index 0000000..f164a9a
--- /dev/null
+++ b/app-emulation/libvirt-glib/libvirt-glib-9999.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+GCONF_DEBUG="no"
+GNOME2_LA_PUNT="yes"
+EGIT_REPO_URI="git://libvirt.org/libvirt-glib.git"
+
+inherit gnome2
+if [[ ${PV} = 9999 ]]; then
+	inherit gnome2-live
+fi
+
+DESCRIPTION="GLib and GObject mappings for libvirt"
+HOMEPAGE="http://libvirt.org/git/?p=libvirt-glib.git"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+if [[ ${PV} = 9999 ]]; then
+	KEYWORDS=""
+else
+	KEYWORDS="~amd64 ~x86"
+fi
+IUSE="doc +introspection +vala"
+REQUIRED_USE="vala? ( introspection )"
+
+RDEPEND="
+	dev-libs/libxml2:2
+	>=app-emulation/libvirt-0.9.4
+	>=dev-libs/glib-2.10:2
+	introspection? ( >=dev-libs/gobject-introspection-0.10.8 )"
+DEPEND="${RDEPEND}
+	dev-util/pkgconfig
+	doc? ( >=dev-util/gtk-doc-1.10 )
+	vala? ( dev-lang/vala:0.14 )"
+
+pkg_setup() {
+	# NEWS, ChangeLog, are empty in git
+	# README is empty
+	DOCS="AUTHORS ChangeLog HACKING NEWS"
+	# TODO: use_with python when python.eclass is fixed
+	G2CONF="--disable-test-coverage
+		--without-python
+		VAPIGEN=$(type -P vapigen-0.14)
+		$(use_enable introspection)
+		$(use_enable vala)"
+}
+
+src_prepare() {
+	gnome2_src_prepare
+}