aboutsummaryrefslogtreecommitdiff
blob: b20d3412b6be723e4f2c40e57b772d2f7c7297fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_10 )
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}"

DEPEND="
	${PYTHON_DEPS}
	>=app-emulation/qemu-6.0.0[gtk,sdl,spice]
	>=app-shells/bash-4.0:=
	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-ovmf
	sys-process/procps
	x11-apps/xrandr
	x11-misc/xdg-user-dirs
"
RDEPEND="${DEPEND}"
BDEPEND=""

src_install() {
	python_doscript macrecovery macrecovery
	dobin quickemu
	dobin quickget
}