Gentoo Archives: gentoo-commits

From: Nirbheek Chauhan <nirbheek@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: sys-libs/libosinfo/
Date: Tue, 15 Nov 2011 01:32:21
Message-Id: 33758632f698ae04953c1d74a02d6e91eee3e57f.nirbheek@gentoo
commit:     33758632f698ae04953c1d74a02d6e91eee3e57f
Author:     Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
AuthorDate: Mon Nov  7 04:48:30 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=33758632

Add a new package sys-libs/libosinfo, will be used by gnome-boxes

---
 sys-libs/libosinfo/libosinfo-0.0.1.ebuild |   49 +++++++++++++++++++++++++++++
 sys-libs/libosinfo/libosinfo-9999.ebuild  |   49 +++++++++++++++++++++++++++++
 2 files changed, 98 insertions(+), 0 deletions(-)

diff --git a/sys-libs/libosinfo/libosinfo-0.0.1.ebuild b/sys-libs/libosinfo/libosinfo-0.0.1.ebuild
new file mode 100644
index 0000000..e08a11e
--- /dev/null
+++ b/sys-libs/libosinfo/libosinfo-0.0.1.ebuild
@@ -0,0 +1,49 @@
+# 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"
+
+inherit gnome2
+if [[ ${PV} = 9999 ]]; then
+	inherit gnome2-live
+fi
+
+DESCRIPTION="GObject library for managing information about real and virtual OSes"
+HOMEPAGE="https://fedorahosted.org/libosinfo/"
+
+LICENSE="GPL-2"
+SLOT="0"
+if [[ ${PV} = 9999 ]]; then
+	EGIT_REPO_URI="git://git.fedorahosted.org/${PN}.git"
+	KEYWORDS=""
+else
+	SRC_URI="https://fedorahosted.org/releases/l/i/${PN}/${P}.tar.gz"
+	KEYWORDS="~amd64 ~x86"
+fi
+IUSE="doc +introspection +vala test"
+REQUIRED_USE="vala? ( introspection )"
+
+RDEPEND="
+	dev-libs/glib:2
+	>=dev-libs/libxml2-2.6.0:2
+	introspection? ( >=dev-libs/gobject-introspection-0.9.0 )"
+DEPEND="${RDEPEND}
+	dev-util/pkgconfig
+	doc? ( >=dev-util/gtk-doc-1.10 )
+	introspection? ( dev-libs/check )
+	vala? ( dev-lang/vala:0.14 )"
+
+pkg_setup() {
+	# --enable-udev only installs udev rules
+	G2CONF="--disable-coverage
+		--disable-static
+		--enable-udev
+		--with-udev-rulesdir=/lib/udev/rules.d
+		VAPIGEN=$(type -P vapigen-0.14)
+		$(use_enable introspection)
+		$(use_enable test tests)
+		$(use_enable vala)"
+}

diff --git a/sys-libs/libosinfo/libosinfo-9999.ebuild b/sys-libs/libosinfo/libosinfo-9999.ebuild
new file mode 100644
index 0000000..e08a11e
--- /dev/null
+++ b/sys-libs/libosinfo/libosinfo-9999.ebuild
@@ -0,0 +1,49 @@
+# 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"
+
+inherit gnome2
+if [[ ${PV} = 9999 ]]; then
+	inherit gnome2-live
+fi
+
+DESCRIPTION="GObject library for managing information about real and virtual OSes"
+HOMEPAGE="https://fedorahosted.org/libosinfo/"
+
+LICENSE="GPL-2"
+SLOT="0"
+if [[ ${PV} = 9999 ]]; then
+	EGIT_REPO_URI="git://git.fedorahosted.org/${PN}.git"
+	KEYWORDS=""
+else
+	SRC_URI="https://fedorahosted.org/releases/l/i/${PN}/${P}.tar.gz"
+	KEYWORDS="~amd64 ~x86"
+fi
+IUSE="doc +introspection +vala test"
+REQUIRED_USE="vala? ( introspection )"
+
+RDEPEND="
+	dev-libs/glib:2
+	>=dev-libs/libxml2-2.6.0:2
+	introspection? ( >=dev-libs/gobject-introspection-0.9.0 )"
+DEPEND="${RDEPEND}
+	dev-util/pkgconfig
+	doc? ( >=dev-util/gtk-doc-1.10 )
+	introspection? ( dev-libs/check )
+	vala? ( dev-lang/vala:0.14 )"
+
+pkg_setup() {
+	# --enable-udev only installs udev rules
+	G2CONF="--disable-coverage
+		--disable-static
+		--enable-udev
+		--with-udev-rulesdir=/lib/udev/rules.d
+		VAPIGEN=$(type -P vapigen-0.14)
+		$(use_enable introspection)
+		$(use_enable test tests)
+		$(use_enable vala)"
+}