commit:     cc545e02f46c9493b1b25d24111ce4852e26eb72
Author:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 13 21:40:55 2014 +0000
Commit:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
CommitDate: Mon Oct 13 21:47:44 2014 +0000
URL:        
http://sources.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=cc545e02

app-emulation/libvirt-glib: 0.1.8 → 0.1.9

Required by gnome-boxes-3.14

---
 ...-glib-9999.ebuild => libvirt-glib-0.1.9.ebuild} | 33 +++++++++++++---------
 .../libvirt-glib/libvirt-glib-9999.ebuild          |  7 +++--
 2 files changed, 25 insertions(+), 15 deletions(-)

diff --git a/app-emulation/libvirt-glib/libvirt-glib-9999.ebuild 
b/app-emulation/libvirt-glib/libvirt-glib-0.1.9.ebuild
similarity index 65%
copy from app-emulation/libvirt-glib/libvirt-glib-9999.ebuild
copy to app-emulation/libvirt-glib/libvirt-glib-0.1.9.ebuild
index abbf986..3b5db72 100644
--- a/app-emulation/libvirt-glib/libvirt-glib-9999.ebuild
+++ b/app-emulation/libvirt-glib/libvirt-glib-0.1.9.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
@@ -9,29 +9,27 @@ VALA_MIN_API_VERSION="0.14"
 PYTHON_COMPAT=( python{2_6,2_7} )
 
 inherit gnome2 python-single-r1 vala
-if [[ ${PV} = 9999 ]]; then
-       inherit gnome2-live
-fi
 
 DESCRIPTION="GLib and GObject mappings for libvirt"
 HOMEPAGE="http://libvirt.org/git/?p=libvirt-glib.git";
+SRC_URI="ftp://libvirt.org/libvirt/glib/${P}.tar.gz";
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-if [[ ${PV} = 9999 ]]; then
-       EGIT_REPO_URI="git://libvirt.org/${PN}.git"
-       KEYWORDS=""
-else
-       SRC_URI="ftp://libvirt.org/libvirt/glib/${P}.tar.gz";
-       KEYWORDS="~amd64 ~x86"
-fi
+KEYWORDS="~amd64 ~x86"
 IUSE="+introspection python +vala"
-REQUIRED_USE="vala? ( introspection )"
+REQUIRED_USE="
+       python? ( ${PYTHON_REQUIRED_USE} )
+       vala? ( introspection )
+"
+
+# https://bugzilla.redhat.com/show_bug.cgi?id=1093633
+RESTRICT="test"
 
 RDEPEND="
        dev-libs/libxml2:2
        >=app-emulation/libvirt-0.9.10:=
-       >=dev-libs/glib-2.10:2
+       >=dev-libs/glib-2.38.0:2
        introspection? ( >=dev-libs/gobject-introspection-0.10.8:= )
        python? ( ${PYTHON_DEPS} )
 "
@@ -54,3 +52,12 @@ src_configure() {
                $(use_enable vala) \
                $(use_with python)
 }
+
+src_compile() {
+       # https://bugzilla.redhat.com/show_bug.cgi?id=1093631
+       if use vala; then
+               MAKEOPTS="${MAKEOPTS} -j1" gnome2_src_compile
+       else
+               gnome2_src_compile
+       fi
+}

diff --git a/app-emulation/libvirt-glib/libvirt-glib-9999.ebuild 
b/app-emulation/libvirt-glib/libvirt-glib-9999.ebuild
index abbf986..a4c7d2d 100644
--- a/app-emulation/libvirt-glib/libvirt-glib-9999.ebuild
+++ b/app-emulation/libvirt-glib/libvirt-glib-9999.ebuild
@@ -26,12 +26,15 @@ else
        KEYWORDS="~amd64 ~x86"
 fi
 IUSE="+introspection python +vala"
-REQUIRED_USE="vala? ( introspection )"
+REQUIRED_USE="
+       python? ( ${PYTHON_REQUIRED_USE} )
+       vala? ( introspection )
+"
 
 RDEPEND="
        dev-libs/libxml2:2
        >=app-emulation/libvirt-0.9.10:=
-       >=dev-libs/glib-2.10:2
+       >=dev-libs/glib-2.38.0:2
        introspection? ( >=dev-libs/gobject-introspection-0.10.8:= )
        python? ( ${PYTHON_DEPS} )
 "

Reply via email to