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