[gentoo-commits] repo/proj/guru:master commit in: app-emulation/waydroid/files/, profiles/updates/, app-containers/waydroid/, ...

2022-12-29 Thread Florian Schmaus
commit: 935d044fa6cd46693239f2f5475619edeff1fe9b
Author: Denis Reva  gmail  com>
AuthorDate: Wed Dec 28 06:12:09 2022 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Wed Dec 28 06:12:29 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=935d044f

app-containers/waydroid: Changed category of waydroid from app-emulation

cause it container-based approach

Bug: https://bugs.gentoo.org/834025
Signed-off-by: Denis Reva  gmail.com>

 {app-emulation => app-containers}/waydroid/Manifest | 0
 {app-emulation => app-containers}/waydroid/files/waydroid   | 0
 {app-emulation => app-containers}/waydroid/metadata.xml | 0
 {app-emulation => app-containers}/waydroid/waydroid-1.3.4-r5.ebuild | 0
 profiles/updates/4Q-2022| 1 +
 5 files changed, 1 insertion(+)

diff --git a/app-emulation/waydroid/Manifest b/app-containers/waydroid/Manifest
similarity index 100%
rename from app-emulation/waydroid/Manifest
rename to app-containers/waydroid/Manifest

diff --git a/app-emulation/waydroid/files/waydroid 
b/app-containers/waydroid/files/waydroid
similarity index 100%
rename from app-emulation/waydroid/files/waydroid
rename to app-containers/waydroid/files/waydroid

diff --git a/app-emulation/waydroid/metadata.xml 
b/app-containers/waydroid/metadata.xml
similarity index 100%
rename from app-emulation/waydroid/metadata.xml
rename to app-containers/waydroid/metadata.xml

diff --git a/app-emulation/waydroid/waydroid-1.3.4-r5.ebuild 
b/app-containers/waydroid/waydroid-1.3.4-r5.ebuild
similarity index 100%
rename from app-emulation/waydroid/waydroid-1.3.4-r5.ebuild
rename to app-containers/waydroid/waydroid-1.3.4-r5.ebuild

diff --git a/profiles/updates/4Q-2022 b/profiles/updates/4Q-2022
index d2f6e2e95..4d122c66a 100644
--- a/profiles/updates/4Q-2022
+++ b/profiles/updates/4Q-2022
@@ -1 +1,2 @@
 move kde-frameworks/kirigami-addons dev-libs/kirigami-addons
+move app-emulation/waydroid app-containers/waydroid



[gentoo-commits] repo/proj/guru:master commit in: app-emulation/waydroid/

2022-12-20 Thread Haelwenn Monnier
commit: d94f874253b808e4a36bca497b0bd4c498954a09
Author: Denis Reva  gmail  com>
AuthorDate: Tue Dec 20 12:17:30 2022 +
Commit: Haelwenn Monnier  hacktivis  me>
CommitDate: Tue Dec 20 12:17:30 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d94f8742

app-emulation/waydroid: Bug fixes: fixed mimeinfo update and closes fixed in 
previous version bug

Closes: https://bugs.gentoo.org/878081
Closes: https://bugs.gentoo.org/887295
Bug: https://bugs.gentoo.org/834025
Signed-off-by: Denis Reva  gmail.com>

 .../{waydroid-1.3.4-r4.ebuild => waydroid-1.3.4-r5.ebuild} | 10 +-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/app-emulation/waydroid/waydroid-1.3.4-r4.ebuild 
b/app-emulation/waydroid/waydroid-1.3.4-r5.ebuild
similarity index 92%
rename from app-emulation/waydroid/waydroid-1.3.4-r4.ebuild
rename to app-emulation/waydroid/waydroid-1.3.4-r5.ebuild
index b67ca2647..df767cedc 100644
--- a/app-emulation/waydroid/waydroid-1.3.4-r4.ebuild
+++ b/app-emulation/waydroid/waydroid-1.3.4-r5.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 PYTHON_COMPAT=( python3_{9..11} )
-inherit linux-info python-single-r1
+inherit linux-info xdg-utils python-single-r1
 
 DESCRIPTION="Container-based approach to boot a full Android system on Linux 
