Сравнение qemu-10.0.10 с qemu-9999

/usr/portage/app-emulation/qemu/qemu-9999.ebuild 2026-08-20 20:03:04.642015658 +0300
13 13
# bug #830088
14 14
QEMU_DOC_USEFLAG="+doc"
15 15

  
16
PYTHON_COMPAT=( python3_{12..13} )
16
PYTHON_COMPAT=( python3_{12..14} )
17 17
PYTHON_REQ_USE="ensurepip(-),ncurses,readline"
18 18

  
19 19
inherit eapi9-ver flag-o-matic linux-info toolchain-funcs python-r1 udev fcaps \
......
60 60
[[ ${QEMU_DOCS_PREBUILT} == 1 ]] && QEMU_DOC_USEFLAG="doc"
61 61

  
62 62
IUSE="accessibility +aio alsa bpf bzip2 capstone +curl debug ${QEMU_DOC_USEFLAG}
63
	+fdt fuse glusterfs +gnutls gtk infiniband iscsi io-uring
64
	jack jemalloc +jpeg keyutils
63
	+fdt fuse +gnutls gtk infiniband iscsi io-uring
64
	jack +jpeg keyutils
65 65
	lzo multipath
66
	ncurses nfs nls numa opengl +oss pam +pin-upstream-blobs pipewire
66
	ncurses nfs nls numa opengl +oss pam passt +pin-upstream-blobs pipewire
67 67
	plugins +png pulseaudio python rbd sasl +seccomp sdl sdl-image selinux
68 68
	+slirp
69 69
	smartcard snappy spice ssh static-user systemtap test udev usb
70
	usbredir vde +vhost-net virgl virtfs +vnc vte wayland X xattr xdp xen
70
	usbredir valgrind vde +vhost-net virgl virtfs +vnc vte wayland X xattr xdp xen
71 71
	zstd"
72 72

  
73 73
COMMON_TARGETS="
......
79 79
	loongarch64
80 80
	m68k
81 81
	microblaze
82
	microblazeel
83 82
	mips
84 83
	mips64
85 84
	mips64el
......
109 108
	aarch64_be
110 109
	armeb
111 110
	hexagon
111
	microblazeel
112 112
	mipsn32
113 113
	mipsn32el
114 114
	ppc64le
......
179 179
	curl? ( >=net-misc/curl-7.15.4[static-libs(+)] )
180 180
	fdt? ( >=sys-apps/dtc-1.5.1[static-libs(+)] )
181 181
	fuse? ( >=sys-fs/fuse-3.1:3=[static-libs(+)] )
182
	glusterfs? ( >=sys-cluster/glusterfs-3.4.0[static-libs(+)] )
183 182
	gnutls? (
184
		>=net-libs/gnutls-3.0:=[static-libs(+)]
185
		dev-libs/nettle:=[static-libs(+)]
183
		>=net-libs/gnutls-3.7.5:=[static-libs(+)]
184
		>=dev-libs/nettle-3.7.3:=[static-libs(+)]
186 185
	)
187 186
	gtk? (
188 187
		x11-libs/gtk+:3[wayland?,X?]
......
192 191
	iscsi? ( net-libs/libiscsi )
193 192
	io-uring? ( sys-libs/liburing:=[static-libs(+)] )
194 193
	jack? ( virtual/jack )
195
	jemalloc? ( dev-libs/jemalloc )
196 194
	jpeg? ( media-libs/libjpeg-turbo:=[static-libs(+)] )
197 195
	kernel_linux? ( sys-libs/libcap-ng[static-libs(+)] )
198 196
	keyutils? ( sys-apps/keyutils[static-libs(+)] )
......
211 209
		media-libs/mesa[egl(+),gbm(+)]
212 210
	)
213 211
	pam? ( sys-libs/pam )
212
	passt? ( net-misc/passt )
214 213
	pipewire? ( >=media-video/pipewire-0.3.60 )
215 214
	png? ( >=media-libs/libpng-1.6.34:=[static-libs(+)] )
216 215
	pulseaudio? ( media-libs/libpulse )
