Files
guru/app-emulation/waydroid/waydroid-1.2.1.ebuild
Andrew Ammerlaan 4c2a05b113 app-emulation/waydroid: shorten description
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
2022-09-26 12:05:34 +02:00

43 lines
1.0 KiB
Bash

#Relaismatrix/ Messung Copyright 2020-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..10} )
inherit python-single-r1
DESCRIPTION="Container-based approach to boot a full Android system on Linux systems"
HOMEPAGE="https://waydro.id"
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DEPEND=""
RDEPEND="
app-containers/lxc
$(python_gen_cond_dep '
dev-python/pygobject[${PYTHON_USEDEP}]
dev-python/gbinder[${PYTHON_USEDEP}]
')
net-firewall/nftables
net-dns/dnsmasq \
${PYTHON_DEPS}
"
src_install() {
python_fix_shebang waydroid.py
mv waydroid.py waydroid || die
python_doscript waydroid
python_domodule tools
python_domodule data
insinto "/usr/share/applications"
doins "data/Waydroid.desktop"
insinto "/etc/gbinder.d"
doins "gbinder/anbox.conf"
insinto "/usr/lib/systemd/system"
doins "debian/waydroid-container.service"
}