1 |
commit: 6352118614b23b50639985691c389023e3af9339 |
2 |
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 18 20:39:32 2021 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 18 20:40:12 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63521186 |
7 |
|
8 |
Revert "Revert "app-emulation/spice: Version bump to 0.15.0"" |
9 |
|
10 |
This reverts commit 3e122167d558dba25fa2cbd74e72ac592b47e605. |
11 |
|
12 |
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> |
13 |
|
14 |
app-emulation/spice/Manifest | 2 + |
15 |
app-emulation/spice/spice-0.15.0.ebuild | 104 ++++++++++++++++++++++++++++++++ |
16 |
2 files changed, 106 insertions(+) |
17 |
|
18 |
diff --git a/app-emulation/spice/Manifest b/app-emulation/spice/Manifest |
19 |
index 7b50d54451c..0135aefa813 100644 |
20 |
--- a/app-emulation/spice/Manifest |
21 |
+++ b/app-emulation/spice/Manifest |
22 |
@@ -1 +1,3 @@ |
23 |
DIST spice-0.14.3.tar.bz2 1504304 BLAKE2B be655e1d4c48dae29903ab8e0dc52da63723e3252052afccc9587065531f28c8af7dbab4c585093f26d98f2273c6e734a553c18d4779a9f4464334ae1764f682 SHA512 9ecdc455ff25c71ac1fe6c576654b51efbfb860110bd6828065d23f7462d5c5cac772074d1a40f033386258d970b77275b2007bcfdffb23fdff2137154ea46e4 |
24 |
+DIST spice-0.15.0-pthread-c5fe3df1.patch.bz2 7605 BLAKE2B 86b8094a22a02080db038ef98972bf09f391d5344fee8df2aa7d2def0b50a581353cb0e3dd97f99bbd58b88a13ceac4b54be8086a9f4274f38d132b27b62e84d SHA512 5075bd260b33c2dad8c3ce641372383871f7d69190a4f4697bd5e12af1bf5429310c592961de001d36c19a9cdd91143b8d6e8be0e08b3850b9700c2aef2ddd78 |
25 |
+DIST spice-0.15.0.tar.bz2 1537970 BLAKE2B 98e8f55de81a86c6370e4a74c0fd90db78a9a8e8e3af536bccd6a2a75185194ac7b87521163090c4312e392d2ee10036c0283171c7796aea630e1307128a2d55 SHA512 0a776d191c395ce1f7ebbbac47956a00a2765327d3127aeca6e232bd56fd4ccd28750ae1599eb6eb2909ac909cda517d5511faa631166db16b8b75bd4e7b86d9 |
26 |
|
27 |
diff --git a/app-emulation/spice/spice-0.15.0.ebuild b/app-emulation/spice/spice-0.15.0.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..30f4642538d |
30 |
--- /dev/null |
31 |
+++ b/app-emulation/spice/spice-0.15.0.ebuild |
32 |
@@ -0,0 +1,104 @@ |
33 |
+# Copyright 1999-2021 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+PYTHON_COMPAT=( python3_{7,8,9} ) |
39 |
+inherit autotools python-any-r1 readme.gentoo-r1 xdg-utils |
40 |
+ |
41 |
+DESCRIPTION="SPICE server" |
42 |
+HOMEPAGE="https://www.spice-space.org/" |
43 |
+SRC_URI="https://www.spice-space.org/download/releases/spice-server/${P}.tar.bz2" |
44 |
+SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-pthread-c5fe3df1.patch.bz2" |
45 |
+ |
46 |
+LICENSE="LGPL-2.1" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" |
49 |
+IUSE="lz4 sasl smartcard static-libs gstreamer test" |
50 |
+ |
51 |
+RESTRICT="!test? ( test )" |
52 |
+ |
53 |
+# the libspice-server only uses the headers of libcacard |
54 |
+RDEPEND=" |
55 |
+ dev-lang/orc[static-libs(+)?] |
56 |
+ >=dev-libs/glib-2.22:2[static-libs(+)?] |
57 |
+ media-libs/opus[static-libs(+)?] |
58 |
+ sys-libs/zlib[static-libs(+)?] |
59 |
+ virtual/jpeg:0=[static-libs(+)?] |
60 |
+ >=x11-libs/pixman-0.17.7[static-libs(+)?] |
61 |
+ dev-libs/openssl: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 |
+ >=app-emulation/spice-protocol-0.14.0 |
71 |
+ smartcard? ( app-emulation/qemu[smartcard] ) |
72 |
+ test? ( net-libs/glib-networking )" |
73 |
+BDEPEND="${PYTHON_DEPS} |
74 |
+ virtual/pkgconfig |
75 |
+ $(python_gen_any_dep ' |
76 |
+ >=dev-python/pyparsing-1.5.6-r2[${PYTHON_USEDEP}] |
77 |
+ dev-python/six[${PYTHON_USEDEP}] |
78 |
+ ')" |
79 |
+ |
80 |
+PATCHES=( |
81 |
+ "${WORKDIR}"/${P}-pthread-c5fe3df1.patch |
82 |
+) |
83 |
+ |
84 |
+python_check_deps() { |
85 |
+ has_version -b ">=dev-python/pyparsing-1.5.6-r2[${PYTHON_USEDEP}]" |
86 |
+ has_version -b "dev-python/six[${PYTHON_USEDEP}]" |
87 |
+} |
88 |
+ |
89 |
+pkg_setup() { |
90 |
+ [[ ${MERGE_TYPE} != binary ]] && python-any-r1_pkg_setup |
91 |
+} |
92 |
+ |
93 |
+src_prepare() { |
94 |
+ default |
95 |
+ |
96 |
+ eautoreconf |
97 |
+} |
98 |
+ |
99 |
+src_configure() { |
100 |
+ # Prevent sandbox violations, bug #586560 |
101 |
+ # https://bugzilla.gnome.org/show_bug.cgi?id=744134 |
102 |
+ # https://bugzilla.gnome.org/show_bug.cgi?id=744135 |
103 |
+ addpredict /dev |
104 |
+ |
105 |
+ xdg_environment_reset |
106 |
+ |
107 |
+ local myconf=" |
108 |
+ $(use_enable static-libs static) |
109 |
+ $(use_enable lz4) |
110 |
+ $(use_with sasl) |
111 |
+ $(use_enable smartcard) |
112 |
+ $(use_enable test tests) |
113 |
+ --enable-gstreamer=$(usex gstreamer "1.0" "no") |
114 |
+ --disable-celt051 |
115 |
+ " |
116 |
+ econf ${myconf} |
117 |
+} |
118 |
+ |
119 |
+src_compile() { |
120 |
+ # Prevent sandbox violations, bug #586560 |
121 |
+ # https://bugzilla.gnome.org/show_bug.cgi?id=744134 |
122 |
+ # https://bugzilla.gnome.org/show_bug.cgi?id=744135 |
123 |
+ addpredict /dev |
124 |
+ |
125 |
+ default |
126 |
+} |
127 |
+ |
128 |
+src_install() { |
129 |
+ default |
130 |
+ use static-libs || find "${D}" -name '*.la' -type f -delete || die |
131 |
+ readme.gentoo_create_doc |
132 |
+} |
133 |
+ |
134 |
+pkg_postinst() { |
135 |
+ readme.gentoo_print_elog |
136 |
+} |