systems"
 HOMEPAGE="https://waydro.id";
@@ -48,6 +48,9 @@ src_install() {
 }
 
 pkg_postinst() {
+   xdg_desktop_database_update
+   xdg_mimeinfo_database_update
+
if not use apparmor; then
ewarn "If you use app-containers/lxc without apparmor, make 
sure you deleted or commented out in waydroid LXC config"
ewarn "(generated after waydroid init) in 
/var/lib/waydroid/lxc/waydroid/config the following string:"
@@ -62,3 +65,8 @@ pkg_postinst() {
einfo "Contact https://docs.waydro.id/usage/install-on-desktops for 
how-to guides"
einfo "(does not cover Gentoo-specific things sadly)"
 }
+
+pkg_postrm() {
+   xdg_desktop_database_update
+   xdg_mimeinfo_database_update
+}



[gentoo-commits] repo/proj/guru:master commit in: app-emulation/waydroid/

2022-12-20 Thread Haelwenn Monnier
commit: 109805147f485e34cd304a70035870e73f2a5891
Author: Denis Reva  gmail  com>
AuthorDate: Mon Dec 19 13:23:08 2022 +
Commit: Haelwenn Monnier  hacktivis  me>
CommitDate: Mon Dec 19 13:48:54 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=10980514

app-emulation/waydroid: Updated waydroid dependencies, added basic 
clarifications about usage and caveats

Signed-off-by: Denis Reva  gmail.com>

 ...id-1.3.4-r2.ebuild => waydroid-1.3.4-r3.ebuild} | 28 ++
 1 file changed, 24 insertions(+), 4 deletions(-)

diff --git a/app-emulation/waydroid/waydroid-1.3.4-r2.ebuild 
b/app-emulation/waydroid/waydroid-1.3.4-r3.ebuild
similarity index 54%
rename from app-emulation/waydroid/waydroid-1.3.4-r2.ebuild
rename to app-emulation/waydroid/waydroid-1.3.4-r3.ebuild
index dfecb4019..d22bac703 100644
--- a/app-emulation/waydroid/waydroid-1.3.4-r2.ebuild
+++ b/app-emulation/waydroid/waydroid-1.3.4-r3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
 inherit linux-info python-single-r1
 
 DESCRIPTION="Container-based approach to boot a full Android system on Linux 
systems"
@@ -14,20 +14,23 @@ LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~x86"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-IUSE="systemd"
+IUSE="systemd apparmor"
 
 DEPEND="|| ( virtual/linux-sources virtual/dist-kernel )"
 RDEPEND="
systemd? ( sys-apps/systemd )
app-containers/lxc[systemd?]
+   app-containers/lxc[apparmor?]
+   app-containers/lxc[seccomp]
$(python_gen_cond_dep '
dev-python/pygobject[${PYTHON_USEDEP}]
>=dev-python/gbinder-1.1.1[${PYTHON_USEDEP}]
-   >=dev-libs/gbinder-1.1.21
+   dev-python/pyclip[${PYTHON_USEDEP}]
')
net-firewall/nftables[modern-kernel]
net-dns/dnsmasq
>=dev-libs/libglibutil-1.0.67
+   >=dev-libs/gbinder-1.1.21
${PYTHON_DEPS}
 "
 
@@ -38,9 +41,26 @@ CONFIG_CHECK="
 "
 ERROR_ANDROID_BINDERFS="CONFIG_ANDROID_BINDERFS: need for creating 
Android-specific binder IPC channels"
 ERROR_ANDROID_BINDER_IPC="CONFIG_ANDROID_BINDER_IPC: need for creating 
Android-specific binder IPC channels"
-ERROR_MEMFD_CREATE="CONFIG_MEMFD_CREATE: it completely replaced deprecated 
ISHMEM drivers, therefore it's vital for android-specific memory management"
+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
emake install DESTDIR="${D}" USE_NFTABLES=1 USE_SYSTEMD=$(usex systemd 
1 0)
 }
