mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-20 08:18:49 -04:00
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:
parent
069d3e00e2
commit
e2bdd9ebd6
19
app-emulation/waydroid/metadata.xml
Normal file
19
app-emulation/waydroid/metadata.xml
Normal 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>
|
@ -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)
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user