From 908778078736bd36f7a60a2d576d415cb8e000fa Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 22 May 2021 07:31:18 +0100 Subject: gentoo resync : 22.05.2021 --- app-emulation/spice/Manifest | 3 + app-emulation/spice/spice-0.15.0.ebuild | 104 ++++++++++++++++++++++++++++++++ 2 files changed, 107 insertions(+) create mode 100644 app-emulation/spice/spice-0.15.0.ebuild (limited to 'app-emulation/spice') diff --git a/app-emulation/spice/Manifest b/app-emulation/spice/Manifest index 0058b529a7ea..5cbe8252d4f5 100644 --- a/app-emulation/spice/Manifest +++ b/app-emulation/spice/Manifest @@ -4,7 +4,10 @@ AUX spice-0.14.3-CVE-2020-14355-762e0aba.patch 533 BLAKE2B f6ecb51c2ef568d7e9c34 AUX spice-0.14.3-CVE-2020-14355-b24fe6b6.patch 876 BLAKE2B 7ba5c57e7ca7265f6d42bf475403ba1f1ce3690b1d6ab9d9c65ee722005a1b198b7b6a5ffb0d94a2dea1c67eb7ecd2585d6974c43ffae1dd25a2bc51781d5483 SHA512 b13f1b44d3452b5b246efb1b98f9b4b9bcff8ed9161bfa79d31fb4404cc499772144676a96b37b1cb94c7e9036c23df092fb1a878651555164e733d0fafb0712 AUX spice-0.14.3-CVE-2020-14355-ef1b6ff7.patch 759 BLAKE2B 8d3f0b5d03d79dc1c02efec9f3746d4d8a5fc3be9b4a98a1b1b6f325cb19a03dbc2d29ab5c7a3a7bb807fda2bd52080c87d706a1c61eff15bc74a8c65a60f8ce SHA512 9b72fb0195feb5ddbce7dacca0459d2f5ad00a72c0f45488debae50c188b14274ae8a7208052e85ca42793a6be3a7483c816f1f381015ea5fe42fa05bb2a9f5a DIST spice-0.14.3.tar.bz2 1504304 BLAKE2B be655e1d4c48dae29903ab8e0dc52da63723e3252052afccc9587065531f28c8af7dbab4c585093f26d98f2273c6e734a553c18d4779a9f4464334ae1764f682 SHA512 9ecdc455ff25c71ac1fe6c576654b51efbfb860110bd6828065d23f7462d5c5cac772074d1a40f033386258d970b77275b2007bcfdffb23fdff2137154ea46e4 +DIST spice-0.15.0-pthread-c5fe3df1.patch.bz2 7605 BLAKE2B 86b8094a22a02080db038ef98972bf09f391d5344fee8df2aa7d2def0b50a581353cb0e3dd97f99bbd58b88a13ceac4b54be8086a9f4274f38d132b27b62e84d SHA512 5075bd260b33c2dad8c3ce641372383871f7d69190a4f4697bd5e12af1bf5429310c592961de001d36c19a9cdd91143b8d6e8be0e08b3850b9700c2aef2ddd78 +DIST spice-0.15.0.tar.bz2 1537970 BLAKE2B 98e8f55de81a86c6370e4a74c0fd90db78a9a8e8e3af536bccd6a2a75185194ac7b87521163090c4312e392d2ee10036c0283171c7796aea630e1307128a2d55 SHA512 0a776d191c395ce1f7ebbbac47956a00a2765327d3127aeca6e232bd56fd4ccd28750ae1599eb6eb2909ac909cda517d5511faa631166db16b8b75bd4e7b86d9 EBUILD spice-0.14.3-r1.ebuild 2621 BLAKE2B 5aa069382b144ce2f338821472519d7812794b731b36a442240fbfcbc0a3ea67aedc9e29658803775d86eb2af5712bd33cbf10809e87911a6165e878a422f582 SHA512 a0dc8069d249d8166875aefe31ab9101ef16a230b48d759e534183c4df10f1a218cf0d9edcbe4704cbfb52d999e1b34deb821d543e3b25deac7d748757c54a5a EBUILD spice-0.14.3.ebuild 2310 BLAKE2B 86625e340900ec8d98cb005f174bcc476b87701080567645b4434c1ad563a54dc83c32078989f9e3ab5691c34f0c5ae3db0d14f3716995f79680f55737700294 SHA512 d9efffe7a3424f5741733ded820cbd07d3d4b4e9bcc8a292ea9dd2f1dc67e2d05efbceed3ccd030f996e1b6a042ac46116b755f04aa9b7860100bf2977182c23 +EBUILD spice-0.15.0.ebuild 2567 BLAKE2B 868bd8b926b9772d2e9e69db95f5997450d30d11634f7307849df95a959e348c6e6998003e58387e93a64c767b709ea3a2e8361098000d630985d6d70f78bde3 SHA512 0b6eb0f8f0239feb04a4fe5115879692f9aa50721b65cd83d92d1386ea934146cdac807ff1738c03a45007fdedc397e9cad6ea250b3b124dea10b2cbbb26de1f EBUILD spice-9999.ebuild 2297 BLAKE2B ad91d32b9df3b604d1d529b93a103a1e9b1cf753fdb8fdce0c4279131fe7ce47b18ea8ad29c53876441bebc80cb13ac1501ea38a34e29b603932624824629c03 SHA512 e3f9b1fab98362588d8c274539b396d1eaec8fa2e7de5745222f9756ae903bc65da7e3b87b863ce44aadbada7e67362b526cedbcf74b06ad6a90f7ecb94e9972 MISC metadata.xml 385 BLAKE2B 599bae33d9264b8b3b4474b0d2234d66e6c6f2cd3da1710bfea64f75570264da7f4de712cecb95408a059f70e3dba2de2a421c02f1f728e39c2bf913c2c570a0 SHA512 c75966298d69fb56b3e16c98b0cc7b3b2514d2ad2a6b790777c00493754e678388f0eb17fbabc6f58a667883e87d2a4f19c2a1c34f5c87f81fb13a8948ab85c8 diff --git a/app-emulation/spice/spice-0.15.0.ebuild b/app-emulation/spice/spice-0.15.0.ebuild new file mode 100644 index 000000000000..30f4642538da --- /dev/null +++ b/app-emulation/spice/spice-0.15.0.ebuild @@ -0,0 +1,104 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9} ) +inherit autotools python-any-r1 readme.gentoo-r1 xdg-utils + +DESCRIPTION="SPICE server" +HOMEPAGE="https://www.spice-space.org/" +SRC_URI="https://www.spice-space.org/download/releases/spice-server/${P}.tar.bz2" +SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-pthread-c5fe3df1.patch.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +IUSE="lz4 sasl smartcard static-libs gstreamer test" + +RESTRICT="!test? ( test )" + +# the libspice-server only uses the headers of libcacard +RDEPEND=" + dev-lang/orc[static-libs(+)?] + >=dev-libs/glib-2.22:2[static-libs(+)?] + media-libs/opus[static-libs(+)?] + sys-libs/zlib[static-libs(+)?] + virtual/jpeg:0=[static-libs(+)?] + >=x11-libs/pixman-0.17.7[static-libs(+)?] + dev-libs/openssl:0=[static-libs(+)?] + lz4? ( app-arch/lz4:0=[static-libs(+)?] ) + smartcard? ( >=app-emulation/libcacard-0.1.2 ) + sasl? ( dev-libs/cyrus-sasl[static-libs(+)?] ) + gstreamer? ( + media-libs/gstreamer:1.0 + media-libs/gst-plugins-base:1.0 + )" +DEPEND="${RDEPEND} + >=app-emulation/spice-protocol-0.14.0 + smartcard? ( app-emulation/qemu[smartcard] ) + test? ( net-libs/glib-networking )" +BDEPEND="${PYTHON_DEPS} + virtual/pkgconfig + $(python_gen_any_dep ' + >=dev-python/pyparsing-1.5.6-r2[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + ')" + +PATCHES=( + "${WORKDIR}"/${P}-pthread-c5fe3df1.patch +) + +python_check_deps() { + has_version -b ">=dev-python/pyparsing-1.5.6-r2[${PYTHON_USEDEP}]" + has_version -b "dev-python/six[${PYTHON_USEDEP}]" +} + +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && python-any-r1_pkg_setup +} + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + # Prevent sandbox violations, bug #586560 + # https://bugzilla.gnome.org/show_bug.cgi?id=744134 + # https://bugzilla.gnome.org/show_bug.cgi?id=744135 + addpredict /dev + + xdg_environment_reset + + local myconf=" + $(use_enable static-libs static) + $(use_enable lz4) + $(use_with sasl) + $(use_enable smartcard) + $(use_enable test tests) + --enable-gstreamer=$(usex gstreamer "1.0" "no") + --disable-celt051 + " + econf ${myconf} +} + +src_compile() { + # Prevent sandbox violations, bug #586560 + # https://bugzilla.gnome.org/show_bug.cgi?id=744134 + # https://bugzilla.gnome.org/show_bug.cgi?id=744135 + addpredict /dev + + default +} + +src_install() { + default + use static-libs || find "${D}" -name '*.la' -type f -delete || die + readme.gentoo_create_doc +} + +pkg_postinst() { + readme.gentoo_print_elog +} -- cgit v1.2.3