+
+pkg_postinst() {
+   if not use apparmor; then
+   ewarn "If you use app-containers/lxc without apparmor, make 
sure you deleted or commented out in waydroid LXC config"
+   ewarn "(generated after waydroid init) in 
/var/lib/waydroid/lxc/waydroid/config the following string:"
+   ewarn "lxc.apparmor.profile = unconfined"
+   ewarn "or waydroid experiences crash during launch"
+   ewarn "See also https://github.com/waydroid/waydroid/issues/652";
+   else
+   ewarn "Apparmor support has not been tested by package 
maintainer yet"
+   fi
+   ewarn "Make sure you have NFTABLES up and running in your kernel. See"
+   ewarn "https://wiki.gentoo.org/wiki/Nftables for how-to details"
+   einfo "Contact https://docs.waydro.id/usage/install-on-desktops for 
how-to guides"
+   einfo "(does not cover Gentoo-specific things sadly)"
+}



[gentoo-commits] repo/proj/guru:master commit in: app-emulation/waydroid/

2022-12-20 Thread Haelwenn Monnier
commit: 4445f74387db3fbd864011a35d42f23ce8f62038
Author: Denis Reva  gmail  com>
AuthorDate: Mon Dec 19 13:48:38 2022 +
Commit: Haelwenn Monnier  hacktivis  me>
CommitDate: Mon Dec 19 13:48:55 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4445f743

app-emulation/waydroid: Another update for waydroid dependencies

Signed-off-by: Denis Reva  gmail.com>

 .../waydroid/{waydroid-1.3.4-r3.ebuild => waydroid-1.3.4-r4.ebuild} | 6 ++
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/app-emulation/waydroid/waydroid-1.3.4-r3.ebuild 
b/app-emulation/waydroid/waydroid-1.3.4-r4.ebuild
similarity index 94%
rename from app-emulation/waydroid/waydroid-1.3.4-r3.ebuild
rename to app-emulation/waydroid/waydroid-1.3.4-r4.ebuild
index d22bac703..b67ca2647 100644
--- a/app-emulation/waydroid/waydroid-1.3.4-r3.ebuild
+++ b/app-emulation/waydroid/waydroid-1.3.4-r4.ebuild
@@ -19,13 +19,11 @@ IUSE="systemd apparmor"
 DEPEND="|| ( virtual/linux-sources virtual/dist-kernel )"
 RDEPEND="
systemd? ( sys-apps/systemd )
-   app-containers/lxc[systemd?]
-   app-containers/lxc[apparmor?]
-   app-containers/lxc[seccomp]
+   app-containers/lxc[systemd?,apparmor?,seccomp]
$(python_gen_cond_dep '
dev-python/pygobject[${PYTHON_USEDEP}]
>=dev-python/gbinder-1.1.1[${PYTHON_USEDEP}]
-   dev-python/pyclip[${PYTHON_USEDEP}]
+   >=dev-python/pyclip-0.7.0[wayland,${PYTHON_USEDEP}]
')
net-firewall/nftables[modern-kernel]
net-dns/dnsmasq



[gentoo-commits] repo/proj/guru:master commit in: app-emulation/waydroid/

2022-12-19 Thread Viorel Munteanu
commit: e2bdd9ebd6c38f1abb20ca0e6e4cb25f1c75ebcc
Author: Denis Reva  gmail  com>
AuthorDate: Sun Dec 18 15:40:33 2022 +
Commit: Viorel Munteanu  gentoo  org>
CommitDate: Sun Dec 18 15:40:33 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e2bdd9eb

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

Bug: https://bugs.gentoo.org/834025
Signed-off-by: Denis Reva  gmail.com>

 app-emulation/waydroid/metadata.xml   | 19 +++
 ...waydroid-1.3.4.ebuild => waydroid-1.3.4-r1.ebuild} | 13 +
 2 files changed, 20 insertions(+), 12 deletions(-)

diff --git a/app-emulation/waydroid/metadata.xml 
b/app-emulation/waydroid/metadata.xml
new file mode 100644
index 0..07f40006d
--- /dev/null
+++ b/app-emulation/waydroid/metadata.xml
@@ -0,0 +1,19 @@
+
+http://www.gentoo.org/dtd/metadata.dtd'>
+
+   
+   denis7...@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 15651371e..f2cc64a06 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)
 }



