1 |
commit: 65870053ec411056eefe286d150b3707bc68d539 |
2 |
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 24 21:44:35 2021 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 25 00:02:15 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65870053 |
7 |
|
8 |
net-misc/spice-gtk: drop 0.37-r3, 0.38-r2, 0.38-r3 |
9 |
|
10 |
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> |
11 |
|
12 |
net-misc/spice-gtk/Manifest | 2 - |
13 |
.../spice-gtk-0.37-adjust-to-window-scaling.patch | 132 ------------------- |
14 |
net-misc/spice-gtk/spice-gtk-0.37-r3.ebuild | 140 --------------------- |
15 |
net-misc/spice-gtk/spice-gtk-0.38-r2.ebuild | 110 ---------------- |
16 |
net-misc/spice-gtk/spice-gtk-0.38-r3.ebuild | 125 ------------------ |
17 |
5 files changed, 509 deletions(-) |
18 |
|
19 |
diff --git a/net-misc/spice-gtk/Manifest b/net-misc/spice-gtk/Manifest |
20 |
index 4be76f585699..5de070645502 100644 |
21 |
--- a/net-misc/spice-gtk/Manifest |
22 |
+++ b/net-misc/spice-gtk/Manifest |
23 |
@@ -1,3 +1 @@ |
24 |
-DIST spice-gtk-0.37.tar.bz2 1303111 BLAKE2B cf4b6664ac86d126cf14f1a31b1df93079e15fc0a0af69bfaf61cb84284daa7b6b8cb2a2ee3345f6a475838ffc0fb2a2b0bdd61301e2c1479fb5f5e0c28babbe SHA512 a0a20bc6f25337d86e57fe1fc9586c4cc84457fc8c38cdcc5a728990a69018da0fca3ab5aa63349786b5a7508c82b716c94803eefb3495cffb7df4526db2d029 |
25 |
-DIST spice-gtk-0.38.tar.xz 796112 BLAKE2B c1542b5b76f9e23ffd1910273f358f656198829b1f615c6a8e0931a79d14920132c861facd534f4cf05f03c4f64a50f628f7daa93be581d5ac815f224b81fe16 SHA512 27b44ac9f0cee2737ce03bb3f47c62fc0ee2402c291c49fc56cffc4ccb63e2cab001a68ba865a6375d82cb38444408d59c68469783ee4279fa818d8682e902f3 |
26 |
DIST spice-gtk-0.39.tar.xz 845528 BLAKE2B c886c4c9f0e51d7f2bf6dbfe574f1a2bcab249f863cb7da1f009410572cdaa7a35ef98fc370a7e74f7e490ad3bfe8ffa832601f8bb0b0894b90ec1de76495ce9 SHA512 ff0f3ca6b10a2c415f2fa8d61464c5710aaa2a46c2c83909f146fa45f01151e756d9c3d79cb162dd3d0c1279b6ef55a67fc5c1266af2cb5b46ac1eaa0254c8d2 |
27 |
|
28 |
diff --git a/net-misc/spice-gtk/files/spice-gtk-0.37-adjust-to-window-scaling.patch b/net-misc/spice-gtk/files/spice-gtk-0.37-adjust-to-window-scaling.patch |
29 |
deleted file mode 100644 |
30 |
index 504cb7c4848b..000000000000 |
31 |
--- a/net-misc/spice-gtk/files/spice-gtk-0.37-adjust-to-window-scaling.patch |
32 |
+++ /dev/null |
33 |
@@ -1,132 +0,0 @@ |
34 |
-From 262c84081fbd3cfc3d92e6ae9a60a780549d6c2f Mon Sep 17 00:00:00 2001 |
35 |
-From: Snir Sheriber <ssheribe@××××××.com> |
36 |
-Date: Thu, 28 Feb 2019 11:44:34 +0200 |
37 |
-Subject: [PATCH] Adjust to window scaling |
38 |
- |
39 |
-When GDK_SCALE is != 1 and egl is used, the image presented does not |
40 |
-fit to the window (scale of 2 is often used with hidpi monitors). |
41 |
-Usually this is not a problem since all components are adjusted by |
42 |
-gdk/gtk but with egl, pixel-based data is not being scaled. In this |
43 |
-case window's scale value can be used in order to determine whether |
44 |
-to use a pixel resource with higher resolution data. |
45 |
- |
46 |
-In order to reproduce the problem set spice with virgl/Intel-vGPU |
47 |
-and run spice-gtk with GDK_SCALE=2 |
48 |
- |
49 |
-This issue was also reported at freedesktop gitlab repo: |
50 |
-https://gitlab.freedesktop.org/spice/spice-gtk/issues/99 |
51 |
- |
52 |
-Signed-off-by: Snir Sheriber <ssheribe@××××××.com> |
53 |
-Acked-by: Victor Toso <victortoso@××××××.com> |
54 |
---- |
55 |
- src/spice-widget-egl.c | 7 ++++--- |
56 |
- src/spice-widget.c | 27 +++++++++++++++++++-------- |
57 |
- 2 files changed, 23 insertions(+), 11 deletions(-) |
58 |
- |
59 |
-diff --git a/src/spice-widget-egl.c b/src/spice-widget-egl.c |
60 |
-index 43fccd7..7bae4e5 100644 |
61 |
---- a/src/spice-widget-egl.c |
62 |
-+++ b/src/spice-widget-egl.c |
63 |
-@@ -360,9 +360,9 @@ gboolean spice_egl_realize_display(SpiceDisplay *display, GdkWindow *win, GError |
64 |
- DISPLAY_DEBUG(display, "egl realize"); |
65 |
- if (!spice_widget_init_egl_win(display, win, err)) |
66 |
- return FALSE; |
67 |
-- |
68 |
-- spice_egl_resize_display(display, gdk_window_get_width(win), |
69 |
-- gdk_window_get_height(win)); |
70 |
-+ gint scale_factor = gtk_widget_get_scale_factor(GTK_WIDGET(display)); |
71 |
-+ spice_egl_resize_display(display, gdk_window_get_width(win) * scale_factor, |
72 |
-+ gdk_window_get_height(win) * scale_factor); |
73 |
- |
74 |
- return TRUE; |
75 |
- } |
76 |
-@@ -426,6 +426,7 @@ void spice_egl_unrealize_display(SpiceDisplay *display) |
77 |
- #endif |
78 |
- } |
79 |
- |
80 |
-+/* w and h should be adjusted to gdk scaling */ |
81 |
- G_GNUC_INTERNAL |
82 |
- void spice_egl_resize_display(SpiceDisplay *display, int w, int h) |
83 |
- { |
84 |
-diff --git a/src/spice-widget.c b/src/spice-widget.c |
85 |
-index 1f2a154..a9ba1f1 100644 |
86 |
---- a/src/spice-widget.c |
87 |
-+++ b/src/spice-widget.c |
88 |
-@@ -1382,7 +1382,8 @@ static void set_egl_enabled(SpiceDisplay *display, bool enabled) |
89 |
- } |
90 |
- |
91 |
- if (enabled && d->egl.context_ready) { |
92 |
-- spice_egl_resize_display(display, d->ww, d->wh); |
93 |
-+ gint scale_factor = gtk_widget_get_scale_factor(GTK_WIDGET(display)); |
94 |
-+ spice_egl_resize_display(display, d->ww * scale_factor, d->wh * scale_factor); |
95 |
- } |
96 |
- |
97 |
- d->egl.enabled = enabled; |
98 |
-@@ -1978,11 +1979,14 @@ static void transform_input(SpiceDisplay *display, |
99 |
- SpiceDisplayPrivate *d = display->priv; |
100 |
- int display_x, display_y, display_w, display_h; |
101 |
- double is; |
102 |
-+ gint scale_factor = 1; |
103 |
- |
104 |
- spice_display_get_scaling(display, NULL, |
105 |
- &display_x, &display_y, |
106 |
- &display_w, &display_h); |
107 |
-- |
108 |
-+ if (egl_enabled(d)) { |
109 |
-+ scale_factor = gtk_widget_get_scale_factor(GTK_WIDGET(display)); |
110 |
-+ } |
111 |
- /* For input we need a different scaling factor in order to |
112 |
- be able to reach the full width of a display. For instance, consider |
113 |
- a display of 100 pixels showing in a window 10 pixels wide. The normal |
114 |
-@@ -1998,7 +2002,7 @@ static void transform_input(SpiceDisplay *display, |
115 |
- coordinates in the inverse direction (window -> display) as the fb size |
116 |
- (display -> window). |
117 |
- */ |
118 |
-- is = (double)(d->area.width-1) / (double)(display_w-1); |
119 |
-+ is = ((double)(d->area.width-1) / (double)(display_w-1)) * scale_factor; |
120 |
- |
121 |
- window_x -= display_x; |
122 |
- window_y -= display_y; |
123 |
-@@ -2183,8 +2187,10 @@ static void size_allocate(GtkWidget *widget, GtkAllocation *conf, gpointer data) |
124 |
- d->wh = conf->height; |
125 |
- recalc_geometry(widget); |
126 |
- #if HAVE_EGL |
127 |
-- if (egl_enabled(d)) |
128 |
-- spice_egl_resize_display(display, conf->width, conf->height); |
129 |
-+ if (egl_enabled(d)) { |
130 |
-+ gint scale_factor = gtk_widget_get_scale_factor(widget); |
131 |
-+ spice_egl_resize_display(display, conf->width * scale_factor, conf->height * scale_factor); |
132 |
-+ } |
133 |
- #endif |
134 |
- } |
135 |
- |
136 |
-@@ -2942,10 +2948,14 @@ void spice_display_get_scaling(SpiceDisplay *display, |
137 |
- int ww, wh; |
138 |
- int x, y, w, h; |
139 |
- double s; |
140 |
-+ gint scale_factor = 1; |
141 |
- |
142 |
- if (gtk_widget_get_realized (GTK_WIDGET(display))) { |
143 |
-- ww = gtk_widget_get_allocated_width(GTK_WIDGET(display)); |
144 |
-- wh = gtk_widget_get_allocated_height(GTK_WIDGET(display)); |
145 |
-+ if (egl_enabled(d)) { |
146 |
-+ scale_factor = gtk_widget_get_scale_factor(GTK_WIDGET(display)); |
147 |
-+ } |
148 |
-+ ww = gtk_widget_get_allocated_width(GTK_WIDGET(display)) * scale_factor; |
149 |
-+ wh = gtk_widget_get_allocated_height(GTK_WIDGET(display)) * scale_factor; |
150 |
- } else { |
151 |
- ww = fbw; |
152 |
- wh = fbh; |
153 |
-@@ -3091,7 +3101,8 @@ void spice_display_widget_gl_scanout(SpiceDisplay *display) |
154 |
- g_clear_error(&err); |
155 |
- } |
156 |
- |
157 |
-- spice_egl_resize_display(display, d->ww, d->wh); |
158 |
-+ gint scale_factor = gtk_widget_get_scale_factor(GTK_WIDGET(display)); |
159 |
-+ spice_egl_resize_display(display, d->ww * scale_factor, d->wh * scale_factor); |
160 |
- } |
161 |
- #endif |
162 |
- |
163 |
--- |
164 |
-2.21.0 |
165 |
- |
166 |
|
167 |
diff --git a/net-misc/spice-gtk/spice-gtk-0.37-r3.ebuild b/net-misc/spice-gtk/spice-gtk-0.37-r3.ebuild |
168 |
deleted file mode 100644 |
169 |
index e6215587090b..000000000000 |
170 |
--- a/net-misc/spice-gtk/spice-gtk-0.37-r3.ebuild |
171 |
+++ /dev/null |
172 |
@@ -1,140 +0,0 @@ |
173 |
-# Copyright 1999-2021 Gentoo Authors |
174 |
-# Distributed under the terms of the GNU General Public License v2 |
175 |
- |
176 |
-EAPI=7 |
177 |
- |
178 |
-GCONF_DEBUG="no" |
179 |
-VALA_MIN_API_VERSION="0.14" |
180 |
-VALA_USE_DEPEND="vapigen" |
181 |
- |
182 |
-inherit autotools desktop xdg-utils vala readme.gentoo-r1 |
183 |
- |
184 |
-DESCRIPTION="Set of GObject and Gtk objects for connecting to Spice servers and a client GUI" |
185 |
-HOMEPAGE="https://www.spice-space.org https://cgit.freedesktop.org/spice/spice-gtk/" |
186 |
- |
187 |
-LICENSE="LGPL-2.1" |
188 |
-SLOT="0" |
189 |
-SRC_URI="https://www.spice-space.org/download/gtk/${P}.tar.bz2" |
190 |
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc x86" |
191 |
-IUSE="+gtk3 +introspection lz4 mjpeg policykit pulseaudio sasl smartcard static-libs usbredir vala webdav" |
192 |
- |
193 |
-# TODO: |
194 |
-# * check if sys-freebsd/freebsd-lib (from virtual/acl) provides acl/libacl.h |
195 |
-# * use external pnp.ids as soon as that means not pulling in gnome-desktop |
196 |
-RDEPEND=" |
197 |
- >=dev-libs/glib-2.46:2 |
198 |
- dev-libs/json-glib:0= |
199 |
- media-libs/gst-plugins-base:1.0 |
200 |
- media-libs/gst-plugins-good:1.0 |
201 |
- media-libs/gstreamer:1.0[introspection?] |
202 |
- media-libs/opus |
203 |
- sys-libs/zlib |
204 |
- virtual/jpeg:0= |
205 |
- >=x11-libs/cairo-1.2 |
206 |
- >=x11-libs/pixman-0.17.7 |
207 |
- gtk3? ( x11-libs/gtk+:3[introspection?] ) |
208 |
- introspection? ( dev-libs/gobject-introspection ) |
209 |
- dev-libs/openssl:0= |
210 |
- lz4? ( app-arch/lz4 ) |
211 |
- pulseaudio? ( media-sound/pulseaudio[glib] ) |
212 |
- sasl? ( dev-libs/cyrus-sasl ) |
213 |
- smartcard? ( app-emulation/qemu[smartcard] ) |
214 |
- usbredir? ( |
215 |
- sys-apps/hwids |
216 |
- >=sys-apps/usbredir-0.4.2 |
217 |
- virtual/libusb:1 |
218 |
- policykit? ( |
219 |
- sys-apps/acl |
220 |
- >=sys-auth/polkit-0.110-r1 |
221 |
- !~sys-auth/polkit-0.111 ) |
222 |
- ) |
223 |
- webdav? ( |
224 |
- net-libs/phodav:2.0 |
225 |
- >=net-libs/libsoup-2.49.91:2.4 ) |
226 |
-" |
227 |
-# TODO: spice-gtk has an automagic dependency on x11-libs/libva without a |
228 |
-# configure knob. The package is relatively lightweight so we just depend |
229 |
-# on it unconditionally for now. It would be cleaner to transform this into |
230 |
-# a USE="vaapi" conditional and patch the buildsystem... |
231 |
-RDEPEND="${RDEPEND} |
232 |
- amd64? ( x11-libs/libva:= ) |
233 |
- arm64? ( x11-libs/libva:= ) |
234 |
- x86? ( x11-libs/libva:= ) |
235 |
-" |
236 |
-DEPEND="${RDEPEND} |
237 |
- >=app-emulation/spice-protocol-0.14.0 |
238 |
- dev-perl/Text-CSV |
239 |
- dev-util/glib-utils |
240 |
- >=dev-util/gtk-doc-am-1.14 |
241 |
- >=dev-util/intltool-0.40.0 |
242 |
- >=sys-devel/gettext-0.17 |
243 |
- virtual/pkgconfig |
244 |
- vala? ( $(vala_depend) ) |
245 |
-" |
246 |
- |
247 |
-PATCHES=( |
248 |
- "${FILESDIR}"/${P}-adjust-to-window-scaling.patch |
249 |
-) |
250 |
- |
251 |
-src_prepare() { |
252 |
- # bug 558558 |
253 |
- export GIT_CEILING_DIRECTORIES="${WORKDIR}" |
254 |
- |
255 |
- default |
256 |
- |
257 |
- eautoreconf |
258 |
- |
259 |
- use vala && vala_src_prepare |
260 |
-} |
261 |
- |
262 |
-src_configure() { |
263 |
- # Prevent sandbox violations, bug #581836 |
264 |
- # https://bugzilla.gnome.org/show_bug.cgi?id=744134 |
265 |
- # https://bugzilla.gnome.org/show_bug.cgi?id=744135 |
266 |
- addpredict /dev |
267 |
- |
268 |
- # Clean up environment, bug #586642 |
269 |
- xdg_environment_reset |
270 |
- |
271 |
- local myconf |
272 |
- myconf=" |
273 |
- $(use_with gtk3 gtk 3.0) |
274 |
- $(use_enable introspection) |
275 |
- $(use_enable mjpeg builtin-mjpeg) |
276 |
- $(use_enable policykit polkit) |
277 |
- $(use_enable pulseaudio pulse) |
278 |
- $(use_with sasl) |
279 |
- $(use_enable smartcard) |
280 |
- $(use_enable static-libs static) |
281 |
- $(use_enable usbredir) |
282 |
- $(use_with usbredir usb-acl-helper-dir /usr/libexec) |
283 |
- $(use_with usbredir usb-ids-path /usr/share/misc/usb.ids) |
284 |
- $(use_enable vala) |
285 |
- $(use_enable webdav) |
286 |
- --disable-celt051 |
287 |
- --disable-gtk-doc |
288 |
- --disable-maintainer-mode |
289 |
- --disable-werror |
290 |
- --enable-pie" |
291 |
- |
292 |
- econf ${myconf} |
293 |
-} |
294 |
- |
295 |
-src_compile() { |
296 |
- # Prevent sandbox violations, bug #581836 |
297 |
- # https://bugzilla.gnome.org/show_bug.cgi?id=744134 |
298 |
- # https://bugzilla.gnome.org/show_bug.cgi?id=744135 |
299 |
- addpredict /dev |
300 |
- |
301 |
- default |
302 |
-} |
303 |
- |
304 |
-src_install() { |
305 |
- default |
306 |
- |
307 |
- # Remove .la files if they're not needed |
308 |
- use static-libs || find "${D}" -name '*.la' -delete || die |
309 |
- |
310 |
- make_desktop_entry spicy Spicy "utilities-terminal" "Network;RemoteAccess;" |
311 |
- readme.gentoo_create_doc |
312 |
-} |
313 |
|
314 |
diff --git a/net-misc/spice-gtk/spice-gtk-0.38-r2.ebuild b/net-misc/spice-gtk/spice-gtk-0.38-r2.ebuild |
315 |
deleted file mode 100644 |
316 |
index d70e837b73f2..000000000000 |
317 |
--- a/net-misc/spice-gtk/spice-gtk-0.38-r2.ebuild |
318 |
+++ /dev/null |
319 |
@@ -1,110 +0,0 @@ |
320 |
-# Copyright 1999-2021 Gentoo Authors |
321 |
-# Distributed under the terms of the GNU General Public License v2 |
322 |
- |
323 |
-EAPI=7 |
324 |
- |
325 |
-VALA_MIN_API_VERSION="0.14" |
326 |
-VALA_USE_DEPEND="vapigen" |
327 |
- |
328 |
-inherit desktop meson readme.gentoo-r1 vala xdg-utils |
329 |
- |
330 |
-DESCRIPTION="Set of GObject and Gtk objects for connecting to Spice servers and a client GUI" |
331 |
-HOMEPAGE="https://www.spice-space.org https://cgit.freedesktop.org/spice/spice-gtk/" |
332 |
- |
333 |
-LICENSE="LGPL-2.1" |
334 |
-SLOT="0" |
335 |
-SRC_URI="https://www.spice-space.org/download/gtk/${P}.tar.xz" |
336 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
337 |
-IUSE="+gtk3 +introspection lz4 mjpeg policykit pulseaudio sasl smartcard usbredir vala webdav" |
338 |
- |
339 |
-# TODO: |
340 |
-# * check if sys-freebsd/freebsd-lib (from virtual/acl) provides acl/libacl.h |
341 |
-# * use external pnp.ids as soon as that means not pulling in gnome-desktop |
342 |
-RDEPEND=" |
343 |
- >=dev-libs/glib-2.46:2 |
344 |
- dev-libs/json-glib:0= |
345 |
- media-libs/gst-plugins-base:1.0 |
346 |
- media-libs/gst-plugins-good:1.0 |
347 |
- media-libs/gstreamer:1.0[introspection?] |
348 |
- media-libs/opus |
349 |
- sys-libs/zlib |
350 |
- virtual/jpeg:0= |
351 |
- >=x11-libs/cairo-1.2 |
352 |
- >=x11-libs/pixman-0.17.7 |
353 |
- gtk3? ( x11-libs/gtk+:3[introspection?] ) |
354 |
- introspection? ( dev-libs/gobject-introspection ) |
355 |
- dev-libs/openssl:0= |
356 |
- lz4? ( app-arch/lz4 ) |
357 |
- pulseaudio? ( |
358 |
- media-plugins/gst-plugins-pulse:1.0 |
359 |
- ) |
360 |
- sasl? ( dev-libs/cyrus-sasl ) |
361 |
- smartcard? ( app-emulation/qemu[smartcard] ) |
362 |
- usbredir? ( |
363 |
- sys-apps/hwids |
364 |
- >=sys-apps/usbredir-0.4.2 |
365 |
- virtual/libusb:1 |
366 |
- policykit? ( |
367 |
- sys-apps/acl |
368 |
- >=sys-auth/polkit-0.110-r1 |
369 |
- ) |
370 |
- ) |
371 |
- webdav? ( |
372 |
- net-libs/phodav:2.0 |
373 |
- >=net-libs/libsoup-2.49.91:2.4 ) |
374 |
-" |
375 |
-# TODO: spice-gtk has an automagic dependency on x11-libs/libva without a |
376 |
-# configure knob. The package is relatively lightweight so we just depend |
377 |
-# on it unconditionally for now. It would be cleaner to transform this into |
378 |
-# a USE="vaapi" conditional and patch the buildsystem... |
379 |
-RDEPEND="${RDEPEND} |
380 |
- amd64? ( x11-libs/libva:= ) |
381 |
- arm64? ( x11-libs/libva:= ) |
382 |
- x86? ( x11-libs/libva:= ) |
383 |
-" |
384 |
-DEPEND="${RDEPEND} |
385 |
- >=app-emulation/spice-protocol-0.14.1 |
386 |
- dev-perl/Text-CSV |
387 |
- dev-util/glib-utils |
388 |
- >=dev-util/gtk-doc-am-1.14 |
389 |
- >=dev-util/intltool-0.40.0 |
390 |
- >=sys-devel/gettext-0.17 |
391 |
- virtual/pkgconfig |
392 |
- vala? ( $(vala_depend) ) |
393 |
-" |
394 |
- |
395 |
-src_prepare() { |
396 |
- default |
397 |
- |
398 |
- use vala && vala_src_prepare |
399 |
-} |
400 |
- |
401 |
-src_configure() { |
402 |
- local emesonargs=( |
403 |
- $(meson_feature gtk3 gtk) |
404 |
- $(meson_feature introspection) |
405 |
- $(meson_use mjpeg builtin-mjpeg) |
406 |
- $(meson_feature policykit polkit) |
407 |
- $(meson_feature pulseaudio pulse) |
408 |
- $(meson_feature lz4) |
409 |
- $(meson_feature sasl) |
410 |
- $(meson_feature smartcard) |
411 |
- $(meson_feature usbredir) |
412 |
- $(meson_feature vala vapi) |
413 |
- $(meson_feature webdav) |
414 |
- ) |
415 |
- |
416 |
- if use usbredir; then |
417 |
- emesonargs+=( -D "usb-acl-helper-dir=/usr/libexec" ) |
418 |
- emesonargs+=( -D "usb-ids-path=/usr/share/misc/usb.ids" ) |
419 |
- fi |
420 |
- |
421 |
- meson_src_configure |
422 |
-} |
423 |
- |
424 |
-src_install() { |
425 |
- meson_src_install |
426 |
- |
427 |
- make_desktop_entry spicy Spicy "utilities-terminal" "Network;RemoteAccess;" |
428 |
- readme.gentoo_create_doc |
429 |
-} |
430 |
|
431 |
diff --git a/net-misc/spice-gtk/spice-gtk-0.38-r3.ebuild b/net-misc/spice-gtk/spice-gtk-0.38-r3.ebuild |
432 |
deleted file mode 100644 |
433 |
index 3d714471af99..000000000000 |
434 |
--- a/net-misc/spice-gtk/spice-gtk-0.38-r3.ebuild |
435 |
+++ /dev/null |
436 |
@@ -1,125 +0,0 @@ |
437 |
-# Copyright 1999-2021 Gentoo Authors |
438 |
-# Distributed under the terms of the GNU General Public License v2 |
439 |
- |
440 |
-EAPI=7 |
441 |
- |
442 |
-VALA_MIN_API_VERSION="0.14" |
443 |
-VALA_USE_DEPEND="vapigen" |
444 |
- |
445 |
-PYTHON_COMPAT=( python3_{7..9} ) |
446 |
- |
447 |
-inherit desktop meson python-any-r1 readme.gentoo-r1 vala xdg-utils |
448 |
- |
449 |
-DESCRIPTION="Set of GObject and Gtk objects for connecting to Spice servers and a client GUI" |
450 |
-HOMEPAGE="https://www.spice-space.org https://cgit.freedesktop.org/spice/spice-gtk/" |
451 |
- |
452 |
-LICENSE="LGPL-2.1" |
453 |
-SLOT="0" |
454 |
-SRC_URI="https://www.spice-space.org/download/gtk/${P}.tar.xz" |
455 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
456 |
-IUSE="+gtk3 +introspection lz4 mjpeg policykit pulseaudio sasl smartcard usbredir vala webdav" |
457 |
- |
458 |
-# TODO: |
459 |
-# * check if sys-freebsd/freebsd-lib (from virtual/acl) provides acl/libacl.h |
460 |
-# * use external pnp.ids as soon as that means not pulling in gnome-desktop |
461 |
-RDEPEND=" |
462 |
- >=dev-libs/glib-2.46:2 |
463 |
- dev-libs/json-glib:0= |
464 |
- media-libs/gst-plugins-base:1.0 |
465 |
- media-libs/gst-plugins-good:1.0 |
466 |
- media-libs/gstreamer:1.0[introspection?] |
467 |
- media-libs/opus |
468 |
- sys-libs/zlib |
469 |
- virtual/jpeg:0= |
470 |
- >=x11-libs/cairo-1.2 |
471 |
- >=x11-libs/pixman-0.17.7 |
472 |
- gtk3? ( x11-libs/gtk+:3[introspection?] ) |
473 |
- introspection? ( dev-libs/gobject-introspection ) |
474 |
- dev-libs/openssl:0= |
475 |
- lz4? ( app-arch/lz4 ) |
476 |
- pulseaudio? ( |
477 |
- media-plugins/gst-plugins-pulse:1.0 |
478 |
- ) |
479 |
- sasl? ( dev-libs/cyrus-sasl ) |
480 |
- smartcard? ( app-emulation/qemu[smartcard] ) |
481 |
- usbredir? ( |
482 |
- sys-apps/hwids |
483 |
- >=sys-apps/usbredir-0.4.2 |
484 |
- virtual/libusb:1 |
485 |
- policykit? ( |
486 |
- sys-apps/acl |
487 |
- >=sys-auth/polkit-0.110-r1 |
488 |
- ) |
489 |
- ) |
490 |
- webdav? ( |
491 |
- net-libs/phodav:2.0 |
492 |
- >=net-libs/libsoup-2.49.91:2.4 ) |
493 |
-" |
494 |
-# TODO: spice-gtk has an automagic dependency on x11-libs/libva without a |
495 |
-# configure knob. The package is relatively lightweight so we just depend |
496 |
-# on it unconditionally for now. It would be cleaner to transform this into |
497 |
-# a USE="vaapi" conditional and patch the buildsystem... |
498 |
-RDEPEND="${RDEPEND} |
499 |
- amd64? ( x11-libs/libva:= ) |
500 |
- arm64? ( x11-libs/libva:= ) |
501 |
- x86? ( x11-libs/libva:= ) |
502 |
-" |
503 |
-DEPEND="${RDEPEND} |
504 |
- >=app-emulation/spice-protocol-0.14.1 |
505 |
- dev-perl/Text-CSV |
506 |
- dev-util/glib-utils |
507 |
- >=dev-util/gtk-doc-am-1.14 |
508 |
- >=dev-util/intltool-0.40.0 |
509 |
- >=sys-devel/gettext-0.17 |
510 |
- virtual/pkgconfig |
511 |
- vala? ( $(vala_depend) ) |
512 |
-" |
513 |
- |
514 |
-BDEPEND=" |
515 |
- $(python_gen_any_dep ' |
516 |
- dev-python/six[${PYTHON_USEDEP}] |
517 |
- dev-python/pyparsing[${PYTHON_USEDEP}] |
518 |
- ') |
519 |
-" |
520 |
- |
521 |
-python_check_deps() { |
522 |
- has_version "dev-python/six[${PYTHON_USEDEP}]" && |
523 |
- has_version "dev-python/pyparsing[${PYTHON_USEDEP}]" |
524 |
-} |
525 |
- |
526 |
-src_prepare() { |
527 |
- default |
528 |
- sed -i -e "/^ '-Werror',/d" \ |
529 |
- subprojects/spice-common/meson.build || die |
530 |
- use vala && vala_src_prepare |
531 |
-} |
532 |
- |
533 |
-src_configure() { |
534 |
- local emesonargs=( |
535 |
- $(meson_feature gtk3 gtk) |
536 |
- $(meson_feature introspection) |
537 |
- $(meson_use mjpeg builtin-mjpeg) |
538 |
- $(meson_feature policykit polkit) |
539 |
- $(meson_feature pulseaudio pulse) |
540 |
- $(meson_feature lz4) |
541 |
- $(meson_feature sasl) |
542 |
- $(meson_feature smartcard) |
543 |
- $(meson_feature usbredir) |
544 |
- $(meson_feature vala vapi) |
545 |
- $(meson_feature webdav) |
546 |
- ) |
547 |
- |
548 |
- if use usbredir; then |
549 |
- emesonargs+=( -D "usb-acl-helper-dir=/usr/libexec" ) |
550 |
- emesonargs+=( -D "usb-ids-path=/usr/share/misc/usb.ids" ) |
551 |
- fi |
552 |
- |
553 |
- meson_src_configure |
554 |
-} |
555 |
- |
556 |
-src_install() { |
557 |
- meson_src_install |
558 |
- |
559 |
- make_desktop_entry spicy Spicy "utilities-terminal" "Network;RemoteAccess;" |
560 |
- readme.gentoo_create_doc |
561 |
-} |