# Template file for 'waydroid'
pkgname=waydroid
version=1.4.2
revision=2
# https://developer.android.com/ndk/guides/abis#sa
archs="aarch64* armv7* i686* x86_64*"
build_style=gnu-makefile
make_install_args="USE_NFTABLES=1 USE_DBUS_ACTIVATION=0"
depends="gbinder-python python3-gobject python3-dbus gtk+3 polkit dnsmasq
 nftables lxc"
short_desc="Container-based approach to boot a full Android system"
maintainer="Jami Kettunen <jami.kettunen@protonmail.com>"
license="GPL-3.0-or-later"
homepage="https://waydro.id"
changelog="https://raw.githubusercontent.com/waydroid/waydroid/main/debian/changelog"
distfiles="https://github.com/waydroid/waydroid/archive/refs/tags/${version}.tar.gz"
checksum=835af2ecfb61ba9c85eff6d2371886325c19b5ee0fbd9bab41169d3da36170cd

python_version=3
pycompile_dirs="usr/lib/waydroid"

post_install() {
	vsv waydroid-container

	# Void-specific documentation
	vdoc ${FILESDIR}/README.voidlinux
}