[gentoo-commits] repo/proj/guru:master commit in: app-emulation/waydroid/

2022-12-19 Thread Viorel Munteanu
commit: a6a251f9ef98011bd126ff08b705e1281ad2e9b8
Author: Denis Reva  gmail  com>
AuthorDate: Sun Dec 18 10:34:25 2022 +
Commit: Viorel Munteanu  gentoo  org>
CommitDate: Sun Dec 18 10:34:25 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a6a251f9

app-emulation/waydroid: Removed obsolete waydroid. Work in progress

Signed-off-by: Denis Reva  gmail.com>

 app-emulation/waydroid/Manifest  |  1 -
 app-emulation/waydroid/waydroid-1.2.1.ebuild | 42 
 2 files changed, 43 deletions(-)

diff --git a/app-emulation/waydroid/Manifest b/app-emulation/waydroid/Manifest
index 3013545ee..85bc68429 100644
--- a/app-emulation/waydroid/Manifest
+++ b/app-emulation/waydroid/Manifest
@@ -1,2 +1 @@
-DIST waydroid-1.2.1.tar.gz 222939 BLAKE2B 
ce69cb5ded92653b9e3c02e89e8ddab1e34ef8d4b16d1863119346495829efe6baae4bf0171d284186e0042602bf351c3926a3a900bc884f2906c9f09b62b290
 SHA512 
4e4aa781b84501ccde444281ab93b6c45cf91d7cda2f04565bf43bc8cdcd529b987356278f9e369a71fbb249b3bcdbd0ea56d37d48d0fbf1bf8bf186b4383a43
 DIST waydroid-1.3.4.tar.gz 231638 BLAKE2B 
73418208e484172745208caa89442478643327a77a8642536a26c538129ce57e643728a22d64393b4d344502b221b124c4000c1df0838aefc5af6996e7e8bab3
 SHA512 
2c7feb8cfe2b6e2738159d07e12f378250f5ba6a0d0f47c0ff904af934eacde193ae0fcae1cb4fb67d1687a2ffcd2864c1eea4fa5e52c19685ffad5c702359a5

diff --git a/app-emulation/waydroid/waydroid-1.2.1.ebuild 
b/app-emulation/waydroid/waydroid-1.2.1.ebuild
deleted file mode 100644
index c361bc17b..0
--- a/app-emulation/waydroid/waydroid-1.2.1.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-#Relaismatrix/ Messung Copyright 2020-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..10} )
-inherit python-single-r1
-
-DESCRIPTION="Container-based approach to boot a full Android system on Linux 
systems"
-HOMEPAGE="https://waydro.id";
-SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS=""
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DEPEND=""
-RDEPEND="
-   app-containers/lxc
-   $(python_gen_cond_dep '
-   dev-python/pygobject[${PYTHON_USEDEP}]
-   dev-python/gbinder[${PYTHON_USEDEP}]
-   ')
-   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"
-}



[gentoo-commits] repo/proj/guru:master commit in: app-emulation/waydroid/

2022-12-19 Thread Viorel Munteanu
commit: 45e3f0d43aca5d6fd08e4a0059c51af1a906e2f8
Author: Denis Reva  gmail  com>
AuthorDate: Mon Dec 19 10:23:36 2022 +
Commit: Viorel Munteanu  gentoo  org>
CommitDate: Mon Dec 19 10:23:52 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=45e3f0d4

app-emulation/waydroid: Small changes: Fix systemd dep, clarify dependencies

Signed-off-by: Denis Reva  gmail.com>

 .../{waydroid-1.3.4-r1.ebuild => waydroid-1.3.4-r2.ebuild}  | 13 -
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/app-emulation/waydroid/waydroid-1.3.4-r1.ebuild 
b/app-emulation/waydroid/waydroid-1.3.4-r2.ebuild
similarity index 82%
rename from app-emulation/waydroid/waydroid-1.3.4-r1.ebuild
rename to app-emulation/waydroid/waydroid-1.3.4-r2.ebuild
index f2cc64a06..dfecb4019 100644
--- a/app-emulation/waydroid/waydroid-1.3.4-r1.ebuild
+++ b/app-emulation/waydroid/waydroid-1.3.4-r2.ebuild
@@ -12,20 +12,22 @@ 
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 IUSE="systemd"
 
