Сравнение spice-0.15.1-r1 с spice-0.15.2

/usr/portage/app-emulation/spice/spice-0.15.2.ebuild 2023-10-09 14:52:28.736368331 +0300
3 3

  
4 4
EAPI=8
5 5

  
6
PYTHON_COMPAT=( python3_{9,10,11} )
7
# Port to meson once https://gitlab.freedesktop.org/spice/spice/-/issues/75 is fixed
8
inherit autotools python-any-r1 readme.gentoo-r1 xdg-utils
6
PYTHON_COMPAT=( python3_{10..11} )
7
inherit meson python-any-r1 readme.gentoo-r1 xdg-utils
9 8

  
10 9
DESCRIPTION="SPICE server"
11 10
HOMEPAGE="https://www.spice-space.org/"
12
SRC_URI="https://www.spice-space.org/download/releases/spice-server/${P}.tar.bz2"
11
if [[ ${PV} == 9999 ]] ; then
12
	EGIT_REPO_URI="https://anongit.freedesktop.org/git/spice/spice.git"
13
	inherit git-r3
14

  
15
	DEPEND="~app-emulation/spice-protocol-9999"
16
else
17
	SRC_URI="https://www.spice-space.org/download/releases/spice-server/${P}.tar.bz2"
18
	KEYWORDS="amd64 arm64 ~loong ppc64 ~riscv x86"
19
fi
13 20

  
14 21
LICENSE="LGPL-2.1"
15 22
SLOT="0"
16
KEYWORDS="amd64 arm64 ~loong ppc64 ~riscv x86"
17 23
IUSE="gstreamer lz4 sasl smartcard static-libs test"
18

  
19 24
RESTRICT="!test? ( test )"
20 25

  
21
# the libspice-server only uses the headers of libcacard
22
RDEPEND="dev-lang/orc[static-libs(+)?]
26
# The libspice-server only uses the headers of libcacard
27
RDEPEND="
28
	dev-lang/orc[static-libs(+)?]
23 29
	>=dev-libs/glib-2.38:2[static-libs(+)?]
24 30
	dev-libs/openssl:0=[static-libs(+)?]
25 31
	media-libs/opus[static-libs(+)?]
......
32 38
	gstreamer? (
33 39
		media-libs/gstreamer:1.0
34 40
		media-libs/gst-plugins-base:1.0
35
	)"
36
DEPEND="${RDEPEND}
41
	)
42
"
43
DEPEND+="
44
	${RDEPEND}
37 45
	>=app-emulation/spice-protocol-0.14.3
38 46
	smartcard? ( app-emulation/qemu[smartcard] )
39
	test? ( net-libs/glib-networking )"
40
BDEPEND="${PYTHON_DEPS}
41
	sys-devel/autoconf-archive
47
	test? ( net-libs/glib-networking )
48
"
49
BDEPEND="
50
	${PYTHON_DEPS}
51
	dev-util/glib-utils
42 52
	virtual/pkgconfig
43 53
	$(python_gen_any_dep '
44 54
		>=dev-python/pyparsing-1.5.6-r2[${PYTHON_USEDEP}]
45 55
		dev-python/six[${PYTHON_USEDEP}]
46
	')"
56
	')
57
"
47 58

  
48 59
python_check_deps() {
49 60
	python_has_version -b ">=dev-python/pyparsing-1.5.6-r2[${PYTHON_USEDEP}]"
......
54 65
	[[ ${MERGE_TYPE} != binary ]] && python-any-r1_pkg_setup
55 66
}
56 67

  
57
src_prepare() {
58
	default
59

  
60
	eautoreconf
61
}
62

  
63 68
src_configure() {
64 69
	# Prevent sandbox violations, bug #586560
65 70
	# https://bugzilla.gnome.org/show_bug.cgi?id=744134
66 71
	# https://bugzilla.gnome.org/show_bug.cgi?id=744135
67
	addpredict /dev
72
	use gstreamer && addpredict /dev
68 73

  
69 74
	xdg_environment_reset
70 75

  
71
	local myconf=(
72
		$(use_enable static-libs static)
73
		$(use_enable lz4)
74
		$(use_with sasl)
75
		$(use_enable smartcard)
76
		$(use_enable test tests)
77
		--enable-gstreamer=$(usex gstreamer "1.0" "no")
78
		--disable-celt051
76
	local emesonargs=(
77
		-Ddefault_library=$(usex static-libs both shared)
78
		-Dgstreamer=$(usex gstreamer 1.0 no)
79
		-Dopus=enabled
80
		-Dmanual=false
81
		$(meson_use lz4)
82
		$(meson_use sasl)
83
		$(meson_feature smartcard)
84
		$(meson_use test tests)
79 85
	)
80 86

  
81
	econf "${myconf[@]}"
82
}
83

  
84
src_compile() {
85
	# Prevent sandbox violations, bug #586560
86
	# https://bugzilla.gnome.org/show_bug.cgi?id=744134
87
	# https://bugzilla.gnome.org/show_bug.cgi?id=744135
88
	addpredict /dev
89

  
90
	default
87
	meson_src_configure
91 88
}
92 89

  
93 90
src_install() {
94
	default
95
	use static-libs || find "${D}" -name '*.la' -type f -delete || die
91
	meson_src_install
96 92
	readme.gentoo_create_doc
97 93
}
98 94

  
Спасибо!