gentoo-overlay/app-emulation/quickemu/quickemu-4.9.2-r1.ebuild
2025-02-23 19:50:59 +02:00

43 lines
980 B
Bash

# Copyright 2021-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{11..12} )
inherit python-single-r1
DESCRIPTION="Create and run optimised Windows, macOS and Linux desktop virtual machines"
HOMEPAGE="https://github.com/quickemu-project/quickemu"
SRC_URI="https://github.com/quickemu-project/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
IUSE="cdr"
DEPEND="
${PYTHON_DEPS}
>=app-emulation/qemu-6.0.0[gtk,sdl,spice]
>=app-shells/bash-4.0:=
cdr? ( app-cdr/cdrtools )
app-crypt/swtpm
app-misc/jq
net-misc/spice-gtk[gtk3]
net-misc/wget
net-misc/zsync
sys-apps/usbutils
sys-apps/util-linux
|| ( sys-firmware/edk2 sys-firmware/edk2-bin )
sys-process/procps
x11-apps/xrandr
x11-misc/xdg-user-dirs
"
RDEPEND="${DEPEND}"
src_install() {
python_doscript macrecovery macrecovery
dobin quickemu
dobin quickget
}