-DEPEND="|| ( virtual/linux-sources virtual/dist-kernel )
-   sys-kernel/linux-headers"
+DEPEND="|| ( virtual/linux-sources virtual/dist-kernel )"
 RDEPEND="
+   systemd? ( sys-apps/systemd )
app-containers/lxc[systemd?]
$(python_gen_cond_dep '
dev-python/pygobject[${PYTHON_USEDEP}]
-   dev-python/gbinder[${PYTHON_USEDEP}]
+   >=dev-python/gbinder-1.1.1[${PYTHON_USEDEP}]
+   >=dev-libs/gbinder-1.1.21
')
net-firewall/nftables[modern-kernel]
-   net-dns/dnsmasq \
+   net-dns/dnsmasq
+   >=dev-libs/libglibutil-1.0.67
${PYTHON_DEPS}
 "
 
@@ -37,6 +39,7 @@ CONFIG_CHECK="
 ERROR_ANDROID_BINDERFS="CONFIG_ANDROID_BINDERFS: need for creating 
Android-specific binder IPC channels"
 ERROR_ANDROID_BINDER_IPC="CONFIG_ANDROID_BINDER_IPC: need for creating 
Android-specific binder IPC channels"
 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
emake install DESTDIR="${D}" USE_NFTABLES=1 USE_SYSTEMD=$(usex systemd 
1 0)



[gentoo-commits] repo/proj/guru:master commit in: app-emulation/waydroid/

2022-12-19 Thread Viorel Munteanu
commit: affc1daa905725a7a1b529ef352df22dbd5dac1e
Author: Denis Reva  gmail  com>
AuthorDate: Sun Dec 18 09:36:44 2022 +
Commit: Viorel Munteanu  gentoo  org>
CommitDate: Sun Dec 18 09:37:38 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=affc1daa

app-emulation/waydroid: Work in progress

Signed-off-by: Denis Reva  gmail.com>

 app-emulation/waydroid/Manifest  |  1 +
 app-emulation/waydroid/waydroid-1.3.4.ebuild | 54 
 2 files changed, 55 insertions(+)

diff --git a/app-emulation/waydroid/Manifest b/app-emulation/waydroid/Manifest
index 1514b8248..3013545ee 100644
--- a/app-emulation/waydroid/Manifest
+++ b/app-emulation/waydroid/Manifest
@@ -1 +1,2 @@
 DIST waydroid-1.2.1.tar.gz 222939 BLAKE2B 
ce69cb5ded92653b9e3c02e89e8ddab1e34ef8d4b16d1863119346495829efe6baae4bf0171d284186e0042602bf351c3926a3a900bc884f2906c9f09b62b290
 SHA512 
4e4aa781b84501ccde444281ab93b6c45cf91d7cda2f04565bf43bc8cdcd529b987356278f9e369a71fbb249b3bcdbd0ea56d37d48d0fbf1bf8bf186b4383a43
+DIST waydroid-1.3.4.tar.gz 231638 BLAKE2B 
73418208e484172745208caa89442478643327a77a8642536a26c538129ce57e643728a22d64393b4d344502b221b124c4000c1df0838aefc5af6996e7e8bab3
 SHA512 
2c7feb8cfe2b6e2738159d07e12f378250f5ba6a0d0f47c0ff904af934eacde193ae0fcae1cb4fb67d1687a2ffcd2864c1eea4fa5e52c19685ffad5c702359a5

diff --git a/app-emulation/waydroid/waydroid-1.3.4.ebuild 
b/app-emulation/waydroid/waydroid-1.3.4.ebuild
new file mode 100644
index 0..15651371e
--- /dev/null
+++ b/app-emulation/waydroid/waydroid-1.3.4.ebuild
@@ -0,0 +1,54 @@
+#Relaismatrix/ Messung Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..10} )
+inherit linux-info python-single-r1
+
+DESCRIPTION="Container-based approach to boot a full Android system on Linux 
systems"
+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}"
+IUSE="systemd"
+
+DEPEND="|| ( virtual/linux-sources virtual/dist-kernel )
+   sys-kernel/linux-headers"
+RDEPEND="
+   app-containers/lxc[systemd?]
+   $(python_gen_cond_dep '
+   dev-python/pygobject[${PYTHON_USEDEP}]
+   dev-python/gbinder[${PYTHON_USEDEP}]
+   ')
+   net-firewall/nftables[modern-kernel]
+   net-dns/dnsmasq \
+   ${PYTHON_DEPS}
+"
+
+CONFIG_CHECK="
+   ~ANDROID_BINDER_IPC
+   ~ANDROID_BINDERFS
+   ~MEMFD_CREATE
+"
+ERROR_ANDROID_BINDERFS="CONFIG_ANDROID_BINDERFS: need for creating 
Android-specific binder IPC channels"
+ERROR_ANDROID_BINDER_IPC="CONFIG_ANDROID_BINDER_IPC: need for creating 
Android-specific binder IPC channels"
+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
+}



