1 |
commit: 22db54299a37db23d231fa809fcca6a2f20d39aa |
2 |
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jul 29 19:50:24 2019 +0000 |
4 |
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 29 19:56:47 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22db5429 |
7 |
|
8 |
net-misc/spice-gtk: update live ebuild |
9 |
|
10 |
Package-Manager: Portage-2.3.69, Repoman-2.3.16 |
11 |
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org> |
12 |
|
13 |
net-misc/spice-gtk/spice-gtk-9999.ebuild | 60 +++++++++++++++----------------- |
14 |
1 file changed, 29 insertions(+), 31 deletions(-) |
15 |
|
16 |
diff --git a/net-misc/spice-gtk/spice-gtk-9999.ebuild b/net-misc/spice-gtk/spice-gtk-9999.ebuild |
17 |
index d0de04e3000..c4e0bd6c740 100644 |
18 |
--- a/net-misc/spice-gtk/spice-gtk-9999.ebuild |
19 |
+++ b/net-misc/spice-gtk/spice-gtk-9999.ebuild |
20 |
@@ -2,6 +2,7 @@ |
21 |
# Distributed under the terms of the GNU General Public License v2 |
22 |
|
23 |
EAPI=7 |
24 |
+ |
25 |
GCONF_DEBUG="no" |
26 |
WANT_AUTOMAKE="1.12" |
27 |
VALA_MIN_API_VERSION="0.14" |
28 |
@@ -16,43 +17,34 @@ LICENSE="LGPL-2.1" |
29 |
SLOT="0" |
30 |
EGIT_REPO_URI="https://anongit.freedesktop.org/git/spice/spice-gtk.git" |
31 |
KEYWORDS="" |
32 |
-IUSE="dbus gstaudio gstvideo +gtk3 +introspection lz4 mjpeg policykit pulseaudio sasl smartcard static-libs usbredir vala webdav libressl" |
33 |
- |
34 |
-REQUIRED_USE="?? ( pulseaudio gstaudio )" |
35 |
+IUSE="+gtk3 +introspection lz4 mjpeg policykit pulseaudio sasl smartcard static-libs usbredir vala webdav libressl" |
36 |
|
37 |
# TODO: |
38 |
# * check if sys-freebsd/freebsd-lib (from virtual/acl) provides acl/libacl.h |
39 |
# * use external pnp.ids as soon as that means not pulling in gnome-desktop |
40 |
RDEPEND=" |
41 |
- !libressl? ( dev-libs/openssl:0= ) |
42 |
- libressl? ( dev-libs/libressl:0= ) |
43 |
- pulseaudio? ( media-sound/pulseaudio[glib] ) |
44 |
- gstvideo? ( |
45 |
- media-libs/gstreamer:1.0 |
46 |
- media-libs/gst-plugins-base:1.0 |
47 |
- media-libs/gst-plugins-good:1.0 |
48 |
- ) |
49 |
- gstaudio? ( |
50 |
- media-libs/gstreamer:1.0 |
51 |
- media-libs/gst-plugins-base:1.0 |
52 |
- media-libs/gst-plugins-good:1.0 |
53 |
- ) |
54 |
- >=x11-libs/pixman-0.17.7 |
55 |
- media-libs/opus |
56 |
- gtk3? ( x11-libs/gtk+:3[introspection?] ) |
57 |
>=dev-libs/glib-2.46:2 |
58 |
- >=x11-libs/cairo-1.2 |
59 |
- virtual/jpeg:0= |
60 |
+ dev-libs/json-glib:0= |
61 |
+ media-libs/gst-plugins-base:1.0 |
62 |
+ media-libs/gst-plugins-good:1.0 |
63 |
+ media-libs/gstreamer:1.0 |
64 |
+ media-libs/opus |
65 |
sys-libs/zlib |
66 |
+ virtual/jpeg:0= |
67 |
+ >=x11-libs/cairo-1.2 |
68 |
+ >=x11-libs/pixman-0.17.7 |
69 |
+ gtk3? ( x11-libs/gtk+:3[introspection?] ) |
70 |
introspection? ( dev-libs/gobject-introspection ) |
71 |
+ !libressl? ( dev-libs/openssl:0= ) |
72 |
+ libressl? ( dev-libs/libressl:0= ) |
73 |
lz4? ( app-arch/lz4 ) |
74 |
+ pulseaudio? ( media-sound/pulseaudio[glib] ) |
75 |
sasl? ( dev-libs/cyrus-sasl ) |
76 |
smartcard? ( app-emulation/qemu[smartcard] ) |
77 |
usbredir? ( |
78 |
sys-apps/hwids |
79 |
>=sys-apps/usbredir-0.4.2 |
80 |
virtual/libusb:1 |
81 |
- virtual/libgudev:= |
82 |
policykit? ( |
83 |
sys-apps/acl |
84 |
>=sys-auth/polkit-0.110-r1 |
85 |
@@ -62,6 +54,15 @@ RDEPEND=" |
86 |
net-libs/phodav:2.0 |
87 |
>=net-libs/libsoup-2.49.91 ) |
88 |
" |
89 |
+# TODO: spice-gtk has an automagic dependency on x11-libs/libva without a |
90 |
+# configure knob. The package is relatively lightweight so we just depend |
91 |
+# on it unconditionally for now. It would be cleaner to transform this into |
92 |
+# a USE="vaapi" conditional and patch the buildsystem... |
93 |
+RDEPEND="${RDEPEND} |
94 |
+ amd64? ( x11-libs/libva:= ) |
95 |
+ arm64? ( x11-libs/libva:= ) |
96 |
+ x86? ( x11-libs/libva:= ) |
97 |
+" |
98 |
DEPEND="${RDEPEND} |
99 |
~app-emulation/spice-protocol-9999 |
100 |
dev-perl/Text-CSV |
101 |
@@ -95,22 +96,19 @@ src_configure() { |
102 |
|
103 |
local myconf |
104 |
myconf=" |
105 |
- $(use_enable static-libs static) |
106 |
+ $(use_with gtk3 gtk 3.0) |
107 |
$(use_enable introspection) |
108 |
+ $(use_enable mjpeg builtin-mjpeg) |
109 |
+ $(use_enable policykit polkit) |
110 |
+ $(use_enable pulseaudio pulse) |
111 |
$(use_with sasl) |
112 |
$(use_enable smartcard) |
113 |
+ $(use_enable static-libs static) |
114 |
$(use_enable usbredir) |
115 |
- $(use_with usbredir usb-ids-path /usr/share/misc/usb.ids) |
116 |
$(use_with usbredir usb-acl-helper-dir /usr/libexec) |
117 |
- $(use_with gtk3 gtk 3.0) |
118 |
- $(use_enable policykit polkit) |
119 |
- $(use_enable pulseaudio pulse) |
120 |
- $(use_enable gstaudio) |
121 |
- $(use_enable gstvideo) |
122 |
- $(use_enable mjpeg builtin-mjpeg) |
123 |
+ $(use_with usbredir usb-ids-path /usr/share/misc/usb.ids) |
124 |
$(use_enable vala) |
125 |
$(use_enable webdav) |
126 |
- $(use_enable dbus) |
127 |
--disable-celt051 |
128 |
--disable-gtk-doc |
129 |
--disable-maintainer-mode |