Gentoo Archives: gentoo-commits

From: "Tiziano Mueller (dev-zero)" <dev-zero@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/spice-gtk: metadata.xml ChangeLog spice-gtk-0.6.ebuild
Date: Wed, 27 Apr 2011 14:17:19
Message-Id: 20110427141706.60A8520054@flycatcher.gentoo.org
1 dev-zero 11/04/27 14:17:06
2
3 Modified: metadata.xml ChangeLog
4 Added: spice-gtk-0.6.ebuild
5 Log:
6 Version bump, also solves bug #364201.
7
8 (Portage version: 2.1.9.46/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.2 net-misc/spice-gtk/metadata.xml
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/spice-gtk/metadata.xml?rev=1.2&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/spice-gtk/metadata.xml?rev=1.2&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/spice-gtk/metadata.xml?r1=1.1&r2=1.2
16
17 Index: metadata.xml
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-misc/spice-gtk/metadata.xml,v
20 retrieving revision 1.1
21 retrieving revision 1.2
22 diff -u -r1.1 -r1.2
23 --- metadata.xml 24 Feb 2011 13:46:09 -0000 1.1
24 +++ metadata.xml 27 Apr 2011 14:17:06 -0000 1.2
25 @@ -7,6 +7,7 @@
26 <name>Tiziano Müller</name>
27 </maintainer>
28 <use>
29 + <flag name="gtk3">Link against <pkg>x11-libs/gtk+:3</pkg> instead of <pkg>x11-libs/gtk+:2</pkg></flag>
30 <flag name="introspection">Use <pkg>dev-libs/gobject-introspection</pkg> for introspection</flag>
31 </use>
32 </pkgmetadata>
33
34
35
36 1.2 net-misc/spice-gtk/ChangeLog
37
38 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/spice-gtk/ChangeLog?rev=1.2&view=markup
39 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/spice-gtk/ChangeLog?rev=1.2&content-type=text/plain
40 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/spice-gtk/ChangeLog?r1=1.1&r2=1.2
41
42 Index: ChangeLog
43 ===================================================================
44 RCS file: /var/cvsroot/gentoo-x86/net-misc/spice-gtk/ChangeLog,v
45 retrieving revision 1.1
46 retrieving revision 1.2
47 diff -u -r1.1 -r1.2
48 --- ChangeLog 24 Feb 2011 13:46:09 -0000 1.1
49 +++ ChangeLog 27 Apr 2011 14:17:06 -0000 1.2
50 @@ -1,6 +1,12 @@
51 # ChangeLog for net-misc/spice-gtk
52 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
53 -# $Header: /var/cvsroot/gentoo-x86/net-misc/spice-gtk/ChangeLog,v 1.1 2011/02/24 13:46:09 dev-zero Exp $
54 +# $Header: /var/cvsroot/gentoo-x86/net-misc/spice-gtk/ChangeLog,v 1.2 2011/04/27 14:17:06 dev-zero Exp $
55 +
56 +*spice-gtk-0.6 (27 Apr 2011)
57 +
58 + 27 Apr 2011; Tiziano Müller <dev-zero@g.o> +spice-gtk-0.6.ebuild,
59 + metadata.xml:
60 + Version bump, also solves bug #364201.
61
62 *spice-gtk-0.5 (24 Feb 2011)
63
64
65
66
67 1.1 net-misc/spice-gtk/spice-gtk-0.6.ebuild
68
69 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/spice-gtk/spice-gtk-0.6.ebuild?rev=1.1&view=markup
70 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/spice-gtk/spice-gtk-0.6.ebuild?rev=1.1&content-type=text/plain
71
72 Index: spice-gtk-0.6.ebuild
73 ===================================================================
74 # Copyright 1999-2011 Gentoo Foundation
75 # Distributed under the terms of the GNU General Public License v2
76 # $Header: /var/cvsroot/gentoo-x86/net-misc/spice-gtk/spice-gtk-0.6.ebuild,v 1.1 2011/04/27 14:17:06 dev-zero Exp $
77
78 EAPI=3
79
80 inherit python gnome2-utils
81
82 PYTHON_DEPEND="python? 2"
83
84 DESCRIPTION="Set of GObject and Gtk objects for connecting to Spice servers and a client GUI."
85 HOMEPAGE="http://spice-space.org http://gitorious.org/spice-gtk"
86 SRC_URI="http://spice-space.org/download/gtk/${P}.tar.bz2"
87
88 LICENSE="LGPL-2.1"
89 SLOT="0"
90 KEYWORDS="~amd64"
91 IUSE="+cairo doc gnome gstreamer gtk3 introspection kde +pulseaudio python sasl static-libs"
92
93 RDEPEND="pulseaudio? ( !gstreamer? ( media-sound/pulseaudio ) )
94 gstreamer? ( media-libs/gstreamer )
95 >=app-emulation/spice-protocol-0.8.0-r1
96 >=x11-libs/pixman-0.17.7
97 >=media-libs/celt-0.5.1.1:0.5.1
98 dev-libs/openssl
99 gtk3? ( x11-libs/gtk+:3[introspection?] )
100 !gtk3? ( x11-libs/gtk+:2[introspection?] )
101 dev-libs/glib:2
102 >=x11-libs/cairo-1.2
103 virtual/jpeg
104 sys-libs/zlib
105 introspection? ( dev-libs/gobject-introspection )
106 python? ( dev-python/pygtk:2 )
107 sasl? ( dev-libs/cyrus-sasl )
108 gnome? ( gnome-base/gconf )"
109 DEPEND="${RDEPEND}
110 dev-lang/python
111 dev-lang/perl
112 dev-perl/Text-CSV
113 dev-python/pyparsing
114 dev-util/pkgconfig"
115
116 pkg_setup() {
117 if use gstreamer && use pulseaudio ; then
118 ewarn "spice-gtk can use only one audio backend: gstreamer will be used since you enabled both."
119 fi
120 }
121
122 src_configure() {
123 local audio="no"
124 local gtk="2.0"
125
126 use pulseaudio && audio="pulse"
127 use gstreamer && audio="gstreamer"
128 use gtk3 && gtk="3.0"
129
130 econf \
131 $(use_enable static-libs static) \
132 $(use_enable introspection) \
133 --with-audio="${audio}" \
134 $(use_with !cairo x11) \
135 $(use_with python) \
136 $(use_with sasl) \
137 --with-gtk="${gtk}"
138
139 }
140
141 src_install() {
142 emake -j1 DESTDIR="${D}" install || die "emake install failed"
143
144 use static-libs || rm -rf "${D}"/usr/lib*/*.la
145 use python && rm -rf "${D}"/usr/lib*/python*/site-packages/*.la
146 use doc || rm -rf "${D}/usr/share/gtk-doc"
147
148 dodoc AUTHORS NEWS README TODO
149
150 if use gnome ; then
151 insinto /etc/gconf/schemas
152 doins "${FILESDIR}/spice.schemas"
153 fi
154 if use kde ; then
155 insinto /usr/share/kde4/services
156 doins "${FILESDIR}/spice.protocol"
157 fi
158
159 }
160
161 pkg_preinst() {
162 use gnome && gnome2_gconf_savelist
163 }
164
165 pkg_postinst() {
166 use gnome && gnome2_gconf_install
167 }
168
169 pkg_prerm() {
170 use gnome && gnome2_gconf_uninstall
171 }