1 |
commit: 2f9879835a0e68dc9fc1f74133d653fb9e3ee2ff |
2 |
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 1 19:50:48 2016 +0000 |
4 |
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 1 20:09:04 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f987983 |
7 |
|
8 |
net-misc/spice-gtk: version bump to 0.31 |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
net-misc/spice-gtk/Manifest | 1 + |
13 |
net-misc/spice-gtk/spice-gtk-0.31.ebuild | 162 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 163 insertions(+) |
15 |
|
16 |
diff --git a/net-misc/spice-gtk/Manifest b/net-misc/spice-gtk/Manifest |
17 |
index bcbce6e..3ca3218 100644 |
18 |
--- a/net-misc/spice-gtk/Manifest |
19 |
+++ b/net-misc/spice-gtk/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST spice-gtk-0.30.tar.bz2 1228727 SHA256 e23323fa399efba17b3c18475ef10a29815851be5e7dbedd246b28ee8eb1379c SHA512 8a0ad6df3b1ab353d1e63178e13e440c07751821d9693a1599d6f61dece6ed20b664511abaa50771b026be0f457787b0bb5b172884e68c7a95d9068b0bb79198 WHIRLPOOL e58798cbabfe716dcf35a7668ed8e9838f347b13dd25e13ec5d290f35da2170d321a9a3bb2701564b14564ee89f2b43c8b6fcb84d85ed2293514a2f7c9d3759a |
22 |
+DIST spice-gtk-0.31.tar.bz2 1340962 SHA256 c72b4d202b1c0b71d6e24ce5caf914d6dddbcf4010d10db9c2d8e73af728c1ca SHA512 f4aeaa8571829235c9f70b31676998d5c2c691619e63c26d374c62c3be9c2b4a0598f0fa7c5cce1db13fa60fd3b4d6053ce263fbd714add1f2791519a5c5038a WHIRLPOOL b0a2684288890c3dd7c07e56abd037eba1aa337b8bf8ec8c3dc9ceddd80772ab2eee36b4e021a5a08a86180c50625a495aa0b23f9da28508b5dafb165537c8ee |
23 |
|
24 |
diff --git a/net-misc/spice-gtk/spice-gtk-0.31.ebuild b/net-misc/spice-gtk/spice-gtk-0.31.ebuild |
25 |
new file mode 100644 |
26 |
index 0000000..1a34129 |
27 |
--- /dev/null |
28 |
+++ b/net-misc/spice-gtk/spice-gtk-0.31.ebuild |
29 |
@@ -0,0 +1,162 @@ |
30 |
+# Copyright 1999-2016 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+# $Id$ |
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=( python2_7 python3_4 ) |
41 |
+ |
42 |
+inherit autotools eutils multibuild python-single-r1 vala |
43 |
+ |
44 |
+DESCRIPTION="Set of GObject and Gtk objects for connecting to Spice servers and a client GUI" |
45 |
+HOMEPAGE="http://spice-space.org http://gitorious.org/spice-gtk" |
46 |
+ |
47 |
+LICENSE="LGPL-2.1" |
48 |
+SLOT="0" |
49 |
+SRC_URI="http://spice-space.org/download/gtk/${P}.tar.bz2" |
50 |
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
51 |
+IUSE="dbus gstreamer gtk3 +introspection lz4 policykit pulseaudio python sasl smartcard static-libs usbredir vala webdav" |
52 |
+ |
53 |
+REQUIRED_USE=" |
54 |
+ ${PYTHON_REQUIRED_USE} |
55 |
+ ?? ( pulseaudio gstreamer ) |
56 |
+" |
57 |
+ |
58 |
+# TODO: |
59 |
+# * check if sys-freebsd/freebsd-lib (from virtual/acl) provides acl/libacl.h |
60 |
+# * use external pnp.ids as soon as that means not pulling in gnome-desktop |
61 |
+RDEPEND=" |
62 |
+ ${PYTHON_DEPS} |
63 |
+ pulseaudio? ( media-sound/pulseaudio[glib] ) |
64 |
+ gstreamer? ( |
65 |
+ media-libs/gstreamer:1.0 |
66 |
+ media-libs/gst-plugins-base:1.0 |
67 |
+ media-libs/gst-plugins-good:1.0 ) |
68 |
+ >=x11-libs/pixman-0.17.7 |
69 |
+ >=media-libs/celt-0.5.1.1:0.5.1 |
70 |
+ media-libs/opus |
71 |
+ dev-libs/openssl:0= |
72 |
+ gtk3? ( x11-libs/gtk+:3[introspection?] ) |
73 |
+ x11-libs/gtk+:2[introspection?] |
74 |
+ >=dev-libs/glib-2.28:2 |
75 |
+ >=x11-libs/cairo-1.2 |
76 |
+ virtual/jpeg:0= |
77 |
+ sys-libs/zlib |
78 |
+ introspection? ( dev-libs/gobject-introspection ) |
79 |
+ lz4? ( app-arch/lz4 ) |
80 |
+ python? ( dev-python/pygtk:2 ) |
81 |
+ sasl? ( dev-libs/cyrus-sasl ) |
82 |
+ smartcard? ( app-emulation/qemu[smartcard] ) |
83 |
+ usbredir? ( |
84 |
+ sys-apps/hwids |
85 |
+ >=sys-apps/usbredir-0.4.2 |
86 |
+ virtual/libusb:1 |
87 |
+ virtual/libgudev:= |
88 |
+ policykit? ( |
89 |
+ sys-apps/acl |
90 |
+ >=sys-auth/polkit-0.110-r1 |
91 |
+ !~sys-auth/polkit-0.111 ) |
92 |
+ ) |
93 |
+ webdav? ( |
94 |
+ net-libs/phodav:2.0 |
95 |
+ >=dev-libs/glib-2.43.90:2 |
96 |
+ >=net-libs/libsoup-2.49.91 ) |
97 |
+" |
98 |
+DEPEND="${RDEPEND} |
99 |
+ ~app-emulation/spice-protocol-0.12.11 |
100 |
+ dev-perl/Text-CSV |
101 |
+ dev-python/pyparsing[${PYTHON_USEDEP}] |
102 |
+ dev-python/six[${PYTHON_USEDEP}] |
103 |
+ >=dev-util/gtk-doc-am-1.14 |
104 |
+ >=dev-util/intltool-0.40.0 |
105 |
+ ${PYTHON_DEPS} |
106 |
+ >=sys-devel/gettext-0.17 |
107 |
+ virtual/pkgconfig |
108 |
+ vala? ( $(vala_depend) ) |
109 |
+" |
110 |
+ |
111 |
+# Hard-deps while building from git: |
112 |
+# dev-lang/vala:0.14 |
113 |
+# dev-lang/perl |
114 |
+ |
115 |
+src_prepare() { |
116 |
+ epatch_user |
117 |
+ |
118 |
+ AT_NO_RECURSIVE="yes" eautoreconf |
119 |
+ |
120 |
+ use vala && vala_src_prepare |
121 |
+} |
122 |
+ |
123 |
+src_configure() { |
124 |
+ local myconf |
125 |
+ local audio="no" |
126 |
+ |
127 |
+ use gstreamer && audio="gstreamer" |
128 |
+ use pulseaudio && audio="pulse" |
129 |
+ |
130 |
+ if use vala ; then |
131 |
+ # force vala regen for MinGW, etc |
132 |
+ rm -fv gtk/controller/controller.{c,vala.stamp} gtk/controller/menu.c |
133 |
+ fi |
134 |
+ |
135 |
+ myconf=" |
136 |
+ --disable-maintainer-mode \ |
137 |
+ $(use_enable static-libs static) \ |
138 |
+ $(use_enable introspection) \ |
139 |
+ --with-audio=${audio} \ |
140 |
+ $(use_with sasl) \ |
141 |
+ $(use_enable smartcard) \ |
142 |
+ $(use_enable usbredir) \ |
143 |
+ $(use_with usbredir usb-ids-path /usr/share/misc/usb.ids) \ |
144 |
+ $(use_with usbredir usb-acl-helper-dir /usr/libexec) \ |
145 |
+ $(use_enable policykit polkit) \ |
146 |
+ $(use_enable vala) \ |
147 |
+ $(use_enable webdav) \ |
148 |
+ $(use_enable dbus) \ |
149 |
+ --disable-gtk-doc \ |
150 |
+ --disable-werror \ |
151 |
+ --enable-pie" |
152 |
+ |
153 |
+ # Parameter of --with-gtk |
154 |
+ MULTIBUILD_VARIANTS=( 2.0 ) |
155 |
+ use gtk3 && MULTIBUILD_VARIANTS+=( 3.0 ) |
156 |
+ |
157 |
+ configure() { |
158 |
+ local myconf=() |
159 |
+ myconf+=( --with-gtk=${MULTIBUILD_VARIANT} ) |
160 |
+ |
161 |
+ if [[ ${MULTIBUILD_ID} =~ "2.0" ]] ; then |
162 |
+ myconf+=( $(use_with python) ) |
163 |
+ else |
164 |
+ myconf+=( --without-python ) |
165 |
+ fi |
166 |
+ |
167 |
+ ECONF_SOURCE="${S}" econf $@ ${myconf[@]} |
168 |
+ } |
169 |
+ multibuild_foreach_variant run_in_build_dir configure ${myconf} |
170 |
+} |
171 |
+ |
172 |
+src_compile() { |
173 |
+ multibuild_foreach_variant run_in_build_dir default |
174 |
+} |
175 |
+ |
176 |
+src_test() { |
177 |
+ multibuild_foreach_variant run_in_build_dir default |
178 |
+} |
179 |
+ |
180 |
+src_install() { |
181 |
+ dodoc AUTHORS ChangeLog NEWS README THANKS TODO |
182 |
+ |
183 |
+ multibuild_foreach_variant run_in_build_dir default |
184 |
+ |
185 |
+ # Remove .la files if they're not needed |
186 |
+ use static-libs || prune_libtool_files |
187 |
+ |
188 |
+ use python && rm -rf "${ED}"/usr/lib*/python*/site-packages/*.la |
189 |
+ |
190 |
+ make_desktop_entry spicy Spicy "utilities-terminal" "Network;RemoteAccess;" |
191 |
+} |