Gentoo Archives: gentoo-commits

From: Yixun Lan <dlan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/spice-gtk/
Date: Tue, 01 Nov 2016 02:50:38
Message-Id: 1477968383.ab2cd132f37ada44811b6ba10660b4d4338e7e6b.dlan@gentoo
1 commit: ab2cd132f37ada44811b6ba10660b4d4338e7e6b
2 Author: Yixun Lan <dlan <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 31 23:16:55 2016 +0000
4 Commit: Yixun Lan <dlan <AT> gentoo <DOT> org>
5 CommitDate: Tue Nov 1 02:46:23 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab2cd132
7
8 net-misc/spice-gtk: version bump 0.33
9
10 Package-Manager: portage-2.3.2
11
12 net-misc/spice-gtk/Manifest | 1 +
13 net-misc/spice-gtk/spice-gtk-0.33.ebuild | 147 +++++++++++++++++++++++++++++++
14 2 files changed, 148 insertions(+)
15
16 diff --git a/net-misc/spice-gtk/Manifest b/net-misc/spice-gtk/Manifest
17 index db07b0d..d12971b 100644
18 --- a/net-misc/spice-gtk/Manifest
19 +++ b/net-misc/spice-gtk/Manifest
20 @@ -1,2 +1,3 @@
21 DIST spice-gtk-0.31.tar.bz2 1340962 SHA256 c72b4d202b1c0b71d6e24ce5caf914d6dddbcf4010d10db9c2d8e73af728c1ca SHA512 f4aeaa8571829235c9f70b31676998d5c2c691619e63c26d374c62c3be9c2b4a0598f0fa7c5cce1db13fa60fd3b4d6053ce263fbd714add1f2791519a5c5038a WHIRLPOOL b0a2684288890c3dd7c07e56abd037eba1aa337b8bf8ec8c3dc9ceddd80772ab2eee36b4e021a5a08a86180c50625a495aa0b23f9da28508b5dafb165537c8ee
22 DIST spice-gtk-0.32.tar.bz2 1342742 SHA256 4c48f4099335e0cd100854162a44070d34ed73dfcad2115e80c075013b49ee02 SHA512 6c677c814b9256404effdab177695e186342f81aa11cfe8ff49df8d0ee19b7c7ed51468b75b32318a763c826a46832c9dfe93ba8dc4d1ef7d5943b7db2160f45 WHIRLPOOL 9ba5793f8f8a08307b149d4ff3286ce885bee8b2203e634f64519443ac7d55a83d2e1dc2e351d1c862833fcf5056b6cf0e5de61a18062ca513d0c71e8bcb3856
23 +DIST spice-gtk-0.33.tar.bz2 1383927 SHA256 7daf33b786ab8ebc9fe6e7b11745100ee1ab66e61a5811d1d5aabe4d66eaaf39 SHA512 ee5750194057a7f568641f6382d6969b67dc7271b4d13037570b79cdecd70a7eeb457ad349d3ed8e576f1fbd9701fac7d24607d5cbde8af0e030433b347abc80 WHIRLPOOL efe5f1684ac1ff569b744309ab18dfd0369411f1963e001060646ca7db5724bf2e306178963e104dba08c02c89782a08e2f8ce0db346efe28eeb495f9d5db4d8
24
25 diff --git a/net-misc/spice-gtk/spice-gtk-0.33.ebuild b/net-misc/spice-gtk/spice-gtk-0.33.ebuild
26 new file mode 100644
27 index 00000000..18cac15
28 --- /dev/null
29 +++ b/net-misc/spice-gtk/spice-gtk-0.33.ebuild
30 @@ -0,0 +1,147 @@
31 +# Copyright 1999-2016 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +# $Id$
34 +
35 +EAPI=5
36 +GCONF_DEBUG="no"
37 +WANT_AUTOMAKE="1.12"
38 +VALA_MIN_API_VERSION="0.14"
39 +VALA_USE_DEPEND="vapigen"
40 +
41 +inherit autotools eutils vala readme.gentoo-r1
42 +
43 +DESCRIPTION="Set of GObject and Gtk objects for connecting to Spice servers and a client GUI"
44 +HOMEPAGE="http://spice-space.org https://cgit.freedesktop.org/spice/spice-gtk/"
45 +
46 +LICENSE="LGPL-2.1"
47 +SLOT="0"
48 +SRC_URI="http://spice-space.org/download/gtk/${P}.tar.bz2"
49 +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
50 +IUSE="dbus gstaudio gstvideo gtk3 +introspection lz4 mjpeg policykit pulseaudio sasl smartcard static-libs usbredir vala webdav libressl"
51 +
52 +REQUIRED_USE="?? ( pulseaudio gstaudio )"
53 +
54 +# TODO:
55 +# * check if sys-freebsd/freebsd-lib (from virtual/acl) provides acl/libacl.h
56 +# * use external pnp.ids as soon as that means not pulling in gnome-desktop
57 +RDEPEND="
58 + !libressl? ( dev-libs/openssl:0= )
59 + libressl? ( dev-libs/libressl:0= )
60 + pulseaudio? ( media-sound/pulseaudio[glib] )
61 + gstvideo? (
62 + media-libs/gstreamer:1.0
63 + media-libs/gst-plugins-base:1.0
64 + media-libs/gst-plugins-good:1.0
65 + )
66 + gstaudio? (
67 + media-libs/gstreamer:1.0
68 + media-libs/gst-plugins-base:1.0
69 + media-libs/gst-plugins-good:1.0
70 + )
71 + >=x11-libs/pixman-0.17.7
72 + >=media-libs/celt-0.5.1.1:0.5.1
73 + media-libs/opus
74 + gtk3? ( x11-libs/gtk+:3[introspection?] )
75 + >=dev-libs/glib-2.36:2
76 + >=x11-libs/cairo-1.2
77 + virtual/jpeg:0=
78 + sys-libs/zlib
79 + introspection? ( dev-libs/gobject-introspection )
80 + lz4? ( app-arch/lz4 )
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-util/gtk-doc-am-1.14
102 + >=dev-util/intltool-0.40.0
103 + >=sys-devel/gettext-0.17
104 + virtual/pkgconfig
105 + vala? ( $(vala_depend) )
106 +"
107 +
108 +# Hard-deps while building from git:
109 +# dev-lang/vala:0.14
110 +# dev-lang/perl
111 +
112 +src_prepare() {
113 + epatch_user
114 +
115 + AT_NO_RECURSIVE="yes" eautoreconf
116 +
117 + use vala && vala_src_prepare
118 +}
119 +
120 +src_configure() {
121 + # Prevent sandbox violations, bug #581836
122 + # https://bugzilla.gnome.org/show_bug.cgi?id=744134
123 + # https://bugzilla.gnome.org/show_bug.cgi?id=744135
124 + addpredict /dev
125 +
126 + local myconf
127 +
128 + if use vala ; then
129 + # force vala regen for MinGW, etc
130 + rm -fv gtk/controller/controller.{c,vala.stamp} gtk/controller/menu.c
131 + fi
132 +
133 + myconf="
134 + --disable-maintainer-mode \
135 + $(use_enable static-libs static) \
136 + $(use_enable introspection) \
137 + $(use_with sasl) \
138 + $(use_enable smartcard) \
139 + $(use_enable usbredir) \
140 + $(use_with usbredir usb-ids-path /usr/share/misc/usb.ids) \
141 + $(use_with usbredir usb-acl-helper-dir /usr/libexec) \
142 + $(use_with gtk3 gtk 3.0) \
143 + $(use_enable policykit polkit) \
144 + $(use_enable pulseaudio pulse) \
145 + $(use_enable gstaudio) \
146 + $(use_enable gstvideo) \
147 + $(use_enable mjpeg builtin-mjpeg) \
148 + $(use_enable vala) \
149 + $(use_enable webdav) \
150 + $(use_enable dbus) \
151 + --disable-gtk-doc \
152 + --disable-werror \
153 + --enable-pie"
154 +
155 + econf ${myconf}
156 +}
157 +
158 +src_compile() {
159 + # Prevent sandbox violations, bug #581836
160 + # https://bugzilla.gnome.org/show_bug.cgi?id=744134
161 + # https://bugzilla.gnome.org/show_bug.cgi?id=744135
162 + addpredict /dev
163 +
164 + default
165 +}
166 +
167 +src_install() {
168 + default
169 +
170 + dodoc AUTHORS ChangeLog NEWS README THANKS TODO
171 +
172 + # Remove .la files if they're not needed
173 + use static-libs || prune_libtool_files
174 +
175 + make_desktop_entry spicy Spicy "utilities-terminal" "Network;RemoteAccess;"
176 + readme.gentoo_create_doc
177 +}