13 |
13 |
# bug #830088
|
14 |
14 |
QEMU_DOC_USEFLAG="+doc"
|
15 |
15 |
|
16 |
|
PYTHON_COMPAT=( python3_{9,10,11} )
|
|
16 |
PYTHON_COMPAT=( python3_{10..12} )
|
17 |
17 |
PYTHON_REQ_USE="ncurses,readline"
|
18 |
18 |
|
19 |
19 |
FIRMWARE_ABI_VERSION="7.2.0"
|
... | ... | |
41 |
41 |
fi
|
42 |
42 |
|
43 |
43 |
S="${WORKDIR}/${MY_P}"
|
44 |
|
[[ "${PV}" != *_rc* ]] && KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
|
|
44 |
[[ "${PV}" != *_rc* ]] && KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ppc64 ~riscv x86"
|
45 |
45 |
fi
|
46 |
46 |
|
47 |
47 |
DESCRIPTION="QEMU + Kernel-based Virtual Machine userland tools"
|
... | ... | |
154 |
154 |
sys-libs/zlib[static-libs(+)]
|
155 |
155 |
python? ( ${PYTHON_DEPS} )
|
156 |
156 |
systemtap? ( dev-util/systemtap )
|
157 |
|
xattr? ( sys-apps/attr[static-libs(+)] )"
|
|
157 |
xattr? ( sys-apps/attr[static-libs(+)] )
|
|
158 |
"
|
158 |
159 |
|
159 |
160 |
# Dependencies required for qemu tools (qemu-nbd, qemu-img, qemu-io, ...)
|
160 |
161 |
# softmmu targets (qemu-system-*).
|
... | ... | |
255 |
256 |
>=sys-firmware/seabios-bin-${SEABIOS_VERSION}
|
256 |
257 |
)
|
257 |
258 |
sys-firmware/sgabios
|
258 |
|
)"
|
|
259 |
)
|
|
260 |
"
|
259 |
261 |
PPC_FIRMWARE_DEPEND="
|
260 |
262 |
pin-upstream-blobs? (
|
261 |
263 |
~sys-firmware/seabios-bin-${SEABIOS_VERSION}
|
... | ... | |
292 |
294 |
qemu_softmmu_targets_ppc? ( ${PPC_FIRMWARE_DEPEND} )
|
293 |
295 |
qemu_softmmu_targets_ppc64? ( ${PPC_FIRMWARE_DEPEND} )
|
294 |
296 |
"
|
295 |
|
DEPEND="${CDEPEND}
|
|
297 |
DEPEND="
|
|
298 |
${CDEPEND}
|
296 |
299 |
kernel_linux? ( >=sys-kernel/linux-headers-2.6.35 )
|
297 |
|
static-user? ( ${ALL_DEPEND} )"
|
298 |
|
RDEPEND="${CDEPEND}
|
|
300 |
static-user? ( ${ALL_DEPEND} )
|
|
301 |
"
|
|
302 |
RDEPEND="
|
|
303 |
${CDEPEND}
|
299 |
304 |
acct-group/kvm
|
300 |
305 |
selinux? (
|
301 |
306 |
sec-policy/selinux-qemu
|
302 |
307 |
sys-libs/libselinux
|
303 |
|
)"
|
|
308 |
)
|
|
309 |
"
|
304 |
310 |
|
305 |
311 |
PATCHES=(
|
306 |
312 |
"${FILESDIR}"/${PN}-8.0.0-disable-keymap.patch
|
... | ... | |
309 |
315 |
"${FILESDIR}"/${PN}-7.1.0-capstone-include-path.patch
|
310 |
316 |
"${FILESDIR}"/${PN}-7.2.0-disable-gmp.patch
|
311 |
317 |
"${FILESDIR}"/${PN}-8.0.0-remove-python-meson-check.patch
|
312 |
|
"${FILESDIR}"/${P}-CVE-2023-2861.patch
|
313 |
318 |
)
|
314 |
319 |
|
315 |
320 |
QA_PREBUILT="
|
... | ... | |
325 |
330 |
usr/share/qemu/u-boot.e500
|
326 |
331 |
"
|
327 |
332 |
|
328 |
|
QA_WX_LOAD="usr/bin/qemu-i386
|
|
333 |
QA_WX_LOAD="
|
|
334 |
usr/bin/qemu-i386
|
329 |
335 |
usr/bin/qemu-x86_64
|
330 |
336 |
usr/bin/qemu-alpha
|
331 |
337 |
usr/bin/qemu-arm
|