app-emulation/waydroid: Changed waydroid installation. Added metadata.xml, I'm now maintainer

Bug: https://bugs.gentoo.org/834025
Signed-off-by: Denis Reva <denis7774@gmail.com>
This commit is contained in:
Denis Reva 2022-12-18 20:40:33 +05:00
parent 069d3e00e2
commit e2bdd9ebd6
No known key found for this signature in database
GPG Key ID: AADC29EFABB5C730
2 changed files with 20 additions and 12 deletions

View File

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'>
<pkgmetadata>
<maintainer type="person">
<email>denis7774@gmail.com</email>
<name>Denis Reva</name>
<description>rarogcmex</description>
</maintainer>
<longdescription lang="en">
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.
</longdescription>
<upstream>
<remote-id type="github">waydroid/waydroid</remote-id>
</upstream>
</pkgmetadata>

View File

@ -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)
}