[gentoo-commits] repo/proj/guru:master commit in: app-emulation/waydroid/

2022-12-19 Thread Viorel Munteanu
commit: a991f9e6aa2d42b77c6f022680076cf2b4a3441b
Author: Denis Reva  gmail  com>
AuthorDate: Sat Dec 17 17:26:03 2022 +
Commit: Viorel Munteanu  gentoo  org>
CommitDate: Sat Dec 17 17:26:03 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a991f9e6

app-emulation/waydroid: Package broken and need repair

Bug: https://bugs.gentoo.org/834025
Signed-off-by: Denis Reva  gmail.com>

 app-emulation/waydroid/waydroid-1.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-emulation/waydroid/waydroid-1.2.1.ebuild 
b/app-emulation/waydroid/waydroid-1.2.1.ebuild
index 56c4dca32..c361bc17b 100644
--- a/app-emulation/waydroid/waydroid-1.2.1.ebuild
+++ b/app-emulation/waydroid/waydroid-1.2.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS=""
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 DEPEND=""



[gentoo-commits] repo/proj/guru:master commit in: app-emulation/waydroid/

2022-05-12 Thread Andrew Ammerlaan
commit: fb2ec3dc191be7147795e857b32b8d0511959b57
Author: Pascal Jäger  leimstift  de>
AuthorDate: Thu May 12 06:13:03 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Thu May 12 06:13:03 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fb2ec3dc

app-emulation/waydroid: new package, add 1.2.1

Signed-off-by: Pascal Jäger  leimstift.de>

 app-emulation/waydroid/Manifest  |  1 +
 app-emulation/waydroid/waydroid-1.2.1.ebuild | 41 
 2 files changed, 42 insertions(+)

diff --git a/app-emulation/waydroid/Manifest b/app-emulation/waydroid/Manifest
new file mode 100644
index 0..1514b8248
--- /dev/null
+++ b/app-emulation/waydroid/Manifest
@@ -0,0 +1 @@
+DIST waydroid-1.2.1.tar.gz 222939 BLAKE2B 
ce69cb5ded92653b9e3c02e89e8ddab1e34ef8d4b16d1863119346495829efe6baae4bf0171d284186e0042602bf351c3926a3a900bc884f2906c9f09b62b290
 SHA512 
4e4aa781b84501ccde444281ab93b6c45cf91d7cda2f04565bf43bc8cdcd529b987356278f9e369a71fbb249b3bcdbd0ea56d37d48d0fbf1bf8bf186b4383a43

diff --git a/app-emulation/waydroid/waydroid-1.2.1.ebuild 
b/app-emulation/waydroid/waydroid-1.2.1.ebuild
new file mode 100644
index 0..1c9b31ce9
--- /dev/null
+++ b/app-emulation/waydroid/waydroid-1.2.1.ebuild
@@ -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"
+}