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
1 commit: 443c2446c349956ba193c0e98ff9e9a33da1b96c
2 Author: Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
3 AuthorDate: Tue Nov 8 09:47:51 2011 +0000
4 Commit: Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
5 CommitDate: Tue Nov 15 01:31:29 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=443c2446
7
8 Add new package app-emulation/libvirt-glib, will used by gnome-boxes
9
10 ---
11 .../libvirt-glib/libvirt-glib-9999.ebuild | 52 ++++++++++++++++++++
12 1 files changed, 52 insertions(+), 0 deletions(-)
13
14 diff --git a/app-emulation/libvirt-glib/libvirt-glib-9999.ebuild b/app-emulation/libvirt-glib/libvirt-glib-9999.ebuild
15 new file mode 100644
16 index 0000000..f164a9a
17 --- /dev/null
18 +++ b/app-emulation/libvirt-glib/libvirt-glib-9999.ebuild
19 @@ -0,0 +1,52 @@
20 +# Copyright 1999-2011 Gentoo Foundation
21 +# Distributed under the terms of the GNU General Public License v2
22 +# $Header: $
23 +
24 +EAPI="4"
25 +GCONF_DEBUG="no"
26 +GNOME2_LA_PUNT="yes"
27 +EGIT_REPO_URI="git://libvirt.org/libvirt-glib.git"
28 +
29 +inherit gnome2
30 +if [[ ${PV} = 9999 ]]; then
31 + inherit gnome2-live
32 +fi
33 +
34 +DESCRIPTION="GLib and GObject mappings for libvirt"
35 +HOMEPAGE="http://libvirt.org/git/?p=libvirt-glib.git"
36 +
37 +LICENSE="LGPL-2.1"
38 +SLOT="0"
39 +if [[ ${PV} = 9999 ]]; then
40 + KEYWORDS=""
41 +else
42 + KEYWORDS="~amd64 ~x86"
43 +fi
44 +IUSE="doc +introspection +vala"
45 +REQUIRED_USE="vala? ( introspection )"
46 +
47 +RDEPEND="
48 + dev-libs/libxml2:2
49 + >=app-emulation/libvirt-0.9.4
50 + >=dev-libs/glib-2.10:2
51 + introspection? ( >=dev-libs/gobject-introspection-0.10.8 )"
52 +DEPEND="${RDEPEND}
53 + dev-util/pkgconfig
54 + doc? ( >=dev-util/gtk-doc-1.10 )
55 + vala? ( dev-lang/vala:0.14 )"
56 +
57 +pkg_setup() {
58 + # NEWS, ChangeLog, are empty in git
59 + # README is empty
60 + DOCS="AUTHORS ChangeLog HACKING NEWS"
61 + # TODO: use_with python when python.eclass is fixed
62 + G2CONF="--disable-test-coverage
63 + --without-python
64 + VAPIGEN=$(type -P vapigen-0.14)
65 + $(use_enable introspection)
66 + $(use_enable vala)"
67 +}
68 +
69 +src_prepare() {
70 + gnome2_src_prepare
71 +}