From: "Denis Reva" <denis7774@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-containers/waydroid/
Date: Mon, 23 Jun 2025 10:09:55 +0000 (UTC) [thread overview]
Message-ID: <1750673387.2f0728ba460418f0af25fa84f712fcea6a4b576c.RarogCmex@gentoo> (raw)
commit: 2f0728ba460418f0af25fa84f712fcea6a4b576c
Author: Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Mon Jun 23 10:09:47 2025 +0000
Commit: Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Mon Jun 23 10:09:47 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2f0728ba
app-containers/waydroid: add 1.5.3
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>
app-containers/waydroid/Manifest | 1 +
app-containers/waydroid/waydroid-1.5.3.ebuild | 110 ++++++++++++++++++++++++++
2 files changed, 111 insertions(+)
diff --git a/app-containers/waydroid/Manifest b/app-containers/waydroid/Manifest
index fb378a3fa2..7a31ab31b5 100644
--- a/app-containers/waydroid/Manifest
+++ b/app-containers/waydroid/Manifest
@@ -1,3 +1,4 @@
DIST waydroid-1.4.3.tar.gz 240785 BLAKE2B e654f2ed74f8d22810417ee5d6f6134ee5050b4e105dd2c643fa39df660e8c325a80f8e75176dd65e052deba187890f8afd94c384d707e0287027d3454a533ea SHA512 e94edeca7097cb1572296d0b6e308483b1bd21e1bd50d9e6d2bd54d4ba75ffeb8bd4e1d1f8143fbcf49dddd30155da2e3c5a58240a85b159dae4e71985e547aa
DIST waydroid-1.5.1.tar.gz 241421 BLAKE2B 0368304d2088f8920d3dd65cd7fcb9d9517097146b543d838219f337f55444e32d10e2dfc4d0ec2570268959f005686cc3a756c8a44cb89bd87a473cf40a05d1 SHA512 fde8c699fdd67d49ee355c96dbba5c94ce2061c280bb28533035982cd460335f93cd9350de90b525d286f72bd3e4bad73a341fca31909e9623553e9280fe7463
DIST waydroid-1.5.2.tar.gz 241865 BLAKE2B 39ba1f759a9420fa92d02ea289cedfb8342e680ff57b304df3b94772991564d8385b8b722f2061dd1e0e9a40e0aa6aab52b6de5d3fc60e69a93d75b387693549 SHA512 80be97409d73c3dc649482ff9b8a9b3c316f7cfa7560c87e26a2b68a0efdcaa34c070825334789b6830e3ee0a88eb0967e9101575e4eadc4a39bda099c0f7651
+DIST waydroid-1.5.3.tar.gz 242090 BLAKE2B f90eef963c604a19dc5bbe837aa304b283e604d063fe1c3ca2a2da002a47a4a99761fa92ec0972582f76fe7f94e85d0a2cbc2270f090cf3ab695a0c8966c3317 SHA512 58d5a9384aa9755368a79992f69a863805b231f1f2f85c35eb46cc4a07b283b666a8d75cdc7651d28eee97001b81a4dc5353e7c3f32e301b19eab532083b9a29
diff --git a/app-containers/waydroid/waydroid-1.5.3.ebuild b/app-containers/waydroid/waydroid-1.5.3.ebuild
new file mode 100644
index 0000000000..fb15f99c5e
--- /dev/null
+++ b/app-containers/waydroid/waydroid-1.5.3.ebuild
@@ -0,0 +1,110 @@
+# Copyright 2022-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..13} )
+inherit linux-info xdg 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 ~arm ~arm64 ~x86"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+IUSE="apparmor +clipboard systemd"
+
+DEPEND="|| ( virtual/linux-sources virtual/dist-kernel )"
+RDEPEND="
+ systemd? ( sys-apps/systemd )
+ app-containers/lxc[systemd?,apparmor?,seccomp]
+ $(python_gen_cond_dep '
+ clipboard? ( >=dev-python/pyclip-0.7.0[wayland,${PYTHON_USEDEP}] )
+ dev-python/pygobject[${PYTHON_USEDEP}]
+ >=dev-python/gbinder-1.1.1[${PYTHON_USEDEP}]
+ dev-python/dbus-python[${PYTHON_USEDEP}]
+ ')
+ net-firewall/nftables
+ net-dns/dnsmasq
+ >=dev-libs/libglibutil-1.0.79
+ >=dev-libs/gbinder-1.1.41
+ ${PYTHON_DEPS}
+"
+CONFIG_CHECK="
+ ~ANDROID_BINDER_IPC
+ ~ANDROID_BINDERFS
+ ~MEMFD_CREATE
+ ~NETFILTER_XT_TARGET_MASQUERADE
+ ~NETFILTER_XT_NAT
+ ~PSI
+ ~!PSI_DEFAULT_DISABLED
+ ~NF_TABLES
+ ~NF_TABLES_INET
+ ~NF_TABLES_NETDEV
+ ~NFT_NUMGEN
+ ~NFT_NAT
+ ~NFT_TUNNEL
+ ~NFT_QUOTA
+ ~NFT_SOCKET
+ ~NF_FLOW_TABLE
+ ~NFT_BRIDGE_META
+ ~NFT_BRIDGE_REJECT
+"
+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_NETFILTER_XT_NAT="CONFIG_NETFILTER_XT_NAT: see bug #937106"
+ERROR_NETFILTER_XT_TARGET_MASQUERADE="CONFIG_NETFILTER_XT_TARGET_MASQUERADE: see bug #937106"
+ERROR_PSI="CONFIG_PSI: see bug #947280"
+ERROR_NF_TABLES="CONFIG_NF_TABLES: Make sure you have NFTABLES up and running in your kernel"
+ERROR_NFT_NAT="CONFIG_NFT_NAT: see bug #947280"
+ERROR_NFT_BRIDGE_META="CONFIG_NFT_BRIDGE_META: see bug #947280"
+
+pkg_setup() {
+ linux-info_pkg_setup
+ python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ if ! use apparmor; then
+ # https://github.com/waydroid/waydroid/issues/652
+ sed -e '/^lxc\.apparmor\.profile =/d' \
+ -i data/configs/config_3 || die
+ fi
+ default
+}
+
+src_install() {
+ python_fix_shebang waydroid.py
+ emake install DESTDIR="${D}" USE_NFTABLES=1 USE_SYSTEMD=$(usex systemd 1 0)
+ if ! use systemd; then
+ elog "Installing waydroid OpenRC daemon"
+ doinitd "${FILESDIR}"/waydroid
+ fi
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+
+ elog "After package installation run either 'emerge --config app-containers/waydroid'"
+ elog "or 'waydroid init' from root shell to install android container runtime"
+ elog "To run waydroid, 1. Start container: 'rc-service waydroid start'"
+ elog "2. start wayland channel (from user shell) 'waydroid session start'"
+ elog "Contact https://docs.waydro.id/usage/install-on-desktops for how-to guides"
+ elog "(does not cover Gentoo-specific things sadly)"
+ elog
+ ewarn "Make sure you have NFTABLES up and running in your kernel. See"
+ ewarn "https://wiki.gentoo.org/wiki/Nftables for how-to details"
+ ewarn
+ if use apparmor; then
+ ewarn "Check the known issues for apparmor:"
+ ewarn "https://docs.waydro.id/debugging/known-issues"
+ fi
+}
+
+pkg_config() {
+ "${EROOT}"/usr/bin/waydroid init
+}
next reply other threads:[~2025-06-23 10:09 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-23 10:09 Denis Reva [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-06-24 16:49 [gentoo-commits] repo/proj/guru:dev commit in: app-containers/waydroid/ Denis Reva
2025-06-06 6:10 Denis Reva
2025-05-03 8:17 Denis Reva
2025-01-11 9:35 Denis Reva
2024-11-16 17:13 Denis Reva
2024-11-10 15:48 Denis Reva
2024-08-06 14:22 Denis Reva
2024-07-20 9:27 Takuya Wakazono
2024-05-15 17:00 [gentoo-commits] repo/proj/guru:master " Julien Roy
2024-05-15 16:55 ` [gentoo-commits] repo/proj/guru:dev " Julien Roy
2024-03-22 18:55 Esteve Varela Colominas
2024-03-21 22:11 Esteve Varela Colominas
2024-03-21 22:11 Esteve Varela Colominas
2024-03-21 22:11 Esteve Varela Colominas
2024-03-21 22:11 Esteve Varela Colominas
2024-03-21 22:11 Esteve Varela Colominas
2024-03-21 22:11 Esteve Varela Colominas
2024-02-19 22:00 [gentoo-commits] repo/proj/guru:master " Julien Roy
2024-02-19 21:47 ` [gentoo-commits] repo/proj/guru:dev " Julien Roy
2024-02-19 21:47 Julien Roy
2024-02-19 14:03 Denis Reva
2024-02-18 19:53 Julien Roy
2024-02-18 19:53 Julien Roy
2023-10-30 11:30 David Roman
2023-02-18 7:16 Denis Reva
2022-12-29 11:33 [gentoo-commits] repo/proj/guru:master " Florian Schmaus
2022-12-29 11:33 ` [gentoo-commits] repo/proj/guru:dev " Florian Schmaus
2022-12-29 11:33 Florian Schmaus
2022-12-29 11:28 Florian Schmaus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1750673387.2f0728ba460418f0af25fa84f712fcea6a4b576c.RarogCmex@gentoo \
--to=denis7774@gmail.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox