1 |
commit: f7e5f000d6c0d493fdac4217b6f328d0c69bc9e8 |
2 |
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 28 18:32:33 2019 +0000 |
4 |
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 28 19:37:14 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7e5f000 |
7 |
|
8 |
app-emulation/spice: version bump to 0.14.2 |
9 |
|
10 |
* drop python2.7 |
11 |
|
12 |
Closes: https://bugs.gentoo.org/664476 |
13 |
|
14 |
Package-Manager: Portage-2.3.69, Repoman-2.3.16 |
15 |
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org> |
16 |
|
17 |
app-emulation/spice/Manifest | 1 + |
18 |
app-emulation/spice/spice-0.14.2.ebuild | 100 ++++++++++++++++++++++++++++++++ |
19 |
2 files changed, 101 insertions(+) |
20 |
|
21 |
diff --git a/app-emulation/spice/Manifest b/app-emulation/spice/Manifest |
22 |
index 6b3b7c613b4..e7646821caa 100644 |
23 |
--- a/app-emulation/spice/Manifest |
24 |
+++ b/app-emulation/spice/Manifest |
25 |
@@ -1 +1,2 @@ |
26 |
DIST spice-0.14.0.tar.bz2 1330195 BLAKE2B 08f93e8ddeb79adb4feac0557a854cc41fd096a9dfefc0baaca176803c2a03ef9286c4f61a135d62ad22e3ac3f4bb31ffd1614c8ddeaec7ae8c01eca34da1750 SHA512 84532146aa628ca6ca459a82afb89d6391892e063668fd4a68023c92cee7ca868b6c82e31dd9886819b76ea745ebdae0d0030e1f608d8f58f51c00f0b09bae1f |
27 |
+DIST spice-0.14.2.tar.bz2 1406009 BLAKE2B e6c57bedd8c8ec0444da194be7279b895bf348dfa9b427d20301cc223627bcd65b7037280bc2a3d0b531b0cdcd8cb62d34ee132c549ac3dc8f6e5a2959339ce2 SHA512 1093b618ea4a7ff31944429ce2903abecfc8d20c35f2d9c8c837a6e053ee429c0115e40665542637a717869209523ac05d15cdb5e77563102d5d3915e4aaaf76 |
28 |
|
29 |
diff --git a/app-emulation/spice/spice-0.14.2.ebuild b/app-emulation/spice/spice-0.14.2.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000000..464cb7d9c62 |
32 |
--- /dev/null |
33 |
+++ b/app-emulation/spice/spice-0.14.2.ebuild |
34 |
@@ -0,0 +1,100 @@ |
35 |
+# Copyright 1999-2019 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=7 |
39 |
+PYTHON_COMPAT=( python{3_5,3_6,3_7} ) |
40 |
+ |
41 |
+inherit autotools python-any-r1 readme.gentoo-r1 xdg-utils |
42 |
+ |
43 |
+DESCRIPTION="SPICE server" |
44 |
+HOMEPAGE="https://www.spice-space.org/" |
45 |
+SRC_URI="https://www.spice-space.org/download/releases/spice-server/${P}.tar.bz2" |
46 |
+ |
47 |
+LICENSE="LGPL-2.1" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64 ~arm64 ~x86" |
50 |
+IUSE="libressl lz4 sasl smartcard static-libs gstreamer" |
51 |
+ |
52 |
+# the libspice-server only uses the headers of libcacard |
53 |
+RDEPEND=" |
54 |
+ dev-lang/orc[static-libs(+)?] |
55 |
+ >=dev-libs/glib-2.22:2[static-libs(+)?] |
56 |
+ media-libs/opus[static-libs(+)?] |
57 |
+ sys-libs/zlib[static-libs(+)?] |
58 |
+ virtual/jpeg:0=[static-libs(+)?] |
59 |
+ >=x11-libs/pixman-0.17.7[static-libs(+)?] |
60 |
+ !libressl? ( dev-libs/openssl:0=[static-libs(+)?] ) |
61 |
+ libressl? ( dev-libs/libressl:0=[static-libs(+)?] ) |
62 |
+ lz4? ( app-arch/lz4:0=[static-libs(+)?] ) |
63 |
+ smartcard? ( >=app-emulation/libcacard-0.1.2 ) |
64 |
+ sasl? ( dev-libs/cyrus-sasl[static-libs(+)?] ) |
65 |
+ gstreamer? ( |
66 |
+ media-libs/gstreamer:1.0 |
67 |
+ media-libs/gst-plugins-base:1.0 |
68 |
+ )" |
69 |
+DEPEND="${RDEPEND} |
70 |
+ ${PYTHON_DEPS} |
71 |
+ >=app-emulation/spice-protocol-0.14.0 |
72 |
+ virtual/pkgconfig |
73 |
+ $(python_gen_any_dep ' |
74 |
+ >=dev-python/pyparsing-1.5.6-r2[${PYTHON_USEDEP}] |
75 |
+ dev-python/six[${PYTHON_USEDEP}] |
76 |
+ ') |
77 |
+ smartcard? ( app-emulation/qemu[smartcard] )" |
78 |
+ |
79 |
+PATCHES=( |
80 |
+ "${FILESDIR}"/${PN}-0.14.0-openssl1.1_fix.patch |
81 |
+) |
82 |
+ |
83 |
+python_check_deps() { |
84 |
+ has_version ">=dev-python/pyparsing-1.5.6-r2[${PYTHON_USEDEP}]" |
85 |
+ has_version "dev-python/six[${PYTHON_USEDEP}]" |
86 |
+} |
87 |
+ |
88 |
+pkg_setup() { |
89 |
+ [[ ${MERGE_TYPE} != binary ]] && python-any-r1_pkg_setup |
90 |
+} |
91 |
+ |
92 |
+src_prepare() { |
93 |
+ default |
94 |
+ |
95 |
+ eautoreconf |
96 |
+} |
97 |
+ |
98 |
+src_configure() { |
99 |
+ # Prevent sandbox violations, bug #586560 |
100 |
+ # https://bugzilla.gnome.org/show_bug.cgi?id=744134 |
101 |
+ # https://bugzilla.gnome.org/show_bug.cgi?id=744135 |
102 |
+ addpredict /dev |
103 |
+ |
104 |
+ xdg_environment_reset |
105 |
+ |
106 |
+ local myconf=" |
107 |
+ $(use_enable static-libs static) |
108 |
+ $(use_enable lz4) |
109 |
+ $(use_with sasl) |
110 |
+ $(use_enable smartcard) |
111 |
+ --enable-gstreamer=$(usex gstreamer "1.0" "no") |
112 |
+ --disable-celt051 |
113 |
+ " |
114 |
+ econf ${myconf} |
115 |
+} |
116 |
+ |
117 |
+src_compile() { |
118 |
+ # Prevent sandbox violations, bug #586560 |
119 |
+ # https://bugzilla.gnome.org/show_bug.cgi?id=744134 |
120 |
+ # https://bugzilla.gnome.org/show_bug.cgi?id=744135 |
121 |
+ addpredict /dev |
122 |
+ |
123 |
+ default |
124 |
+} |
125 |
+ |
126 |
+src_install() { |
127 |
+ default |
128 |
+ use static-libs || find "${D}" -name '*.la' -type f -delete || die |
129 |
+ readme.gentoo_create_doc |
130 |
+} |
131 |
+ |
132 |
+pkg_postinst() { |
133 |
+ readme.gentoo_print_elog |
134 |
+} |