......
226 225
	smartcard? ( >=app-emulation/libcacard-2.5.0[static-libs(+)] )
227 226
	snappy? ( app-arch/snappy:= )
228 227
	spice? (
229
		>=app-emulation/spice-protocol-0.14.0
228
		>=app-emulation/spice-protocol-0.14.5
230 229
		>=app-emulation/spice-0.14.0[static-libs(+)]
231 230
	)
232 231
	ssh? ( >=net-libs/libssh-0.8.6[static-libs(+)] )
......
329 328
	${CDEPEND}
330 329
	kernel_linux? ( >=sys-kernel/linux-headers-2.6.35 )
331 330
	static-user? ( ${ALL_DEPEND} )
331
	valgrind? ( dev-debug/valgrind )
332 332
"
333 333
RDEPEND="
334 334
	${CDEPEND}
......
340 340
"
341 341

  
342 342
PATCHES=(
343
	"${FILESDIR}"/${PN}-10.1.2-fix_passt.patch
343 344
	"${FILESDIR}"/${PN}-9.0.0-disable-keymap.patch
344 345
	"${FILESDIR}"/${PN}-9.2.0-capstone-include-path.patch
345 346
	"${FILESDIR}"/${PN}-8.1.0-skip-tests.patch
......
581 582
		$(use_enable pulseaudio pa)
582 583
		$(use_enable selinux)
583 584
		$(use_enable xattr attr)
585
		$(use_enable valgrind)
584 586
	)
585 587

  
586 588
	# Disable options not used by user targets. This simplifies building
......
625 627
		$(conf_tools doc docs)
626 628
		$(conf_notuser fdt)
627 629
		$(conf_notuser fuse)
628
		$(conf_notuser glusterfs)
629 630
		$(conf_notuser gnutls)
630 631
		$(conf_notuser gnutls nettle)
631 632
		$(conf_notuser gtk)
632 633
		$(conf_notuser infiniband rdma)
633 634
		$(conf_notuser iscsi libiscsi)
634 635
		$(conf_notuser io-uring linux-io-uring)
635
		$(conf_malloc jemalloc)
636 636
		$(conf_notuser jpeg vnc-jpeg)
637 637
		$(conf_notuser kernel_linux kvm)
638 638
		$(conf_notuser keyutils libkeyutils)
......
643 643
		$(conf_notuser numa)
644 644
		$(conf_notuser opengl)
645 645
		$(conf_notuser pam auth-pam)
646
		$(conf_notuser passt)
646 647
		$(conf_notuser png)
647 648
		$(conf_notuser rbd)
648 649
		$(conf_notuser sasl vnc-sasl)
......
672 673
	)
673 674

  
674 675
	if [[ ! ${buildtype} == "user" ]] ; then
676
		# used by passt and spice, enable it because glib is required anyway
677
		conf_opts+=(
678
			--enable-gio
679
		)
675 680
		# audio options
676 681
		local audio_opts=(
677 682
			# Note: backend order matters here: #716202
......
905 910
	pax-mark mr "${softmmu_bins[@]}" "${user_bins[@]}" # bug 575594
906 911
	popd >/dev/null || die
907 912

  
913
	# suid in src_install to allow FEATURES=suidctl to work properly
914
	fperms u+s /usr/libexec/qemu-bridge-helper
915

  
908 916
	# Install config file example for qemu-bridge-helper
909 917
	insinto "/etc/qemu"
910 918
	doins "${FILESDIR}/bridge.conf"
......
968 976
	xdg_icon_cache_update
969 977

  
970 978
	[[ -z ${EPREFIX} ]] && [[ -f ${EROOT}/usr/libexec/qemu-bridge-helper ]] && \
971
		fcaps -m u+s cap_net_admin "${EROOT}"/usr/libexec/qemu-bridge-helper
979
		fcaps -M u-s cap_net_admin "${EROOT}"/usr/libexec/qemu-bridge-helper
972 980

  
973 981
	DISABLE_AUTOFORMATTING=true
974 982
	readme.gentoo_print_elog
Спасибо!