Gentoo Archives: gentoo-commits

From: Matthias Maier <tamiko@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/spice-gtk/
Date: Fri, 17 Aug 2018 00:08:03
Message-Id: 1534464469.3983ae5795f77868d9ad15a1deaa5e351b6af3b7.tamiko@gentoo
1 commit: 3983ae5795f77868d9ad15a1deaa5e351b6af3b7
2 Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 16 22:14:02 2018 +0000
4 Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 17 00:07:49 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3983ae57
7
8 net-misc/spice-gtk: version bump to 0.35
9
10 Package-Manager: Portage-2.3.46, Repoman-2.3.10
11
12 net-misc/spice-gtk/Manifest | 1 +
13 net-misc/spice-gtk/spice-gtk-0.35.ebuild | 153 +++++++++++++++++++++++++++++++
14 2 files changed, 154 insertions(+)
15
16 diff --git a/net-misc/spice-gtk/Manifest b/net-misc/spice-gtk/Manifest
17 index cb5fee8a774..3966ab8aa8c 100644
18 --- a/net-misc/spice-gtk/Manifest
19 +++ b/net-misc/spice-gtk/Manifest
20 @@ -1 +1,2 @@
21 DIST spice-gtk-0.34.tar.bz2 1480566 BLAKE2B 35350cf930d091fa11df1d573f9eff23696745a20e88fcd20783c108b6ddca9064bc4e75d414f23bd94318e37d509e581866c5dcc955cd21ca7c9384b492f0ec SHA512 17ea737511855b47f5eaf5143756483542cf8ee83f8d276cbfb2c0407355f68ed329fcbed8a67737179f3e53587710634d6faa856590234ee68be7b4b13f2689
22 +DIST spice-gtk-0.35.tar.bz2 1437231 BLAKE2B f2731a794cf22b491bf858fff44506288af730b37f1c37e16ac3042d662373b4e4021808d5ca72440012fb36a5119ad11858cb8cf872b04376518487faebef49 SHA512 f0914a4a9baf892e39dab7d51aa9f5ab4dbb4ef01f09da158b20756f890745837d0a6c8c1f7897844e695be2ed01f3b1d04ada1cacc958b5cfadb0d4bf7c4729
23
24 diff --git a/net-misc/spice-gtk/spice-gtk-0.35.ebuild b/net-misc/spice-gtk/spice-gtk-0.35.ebuild
25 new file mode 100644
26 index 00000000000..3bba2079f5f
27 --- /dev/null
28 +++ b/net-misc/spice-gtk/spice-gtk-0.35.ebuild
29 @@ -0,0 +1,153 @@
30 +# Copyright 1999-2018 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=6
34 +GCONF_DEBUG="no"
35 +VALA_MIN_API_VERSION="0.14"
36 +VALA_USE_DEPEND="vapigen"
37 +
38 +inherit autotools eutils xdg-utils vala readme.gentoo-r1
39 +
40 +DESCRIPTION="Set of GObject and Gtk objects for connecting to Spice servers and a client GUI"
41 +HOMEPAGE="https://www.spice-space.org https://cgit.freedesktop.org/spice/spice-gtk/"
42 +
43 +LICENSE="LGPL-2.1"
44 +SLOT="0"
45 +SRC_URI="https://www.spice-space.org/download/gtk/${P}.tar.bz2"
46 +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
47 +IUSE="dbus gstaudio gstvideo +gtk3 +introspection lz4 mjpeg policykit pulseaudio sasl smartcard static-libs usbredir vala webdav libressl"
48 +
49 +REQUIRED_USE="?? ( pulseaudio gstaudio )"
50 +
51 +# TODO:
52 +# * check if sys-freebsd/freebsd-lib (from virtual/acl) provides acl/libacl.h
53 +# * use external pnp.ids as soon as that means not pulling in gnome-desktop
54 +RDEPEND="
55 + !libressl? ( dev-libs/openssl:0= )
56 + libressl? ( dev-libs/libressl:0= )
57 + pulseaudio? ( media-sound/pulseaudio[glib] )
58 + gstvideo? (
59 + media-libs/gstreamer:1.0
60 + media-libs/gst-plugins-base:1.0
61 + media-libs/gst-plugins-good:1.0
62 + )
63 + gstaudio? (
64 + media-libs/gstreamer:1.0
65 + media-libs/gst-plugins-base:1.0
66 + media-libs/gst-plugins-good:1.0
67 + )
68 + >=x11-libs/pixman-0.17.7
69 + media-libs/opus
70 + gtk3? ( x11-libs/gtk+:3[introspection?] )
71 + >=dev-libs/glib-2.36:2
72 + >=x11-libs/cairo-1.2
73 + virtual/jpeg:0=
74 + sys-libs/zlib
75 + introspection? ( dev-libs/gobject-introspection )
76 + lz4? ( app-arch/lz4 )
77 + sasl? ( dev-libs/cyrus-sasl )
78 + smartcard? ( app-emulation/qemu[smartcard] )
79 + usbredir? (
80 + sys-apps/hwids
81 + >=sys-apps/usbredir-0.4.2
82 + virtual/libusb:1
83 + virtual/libgudev:=
84 + policykit? (
85 + sys-apps/acl
86 + >=sys-auth/polkit-0.110-r1
87 + !~sys-auth/polkit-0.111 )
88 + )
89 + webdav? (
90 + net-libs/phodav:2.0
91 + >=dev-libs/glib-2.43.90:2
92 + >=net-libs/libsoup-2.49.91 )
93 +"
94 +DEPEND="${RDEPEND}
95 + >=app-emulation/spice-protocol-0.12.13
96 + dev-perl/Text-CSV
97 + >=dev-util/gtk-doc-am-1.14
98 + >=dev-util/intltool-0.40.0
99 + >=sys-devel/gettext-0.17
100 + virtual/pkgconfig
101 + vala? ( $(vala_depend) )
102 +"
103 +
104 +PATCHES=(
105 + "${FILESDIR}"/${P}-libressl.patch
106 + "${FILESDIR}"/${P}-openssl11.patch
107 +)
108 +
109 +src_prepare() {
110 + # bug 558558
111 + export GIT_CEILING_DIRECTORIES="${WORKDIR}"
112 + echo GIT_CEILING_DIRECTORIES=${GIT_CEILING_DIRECTORIES}
113 +
114 + default
115 +
116 + eautoreconf
117 +
118 + use vala && vala_src_prepare
119 +}
120 +
121 +src_configure() {
122 + # Prevent sandbox violations, bug #581836
123 + # https://bugzilla.gnome.org/show_bug.cgi?id=744134
124 + # https://bugzilla.gnome.org/show_bug.cgi?id=744135
125 + addpredict /dev
126 +
127 + # Clean up environment, bug #586642
128 + xdg_environment_reset
129 +
130 + local myconf
131 +
132 + if use vala ; then
133 + # force vala regen for MinGW, etc
134 + rm -fv gtk/controller/controller.{c,vala.stamp} gtk/controller/menu.c
135 + fi
136 +
137 + myconf="
138 + $(use_enable static-libs static)
139 + $(use_enable introspection)
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_with gtk3 gtk 3.0)
146 + $(use_enable policykit polkit)
147 + $(use_enable pulseaudio pulse)
148 + $(use_enable gstaudio)
149 + $(use_enable gstvideo)
150 + $(use_enable mjpeg builtin-mjpeg)
151 + $(use_enable vala)
152 + $(use_enable webdav)
153 + $(use_enable dbus)
154 + --disable-celt051
155 + --disable-gtk-doc
156 + --disable-maintainer-mode
157 + --disable-werror
158 + --enable-pie"
159 +
160 + econf ${myconf}
161 +}
162 +
163 +src_compile() {
164 + # Prevent sandbox violations, bug #581836
165 + # https://bugzilla.gnome.org/show_bug.cgi?id=744134
166 + # https://bugzilla.gnome.org/show_bug.cgi?id=744135
167 + addpredict /dev
168 +
169 + default
170 +}
171 +
172 +src_install() {
173 + default
174 +
175 + dodoc AUTHORS ChangeLog NEWS README THANKS TODO
176 +
177 + # Remove .la files if they're not needed
178 + use static-libs || prune_libtool_files
179 +
180 + make_desktop_entry spicy Spicy "utilities-terminal" "Network;RemoteAccess;"
181 + readme.gentoo_create_doc
182 +}