1 |
commit: 0f873b2d664e534159840b236d3966db6ffd79ff |
2 |
Author: Marc Schiffbauer <mschiff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri May 23 00:04:31 2014 +0000 |
4 |
Commit: Marc Schiffbauer <mschiff <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 23 00:04:31 2014 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/mschiff.git;a=commit;h=0f873b2d |
7 |
|
8 |
add updated spice-gtk |
9 |
|
10 |
--- |
11 |
net-misc/spice-gtk/Manifest | 2 + |
12 |
net-misc/spice-gtk/spice-gtk-0.25.ebuild | 176 +++++++++++++++++++++++++++++++ |
13 |
2 files changed, 178 insertions(+) |
14 |
|
15 |
diff --git a/net-misc/spice-gtk/Manifest b/net-misc/spice-gtk/Manifest |
16 |
new file mode 100644 |
17 |
index 0000000..72a334f |
18 |
--- /dev/null |
19 |
+++ b/net-misc/spice-gtk/Manifest |
20 |
@@ -0,0 +1,2 @@ |
21 |
+DIST spice-gtk-0.25.tar.bz2 1242457 SHA256 0730c6a80ad9f5012f65927d443377019f300573f7ccc93db84eadec462ad087 SHA512 5d44ffa784af3c94492e80129b7350065f4d108c8e3bc42be673fc1f42b47023757d0b8131d047432b7c59c03662db0652759cb4bdf677062a6d1e0508d02bd9 WHIRLPOOL 63002ec6d309c949d296e70ff5e22a7cf9e8300e7001e37a4a5b2de6ccb833915d884798347e04a06c60ea4508f85f265b3d4b4dc1c00a3a8e036ddf21e003f8 |
22 |
+EBUILD spice-gtk-0.25.ebuild 4267 SHA256 84ea2847e2769a7ec2acb84084d66c949b8d180483700683dfaab916d38ef693 SHA512 33212ff6c26ddd0abd7672b7097c3c08a4caf4d606cf142221ace4b761b82204f2361e31e10bbc617849d6c4d61f95ec92ce73da440195f347451941fb0539d3 WHIRLPOOL cc19e9bc4bfdc2ae6fdf17f2259faeb8c91a74878cdd383cd1b7d27f8fba48700fab38f1a493cc6d641d03b4f97a6f0f462beebaedea766f1c36a0062eea0383 |
23 |
|
24 |
diff --git a/net-misc/spice-gtk/spice-gtk-0.25.ebuild b/net-misc/spice-gtk/spice-gtk-0.25.ebuild |
25 |
new file mode 100644 |
26 |
index 0000000..5eee142 |
27 |
--- /dev/null |
28 |
+++ b/net-misc/spice-gtk/spice-gtk-0.25.ebuild |
29 |
@@ -0,0 +1,176 @@ |
30 |
+# Copyright 1999-2014 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/spice-gtk/spice-gtk-0.21.ebuild,v 1.11 2014/01/15 12:54:31 ago Exp $ |
33 |
+ |
34 |
+EAPI=5 |
35 |
+GCONF_DEBUG="no" |
36 |
+WANT_AUTOMAKE="1.12" |
37 |
+VALA_MIN_API_VERSION="0.14" |
38 |
+VALA_USE_DEPEND="vapigen" |
39 |
+ |
40 |
+PYTHON_COMPAT=( python{2_6,2_7} ) |
41 |
+ |
42 |
+inherit eutils python-single-r1 vala |
43 |
+ |
44 |
+PYTHON_DEPEND="2" |
45 |
+ |
46 |
+DESCRIPTION="Set of GObject and Gtk objects for connecting to Spice servers and a client GUI." |
47 |
+HOMEPAGE="http://spice-space.org http://gitorious.org/spice-gtk" |
48 |
+ |
49 |
+LICENSE="LGPL-2.1" |
50 |
+SLOT="0" |
51 |
+SRC_URI="http://spice-space.org/download/gtk/${P}.tar.bz2" |
52 |
+KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sparc x86" |
53 |
+IUSE="dbus doc gstreamer gtk3 +introspection policykit pulseaudio |
54 |
+python sasl smartcard static-libs usbredir vala" |
55 |
+ |
56 |
+REQUIRED_USE=" |
57 |
+ ${PYTHON_REQUIRED_USE} |
58 |
+ ?? ( pulseaudio gstreamer )" |
59 |
+ |
60 |
+# TODO: |
61 |
+# * check if sys-freebsd/freebsd-lib (from virtual/acl) provides acl/libacl.h |
62 |
+# * use external pnp.ids as soon as that means not pulling in gnome-desktop |
63 |
+RDEPEND="${PYTHON_DEPS} |
64 |
+ pulseaudio? ( media-sound/pulseaudio[glib] ) |
65 |
+ gstreamer? ( |
66 |
+ media-libs/gstreamer:0.10 |
67 |
+ media-libs/gst-plugins-base:0.10 ) |
68 |
+ >=x11-libs/pixman-0.17.7 |
69 |
+ >=media-libs/celt-0.5.1.1:0.5.1 |
70 |
+ dev-libs/openssl |
71 |
+ gtk3? ( x11-libs/gtk+:3[introspection?] ) |
72 |
+ x11-libs/gtk+:2[introspection?] |
73 |
+ >=dev-libs/glib-2.26:2 |
74 |
+ >=x11-libs/cairo-1.2 |
75 |
+ virtual/jpeg |
76 |
+ sys-libs/zlib |
77 |
+ dbus? ( dev-libs/dbus-glib ) |
78 |
+ introspection? ( dev-libs/gobject-introspection ) |
79 |
+ python? ( dev-python/pygtk:2 ) |
80 |
+ sasl? ( dev-libs/cyrus-sasl ) |
81 |
+ smartcard? ( app-emulation/libcacard ) |
82 |
+ usbredir? ( |
83 |
+ sys-apps/hwids |
84 |
+ >=sys-apps/usbredir-0.4.2 |
85 |
+ virtual/libusb:1 |
86 |
+ virtual/udev[gudev] |
87 |
+ policykit? ( |
88 |
+ sys-apps/acl |
89 |
+ >=sys-auth/polkit-0.110-r1 |
90 |
+ !~sys-auth/polkit-0.111 ) |
91 |
+ )" |
92 |
+DEPEND="${RDEPEND} |
93 |
+ dev-lang/python |
94 |
+ dev-python/pyparsing |
95 |
+ dev-perl/Text-CSV |
96 |
+ >=dev-util/intltool-0.40.0 |
97 |
+ >=sys-devel/gettext-0.17 |
98 |
+ virtual/pkgconfig |
99 |
+ vala? ( $(vala_depend) )" |
100 |
+ |
101 |
+# Hard-deps while building from git: |
102 |
+# dev-lang/vala:0.14 |
103 |
+# dev-lang/perl |
104 |
+ |
105 |
+GTK2_BUILDDIR="${WORKDIR}/${P}_gtk2" |
106 |
+GTK3_BUILDDIR="${WORKDIR}/${P}_gtk3" |
107 |
+ |
108 |
+src_prepare() { |
109 |
+ |
110 |
+ #epatch "${FILESDIR}"/spice-gtk-0.21-fix-g-clear-pointer-on-old-glib.patch |
111 |
+ |
112 |
+ epatch_user |
113 |
+ |
114 |
+ use vala && vala_src_prepare |
115 |
+ mkdir ${GTK2_BUILDDIR} ${GTK3_BUILDDIR} || die |
116 |
+} |
117 |
+ |
118 |
+src_configure() { |
119 |
+ local myconf |
120 |
+ local audio="no" |
121 |
+ |
122 |
+ use gstreamer && audio="gstreamer" |
123 |
+ use pulseaudio && audio="pulse" |
124 |
+ |
125 |
+ if use vala ; then |
126 |
+ # force vala regen for MinGW, etc |
127 |
+ rm -fv gtk/controller/controller.{c,vala.stamp} gtk/controller/menu.c |
128 |
+ fi |
129 |
+ |
130 |
+ myconf=" |
131 |
+ $(use_enable static-libs static) \ |
132 |
+ $(use_enable introspection) \ |
133 |
+ --with-audio=${audio} \ |
134 |
+ $(use_with python) \ |
135 |
+ $(use_with sasl) \ |
136 |
+ $(use_enable smartcard) \ |
137 |
+ $(use_enable usbredir) \ |
138 |
+ $(use_with usbredir usb-ids-path /usr/share/misc/usb.ids) \ |
139 |
+ $(use_with usbredir usb-acl-helper-dir /usr/libexec) \ |
140 |
+ $(use_enable policykit polkit) \ |
141 |
+ $(use_enable vala) \ |
142 |
+ $(use_enable dbus) \ |
143 |
+ $(use_enable doc gtk-doc) \ |
144 |
+ --disable-werror \ |
145 |
+ --enable-pie" |
146 |
+ |
147 |
+ cd ${GTK2_BUILDDIR} |
148 |
+ echo "Running configure in ${GTK2_BUILDDIR}" |
149 |
+ ECONF_SOURCE="${S}" econf --disable-maintainer-mode \ |
150 |
+ --with-gtk=2.0 \ |
151 |
+ ${myconf} |
152 |
+ |
153 |
+ if use gtk3; then |
154 |
+ cd ${GTK3_BUILDDIR} |
155 |
+ echo "Running configure in ${GTK3_BUILDDIR}" |
156 |
+ ECONF_SOURCE="${S}" econf --disable-maintainer-mode \ |
157 |
+ --with-gtk=3.0 \ |
158 |
+ ${myconf} |
159 |
+ fi |
160 |
+} |
161 |
+ |
162 |
+src_compile() { |
163 |
+ cd ${GTK2_BUILDDIR} |
164 |
+ einfo "Running make in ${GTK2_BUILDDIR}" |
165 |
+ default |
166 |
+ |
167 |
+ if use gtk3; then |
168 |
+ cd ${GTK3_BUILDDIR} |
169 |
+ einfo "Running make in ${GTK3_BUILDDIR}" |
170 |
+ default |
171 |
+ fi |
172 |
+} |
173 |
+ |
174 |
+src_test() { |
175 |
+ cd ${GTK2_BUILDDIR} |
176 |
+ einfo "Running make check in ${GTK2_BUILDDIR}" |
177 |
+ default |
178 |
+ |
179 |
+ if use gtk3; then |
180 |
+ cd ${GTK3_BUILDDIR} |
181 |
+ einfo "Running make check in ${GTK3_BUILDDIR}" |
182 |
+ default |
183 |
+ fi |
184 |
+} |
185 |
+ |
186 |
+src_install() { |
187 |
+ dodoc AUTHORS ChangeLog NEWS README THANKS TODO |
188 |
+ |
189 |
+ cd ${GTK2_BUILDDIR} |
190 |
+ einfo "Running make check in ${GTK2_BUILDDIR}" |
191 |
+ default |
192 |
+ |
193 |
+ if use gtk3; then |
194 |
+ cd ${GTK3_BUILDDIR} |
195 |
+ einfo "Running make install in ${GTK3_BUILDDIR}" |
196 |
+ default |
197 |
+ fi |
198 |
+ |
199 |
+ # Remove .la files if they're not needed |
200 |
+ use static-libs || prune_libtool_files |
201 |
+ |
202 |
+ use python && rm -rf "${ED}"/usr/lib*/python*/site-packages/*.la |
203 |
+ |
204 |
+ make_desktop_entry spicy Spicy "utilities-terminal" "Network;RemoteAccess;" |
205 |
+} |