app-emulation/waydroid: new package, add 1.2.1

Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
This commit is contained in:
Pascal Jäger
2022-05-12 08:13:03 +02:00
parent 9da46f7383
commit fb2ec3dc19
2 changed files with 42 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST waydroid-1.2.1.tar.gz 222939 BLAKE2B ce69cb5ded92653b9e3c02e89e8ddab1e34ef8d4b16d1863119346495829efe6baae4bf0171d284186e0042602bf351c3926a3a900bc884f2906c9f09b62b290 SHA512 4e4aa781b84501ccde444281ab93b6c45cf91d7cda2f04565bf43bc8cdcd529b987356278f9e369a71fbb249b3bcdbd0ea56d37d48d0fbf1bf8bf186b4383a43

View File

@@ -0,0 +1,41 @@
#Relaismatrix/ Messung Copyright 2020-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_9 )
inherit python-single-r1
DESCRIPTION="A container-based approach to boot a full Android system on a regular Linux system"
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 \
dev-lang/python \
dev-python/pygobject \
dev-python/gbinder \
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"
}