1 |
commit: b9f532c895d1a3ab2c47f500d3f8c23d8707aecf |
2 |
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 2 02:02:33 2016 +0000 |
4 |
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 2 02:22:29 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9f532c8 |
7 |
|
8 |
net-misc/spice-gtk: version bump to 0.32 |
9 |
|
10 |
Thanks to Yixun Lun (dlan) for all the work! |
11 |
|
12 |
Package-Manager: portage-2.2.28 |
13 |
|
14 |
net-misc/spice-gtk/Manifest | 1 + |
15 |
net-misc/spice-gtk/metadata.xml | 1 + |
16 |
net-misc/spice-gtk/spice-gtk-0.32.ebuild | 145 +++++++++++++++++++++++++++++++ |
17 |
3 files changed, 147 insertions(+) |
18 |
|
19 |
diff --git a/net-misc/spice-gtk/Manifest b/net-misc/spice-gtk/Manifest |
20 |
index 9bd64db..db07b0d 100644 |
21 |
--- a/net-misc/spice-gtk/Manifest |
22 |
+++ b/net-misc/spice-gtk/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
DIST spice-gtk-0.31.tar.bz2 1340962 SHA256 c72b4d202b1c0b71d6e24ce5caf914d6dddbcf4010d10db9c2d8e73af728c1ca SHA512 f4aeaa8571829235c9f70b31676998d5c2c691619e63c26d374c62c3be9c2b4a0598f0fa7c5cce1db13fa60fd3b4d6053ce263fbd714add1f2791519a5c5038a WHIRLPOOL b0a2684288890c3dd7c07e56abd037eba1aa337b8bf8ec8c3dc9ceddd80772ab2eee36b4e021a5a08a86180c50625a495aa0b23f9da28508b5dafb165537c8ee |
25 |
+DIST spice-gtk-0.32.tar.bz2 1342742 SHA256 4c48f4099335e0cd100854162a44070d34ed73dfcad2115e80c075013b49ee02 SHA512 6c677c814b9256404effdab177695e186342f81aa11cfe8ff49df8d0ee19b7c7ed51468b75b32318a763c826a46832c9dfe93ba8dc4d1ef7d5943b7db2160f45 WHIRLPOOL 9ba5793f8f8a08307b149d4ff3286ce885bee8b2203e634f64519443ac7d55a83d2e1dc2e351d1c862833fcf5056b6cf0e5de61a18062ca513d0c71e8bcb3856 |
26 |
|
27 |
diff --git a/net-misc/spice-gtk/metadata.xml b/net-misc/spice-gtk/metadata.xml |
28 |
index 92aeee0..83884db 100644 |
29 |
--- a/net-misc/spice-gtk/metadata.xml |
30 |
+++ b/net-misc/spice-gtk/metadata.xml |
31 |
@@ -16,6 +16,7 @@ |
32 |
usbredir acl helper</flag> |
33 |
<flag name="usbredir">Use <pkg>sys-apps/usbredir</pkg> to redirect USB |
34 |
devices to another machine over TCP</flag> |
35 |
+ <flag name="mjpeg">Enable builtin mjpeg video decoder</flag> |
36 |
<flag name="webdav">Support for folder-sharing between guest and client |
37 |
using <pkg>net-libs/phodav</pkg></flag> |
38 |
</use> |
39 |
|
40 |
diff --git a/net-misc/spice-gtk/spice-gtk-0.32.ebuild b/net-misc/spice-gtk/spice-gtk-0.32.ebuild |
41 |
new file mode 100644 |
42 |
index 0000000..19402ba |
43 |
--- /dev/null |
44 |
+++ b/net-misc/spice-gtk/spice-gtk-0.32.ebuild |
45 |
@@ -0,0 +1,145 @@ |
46 |
+# Copyright 1999-2016 Gentoo Foundation |
47 |
+# Distributed under the terms of the GNU General Public License v2 |
48 |
+# $Id$ |
49 |
+ |
50 |
+EAPI=5 |
51 |
+GCONF_DEBUG="no" |
52 |
+WANT_AUTOMAKE="1.12" |
53 |
+VALA_MIN_API_VERSION="0.14" |
54 |
+VALA_USE_DEPEND="vapigen" |
55 |
+ |
56 |
+inherit autotools eutils vala |
57 |
+ |
58 |
+DESCRIPTION="Set of GObject and Gtk objects for connecting to Spice servers and a client GUI" |
59 |
+HOMEPAGE="http://spice-space.org https://cgit.freedesktop.org/spice/spice-gtk/" |
60 |
+ |
61 |
+LICENSE="LGPL-2.1" |
62 |
+SLOT="0" |
63 |
+SRC_URI="http://spice-space.org/download/gtk/${P}.tar.bz2" |
64 |
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
65 |
+IUSE="dbus doc gstreamer gtk3 +introspection lz4 mjpeg policykit pulseaudio sasl smartcard static-libs usbredir vala webdav libressl" |
66 |
+ |
67 |
+REQUIRED_USE=" |
68 |
+ ?? ( pulseaudio gstreamer ) |
69 |
+" |
70 |
+ |
71 |
+# TODO: |
72 |
+# * check if sys-freebsd/freebsd-lib (from virtual/acl) provides acl/libacl.h |
73 |
+# * use external pnp.ids as soon as that means not pulling in gnome-desktop |
74 |
+RDEPEND=" |
75 |
+ !libressl? ( dev-libs/openssl:0= ) |
76 |
+ libressl? ( dev-libs/libressl:0= ) |
77 |
+ pulseaudio? ( media-sound/pulseaudio[glib] ) |
78 |
+ gstreamer? ( |
79 |
+ media-libs/gstreamer:1.0 |
80 |
+ media-libs/gst-plugins-base:1.0 |
81 |
+ media-libs/gst-plugins-good:1.0 ) |
82 |
+ >=x11-libs/pixman-0.17.7 |
83 |
+ >=media-libs/celt-0.5.1.1:0.5.1 |
84 |
+ media-libs/opus |
85 |
+ gtk3? ( x11-libs/gtk+:3[introspection?] ) |
86 |
+ >=dev-libs/glib-2.36:2 |
87 |
+ >=x11-libs/cairo-1.2 |
88 |
+ virtual/jpeg:0= |
89 |
+ sys-libs/zlib |
90 |
+ introspection? ( dev-libs/gobject-introspection ) |
91 |
+ lz4? ( app-arch/lz4 ) |
92 |
+ sasl? ( dev-libs/cyrus-sasl ) |
93 |
+ smartcard? ( app-emulation/qemu[smartcard] ) |
94 |
+ usbredir? ( |
95 |
+ sys-apps/hwids |
96 |
+ >=sys-apps/usbredir-0.4.2 |
97 |
+ virtual/libusb:1 |
98 |
+ virtual/libgudev:= |
99 |
+ policykit? ( |
100 |
+ sys-apps/acl |
101 |
+ >=sys-auth/polkit-0.110-r1 |
102 |
+ !~sys-auth/polkit-0.111 ) |
103 |
+ ) |
104 |
+ webdav? ( |
105 |
+ net-libs/phodav:2.0 |
106 |
+ >=dev-libs/glib-2.43.90:2 |
107 |
+ >=net-libs/libsoup-2.49.91 ) |
108 |
+" |
109 |
+DEPEND="${RDEPEND} |
110 |
+ ~app-emulation/spice-protocol-0.12.11 |
111 |
+ dev-perl/Text-CSV |
112 |
+ >=dev-util/gtk-doc-am-1.14 |
113 |
+ >=dev-util/intltool-0.40.0 |
114 |
+ >=sys-devel/gettext-0.17 |
115 |
+ virtual/pkgconfig |
116 |
+ vala? ( $(vala_depend) ) |
117 |
+" |
118 |
+ |
119 |
+# Hard-deps while building from git: |
120 |
+# dev-lang/vala:0.14 |
121 |
+# dev-lang/perl |
122 |
+ |
123 |
+# Prevent sandbox violations, bug #581836 |
124 |
+# https://bugzilla.gnome.org/show_bug.cgi?id=581836 |
125 |
+addpredict /dev |
126 |
+ |
127 |
+src_prepare() { |
128 |
+ epatch_user |
129 |
+ |
130 |
+ AT_NO_RECURSIVE="yes" eautoreconf |
131 |
+ |
132 |
+ use vala && vala_src_prepare |
133 |
+} |
134 |
+ |
135 |
+src_configure() { |
136 |
+ local myconf |
137 |
+ |
138 |
+ if use vala ; then |
139 |
+ # force vala regen for MinGW, etc |
140 |
+ rm -fv gtk/controller/controller.{c,vala.stamp} gtk/controller/menu.c |
141 |
+ fi |
142 |
+ |
143 |
+ myconf=" |
144 |
+ --disable-maintainer-mode \ |
145 |
+ $(use_enable static-libs static) \ |
146 |
+ $(use_enable introspection) \ |
147 |
+ $(use_with sasl) \ |
148 |
+ $(use_enable smartcard) \ |
149 |
+ $(use_enable usbredir) \ |
150 |
+ $(use_with usbredir usb-ids-path /usr/share/misc/usb.ids) \ |
151 |
+ $(use_with usbredir usb-acl-helper-dir /usr/libexec) \ |
152 |
+ $(use_with gtk3 gtk 3.0) \ |
153 |
+ $(use_enable policykit polkit) \ |
154 |
+ $(use_enable pulseaudio pulse) \ |
155 |
+ $(use_enable gstreamer gstaudio) \ |
156 |
+ $(use_enable gstreamer gstvideo) \ |
157 |
+ $(use_enable mjpeg builtin-mjpeg) \ |
158 |
+ $(use_enable vala) \ |
159 |
+ $(use_enable webdav) \ |
160 |
+ $(use_enable dbus) \ |
161 |
+ --disable-werror \ |
162 |
+ --enable-pie" |
163 |
+ |
164 |
+ if use gtk3; then |
165 |
+ myconf+=" \ |
166 |
+ $(use_enable doc gtk-doc) \ |
167 |
+ $(use_enable doc gtk-doc-html)" |
168 |
+ else |
169 |
+ myconf+=" \ |
170 |
+ --disable-gtk-doc \ |
171 |
+ --disable-gtk-doc-html" |
172 |
+ fi |
173 |
+ |
174 |
+ econf ${myconf} |
175 |
+} |
176 |
+ |
177 |
+ |
178 |
+src_install() { |
179 |
+ default |
180 |
+ |
181 |
+ dodoc AUTHORS ChangeLog NEWS README THANKS TODO |
182 |
+ |
183 |
+ # Remove .la files if they're not needed |
184 |
+ use static-libs || prune_libtool_files |
185 |
+ |
186 |
+ # Make sure no gtk-doc bits are installed for -doc |
187 |
+ use doc || rm -rf "${ED}usr/share/gtk-doc" |
188 |
+ |
189 |
+ make_desktop_entry spicy Spicy "utilities-terminal" "Network;RemoteAccess;" |
190 |
+} |