1 |
jlec 13/06/30 17:56:00 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: spice-gtk-0.18-r1.ebuild |
5 |
Log: |
6 |
net-misc/spice-gtk: Bump to new python eclass |
7 |
|
8 |
(Portage version: 2.2.0_alpha186/cvs/Linux x86_64, signed Manifest commit with key 8009D6F070EB7916) |
9 |
|
10 |
Revision Changes Path |
11 |
1.59 net-misc/spice-gtk/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/spice-gtk/ChangeLog?rev=1.59&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/spice-gtk/ChangeLog?rev=1.59&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/spice-gtk/ChangeLog?r1=1.58&r2=1.59 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/spice-gtk/ChangeLog,v |
20 |
retrieving revision 1.58 |
21 |
retrieving revision 1.59 |
22 |
diff -u -r1.58 -r1.59 |
23 |
--- ChangeLog 12 May 2013 12:14:10 -0000 1.58 |
24 |
+++ ChangeLog 30 Jun 2013 17:56:00 -0000 1.59 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for net-misc/spice-gtk |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/spice-gtk/ChangeLog,v 1.58 2013/05/12 12:14:10 pacho Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/spice-gtk/ChangeLog,v 1.59 2013/06/30 17:56:00 jlec Exp $ |
30 |
+ |
31 |
+*spice-gtk-0.18-r1 (30 Jun 2013) |
32 |
+ |
33 |
+ 30 Jun 2013; Justin Lecher <jlec@g.o> +spice-gtk-0.18-r1.ebuild: |
34 |
+ Bump to new python eclass |
35 |
|
36 |
12 May 2013; Pacho Ramos <pacho@g.o> spice-gtk-0.18.ebuild: |
37 |
Use vala.eclass (#467400) |
38 |
|
39 |
|
40 |
|
41 |
1.1 net-misc/spice-gtk/spice-gtk-0.18-r1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/spice-gtk/spice-gtk-0.18-r1.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/spice-gtk/spice-gtk-0.18-r1.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: spice-gtk-0.18-r1.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2013 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/spice-gtk/spice-gtk-0.18-r1.ebuild,v 1.1 2013/06/30 17:56:00 jlec Exp $ |
51 |
|
52 |
EAPI=5 |
53 |
GCONF_DEBUG="no" |
54 |
WANT_AUTOMAKE="1.12" |
55 |
VALA_MIN_API_VERSION="0.14" |
56 |
VALA_USE_DEPEND="vapigen" |
57 |
|
58 |
PYTHON_COMPAT=( python{2_6,2_7} ) |
59 |
|
60 |
inherit autotools eutils python-single-r1 vala |
61 |
|
62 |
PYTHON_DEPEND="2" |
63 |
|
64 |
DESCRIPTION="Set of GObject and Gtk objects for connecting to Spice servers and a client GUI." |
65 |
HOMEPAGE="http://spice-space.org http://gitorious.org/spice-gtk" |
66 |
|
67 |
LICENSE="LGPL-2.1" |
68 |
SLOT="0" |
69 |
SRC_URI="http://spice-space.org/download/gtk/${P}.tar.bz2" |
70 |
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
71 |
IUSE="dbus doc gstreamer gtk3 +introspection policykit pulseaudio |
72 |
python sasl smartcard static-libs usbredir vala" |
73 |
|
74 |
REQUIRED_USE=" |
75 |
${PYTHON_REQUIRED_USE} |
76 |
?? ( pulseaudio gstreamer )" |
77 |
|
78 |
# TODO: |
79 |
# * check if sys-freebsd/freebsd-lib (from virtual/acl) provides acl/libacl.h |
80 |
# * use external pnp.ids as soon as that means not pulling in gnome-desktop |
81 |
RDEPEND="${PYTHON_DEPS} |
82 |
pulseaudio? ( media-sound/pulseaudio[glib] ) |
83 |
gstreamer? ( |
84 |
media-libs/gstreamer:0.10 |
85 |
media-libs/gst-plugins-base:0.10 ) |
86 |
>=x11-libs/pixman-0.17.7 |
87 |
>=media-libs/celt-0.5.1.1:0.5.1 |
88 |
dev-libs/openssl |
89 |
gtk3? ( x11-libs/gtk+:3[introspection?] ) |
90 |
x11-libs/gtk+:2[introspection?] |
91 |
>=dev-libs/glib-2.26:2 |
92 |
>=x11-libs/cairo-1.2 |
93 |
virtual/jpeg |
94 |
sys-libs/zlib |
95 |
dbus? ( dev-libs/dbus-glib ) |
96 |
introspection? ( dev-libs/gobject-introspection ) |
97 |
python? ( dev-python/pygtk:2 ) |
98 |
sasl? ( dev-libs/cyrus-sasl ) |
99 |
smartcard? ( app-emulation/libcacard ) |
100 |
usbredir? ( |
101 |
sys-apps/hwids |
102 |
>=sys-apps/usbredir-0.4.2 |
103 |
virtual/libusb:1 |
104 |
virtual/udev[gudev] |
105 |
policykit? ( |
106 |
sys-apps/acl |
107 |
>=sys-auth/polkit-0.101 ) |
108 |
)" |
109 |
DEPEND="${RDEPEND} |
110 |
>=app-emulation/spice-protocol-0.10.1 |
111 |
dev-lang/python |
112 |
virtual/pyparsing |
113 |
dev-perl/Text-CSV |
114 |
>=dev-util/intltool-0.40.0 |
115 |
>=sys-devel/gettext-0.17 |
116 |
virtual/pkgconfig |
117 |
vala? ( $(vala_depend) )" |
118 |
|
119 |
# Hard-deps while building from git: |
120 |
# dev-lang/vala:0.14 |
121 |
# dev-lang/perl |
122 |
|
123 |
GTK2_BUILDDIR="${WORKDIR}/${P}_gtk2" |
124 |
GTK3_BUILDDIR="${WORKDIR}/${P}_gtk3" |
125 |
|
126 |
src_prepare() { |
127 |
use vala && vala_src_prepare |
128 |
mkdir ${GTK2_BUILDDIR} || die |
129 |
mkdir ${GTK3_BUILDDIR} || die |
130 |
|
131 |
epatch \ |
132 |
"${FILESDIR}/0.12-parallel-install.patch" |
133 |
eautoreconf |
134 |
} |
135 |
|
136 |
src_configure() { |
137 |
local myconf |
138 |
local audio="no" |
139 |
|
140 |
use gstreamer && audio="gstreamer" |
141 |
use pulseaudio && audio="pulse" |
142 |
|
143 |
if use vala ; then |
144 |
# force vala regen for MinGW, etc |
145 |
rm -fv gtk/controller/controller.{c,vala.stamp} gtk/controller/menu.c |
146 |
fi |
147 |
|
148 |
myconf=" |
149 |
$(use_enable static-libs static) \ |
150 |
$(use_enable introspection) \ |
151 |
--with-audio=${audio} \ |
152 |
$(use_with python) \ |
153 |
$(use_with sasl) \ |
154 |
$(use_enable smartcard) \ |
155 |
$(use_enable usbredir) \ |
156 |
$(use_with usbredir usb-ids-path /usr/share/misc/usb.ids) \ |
157 |
$(use_with usbredir usb-acl-helper-dir /usr/libexec) \ |
158 |
$(use_enable policykit polkit) \ |
159 |
$(use_enable vala) \ |
160 |
$(use_enable dbus) \ |
161 |
--disable-werror \ |
162 |
--enable-pie" |
163 |
|
164 |
cd ${GTK2_BUILDDIR} |
165 |
echo "Running configure in ${GTK2_BUILDDIR}" |
166 |
ECONF_SOURCE="${S}" econf --disable-maintainer-mode \ |
167 |
--with-gtk=2.0 \ |
168 |
${myconf} |
169 |
|
170 |
if use gtk3; then |
171 |
cd ${GTK3_BUILDDIR} |
172 |
echo "Running configure in ${GTK3_BUILDDIR}" |
173 |
ECONF_SOURCE="${S}" econf --disable-maintainer-mode \ |
174 |
--with-gtk=3.0 \ |
175 |
${myconf} |
176 |
fi |
177 |
} |
178 |
|
179 |
src_compile() { |
180 |
cd ${GTK2_BUILDDIR} |
181 |
einfo "Running make in ${GTK2_BUILDDIR}" |
182 |
default |
183 |
|
184 |
if use gtk3; then |
185 |
cd ${GTK3_BUILDDIR} |
186 |
einfo "Running make in ${GTK3_BUILDDIR}" |
187 |
default |
188 |
fi |
189 |
} |
190 |
|
191 |
src_test() { |
192 |
cd ${GTK2_BUILDDIR} |
193 |
einfo "Running make check in ${GTK2_BUILDDIR}" |
194 |
default |
195 |
|
196 |
if use gtk3; then |
197 |
cd ${GTK3_BUILDDIR} |
198 |
einfo "Running make check in ${GTK3_BUILDDIR}" |
199 |
default |
200 |
fi |
201 |
} |
202 |
|
203 |
src_install() { |
204 |
cd ${GTK2_BUILDDIR} |
205 |
einfo "Running make check in ${GTK2_BUILDDIR}" |
206 |
default |
207 |
|
208 |
if use gtk3; then |
209 |
cd ${GTK3_BUILDDIR} |
210 |
einfo "Running make install in ${GTK3_BUILDDIR}" |
211 |
default |
212 |
fi |
213 |
|
214 |
# Remove .la files if they're not needed |
215 |
use static-libs || prune_libtool_files |
216 |
|
217 |
use python && rm -rf "${ED}"/usr/lib*/python*/site-packages/*.la |
218 |
use doc || rm -rf "${ED}/usr/share/gtk-doc" |
219 |
|
220 |
make_desktop_entry spicy Spicy "utilities-terminal" "Network;RemoteAccess;" |
221 |
} |