Gentoo Archives: gentoo-commits

From: Gilles Dartiguelongue <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: gnome-extra/gnome-boxes/
Date: Mon, 04 Mar 2013 23:08:23
Message-Id: 1362438472.5484123182e003417fa2e32aa32014869e7ab055.eva@gentoo
1 commit: 5484123182e003417fa2e32aa32014869e7ab055
2 Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
3 AuthorDate: Mon Mar 4 23:07:52 2013 +0000
4 Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 4 23:07:52 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=54841231
7
8 gnome-extra/gnome-boxes: update ebuild with Cardoe's help
9
10 ---
11 gnome-extra/gnome-boxes/gnome-boxes-9999.ebuild | 31 ++++++++++++++--------
12 1 files changed, 20 insertions(+), 11 deletions(-)
13
14 diff --git a/gnome-extra/gnome-boxes/gnome-boxes-9999.ebuild b/gnome-extra/gnome-boxes/gnome-boxes-9999.ebuild
15 index 5b4ee8d..92728c0 100644
16 --- a/gnome-extra/gnome-boxes/gnome-boxes-9999.ebuild
17 +++ b/gnome-extra/gnome-boxes/gnome-boxes-9999.ebuild
18 @@ -2,7 +2,7 @@
19 # Distributed under the terms of the GNU General Public License v2
20 # $Header: $
21
22 -EAPI="4"
23 +EAPI="5"
24 GCONF_DEBUG="no"
25
26 inherit linux-info gnome2
27 @@ -15,7 +15,7 @@ HOMEPAGE="https://live.gnome.org/Design/Apps/Boxes"
28
29 LICENSE="LGPL-2"
30 SLOT="0"
31 -IUSE="bindist"
32 +IUSE="bindist smartcard usbredir"
33 if [[ ${PV} = 9999 ]]; then
34 KEYWORDS=""
35 else
36 @@ -29,13 +29,14 @@ RDEPEND="
37 >=dev-libs/glib-2.29.90:2
38 >=dev-libs/gobject-introspection-0.9.6
39 >=sys-libs/libosinfo-0.2.1
40 - app-emulation/qemu[spice]
41 + >=app-emulation/qemu-1.3.1[spice,smartcard?,usbredir?]
42 >=app-emulation/libvirt-0.9.3[libvirtd,qemu]
43 >=app-emulation/libvirt-glib-0.1.2
44 >=x11-libs/gtk+-3.5.5:3
45 >=net-libs/gtk-vnc-0.4.4[gtk3]
46 - >=net-misc/spice-gtk-0.12.101[gtk3]
47 - >=app-misc/tracker-0.14[iso]
48 + >=net-misc/spice-gtk-0.16[gtk3,smartcard?,usbredir?]
49 +
50 + >=app-misc/tracker-0.14:0=[iso]
51
52 >=media-libs/clutter-gtk-1.3.2:1.0
53 >=media-libs/clutter-1.11.14:1.0
54 @@ -71,15 +72,23 @@ pkg_pretend() {
55 fi
56 }
57
58 +src_prepare() {
59 + # Do not change CFLAGS, wondering about VALA ones but appears to be
60 + # needed as noted in configure comments below
61 + sed 's/CFLAGS="$CFLAGS -O0 -ggdb3"' -i configure.ac || die
62 + gnome2_src_configure
63 +}
64 +
65 src_configure() {
66 DOCS="AUTHORS README NEWS THANKS TODO"
67 - G2CONF="${G2CONF}
68 - --disable-schemas-compile
69 - --disable-strict-cc
70 - VALAC=$(type -P valac-0.18)
71 + # debug needed for splitdebug proper behavior (cardoe)
72 + gnome2_src_configure \
73 + --enable-debug \
74 + --disable-strict-cc \
75 + $(use_enable usbredir) \
76 + $(use_enable smartcard) \
77 + VALAC=$(type -P valac-0.18) \
78 VAPIGEN=$(type -P vapigen-0.18)
79 - "
80 - gnome2_src_configure
81 }
82
83 pkg_postinst() {