From e2bdd9ebd6c38f1abb20ca0e6e4cb25f1c75ebcc Mon Sep 17 00:00:00 2001 From: Denis Reva Date: Sun, 18 Dec 2022 20:40:33 +0500 Subject: [PATCH] app-emulation/waydroid: Changed waydroid installation. Added metadata.xml, I'm now maintainer Bug: https://bugs.gentoo.org/834025 Signed-off-by: Denis Reva --- app-emulation/waydroid/metadata.xml | 19 +++++++++++++++++++ ...-1.3.4.ebuild => waydroid-1.3.4-r1.ebuild} | 13 +------------ 2 files changed, 20 insertions(+), 12 deletions(-) create mode 100644 app-emulation/waydroid/metadata.xml rename app-emulation/waydroid/{waydroid-1.3.4.ebuild => waydroid-1.3.4-r1.ebuild} (79%) diff --git a/app-emulation/waydroid/metadata.xml b/app-emulation/waydroid/metadata.xml new file mode 100644 index 0000000000..07f40006d9 --- /dev/null +++ b/app-emulation/waydroid/metadata.xml @@ -0,0 +1,19 @@ + + + + + denis7774@gmail.com + Denis Reva + rarogcmex + + + Waydroid uses Linux namespaces (user, pid, uts, net, mount, ipc) to run a full Android system in a container and provide Android applications on any GNU/Linux-based platform. + + The Android system inside the container has direct access to any needed hardware. + + The Android runtime environment ships with a minimal customized Android system image based on LineageOS. The image is currently based on Android 11. + + + waydroid/waydroid + + diff --git a/app-emulation/waydroid/waydroid-1.3.4.ebuild b/app-emulation/waydroid/waydroid-1.3.4-r1.ebuild similarity index 79% rename from app-emulation/waydroid/waydroid-1.3.4.ebuild rename to app-emulation/waydroid/waydroid-1.3.4-r1.ebuild index 15651371ea..f2cc64a065 100644 --- a/app-emulation/waydroid/waydroid-1.3.4.ebuild +++ b/app-emulation/waydroid/waydroid-1.3.4-r1.ebuild @@ -39,16 +39,5 @@ ERROR_ANDROID_BINDER_IPC="CONFIG_ANDROID_BINDER_IPC: need for creating Android-s ERROR_MEMFD_CREATE="CONFIG_MEMFD_CREATE: it completely replaced deprecated ISHMEM drivers, therefore it's vital for android-specific memory management" 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" - if use systemd; then - insinto "/usr/lib/systemd/system" - doins "debian/waydroid-container.service" - fi + emake install DESTDIR="${D}" USE_NFTABLES=1 USE_SYSTEMD=$(usex systemd 1 0) }