mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
app-containers/waydroid: add 1.6.2, drop old
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
@@ -1,3 +1,2 @@
|
||||
DIST waydroid-1.5.2.tar.gz 241865 BLAKE2B 39ba1f759a9420fa92d02ea289cedfb8342e680ff57b304df3b94772991564d8385b8b722f2061dd1e0e9a40e0aa6aab52b6de5d3fc60e69a93d75b387693549 SHA512 80be97409d73c3dc649482ff9b8a9b3c316f7cfa7560c87e26a2b68a0efdcaa34c070825334789b6830e3ee0a88eb0967e9101575e4eadc4a39bda099c0f7651
|
||||
DIST waydroid-1.5.4.tar.gz 242228 BLAKE2B 4df700f312b4c290fb3622bf8b0e1013b6c24d48f3c004c154bda562bb650b733b8670209a888c3a0de21db62631be2cd736be89080cc421d6381926a73302f0 SHA512 c6fc3860ed059676bf770b672be3df14b8e47b2a2b4a44e4d5672fedd3651959d7cb2b75fc34a7a037f3a770b3b82b78e12d0f3c9f3979ae821474eef4fad90c
|
||||
DIST waydroid-1.6.1.tar.gz 247610 BLAKE2B 4504fbe13b27c5329ebd425cf621b9639e816d44463af59b0cb49a5b60c29a92ae10e38898b5a637aac279f51fa8a8298b3c46d17d27fb8880908548eab5c259 SHA512 88607a68b81f6616c3f7286ce8e7eedf551e828718c1342ee2f86f40243c52c96fd23512d02a116c5880f0806af75919db5aabec3b92e7fb81510f0e8486a431
|
||||
DIST waydroid-1.6.2.tar.gz 247887 BLAKE2B bd9b6d9715f0d58837348fca965636f27abd874c774565f52ce862fb434b9b59f27100e4f6036da7f878f23977e798a3408022fd18885ffae022d34f44169e9c SHA512 ea6d6c0d8519a41c7c80335c30cb9afd3fd03d308400585779fbb5a52de881cfc4f3b9cbc71a089fd84bd362bd24c6f7ee4869420fcd2a1fe2104554b1b7b90b
|
||||
|
||||
@@ -1,110 +0,0 @@
|
||||
# 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
|
||||
}
|
||||
@@ -1,13 +1,13 @@
|
||||
# Copyright 2022-2025 Gentoo Authors
|
||||
# Copyright 2022-2026 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
|
||||
PYTHON_COMPAT=( python3_{12..14} )
|
||||
inherit linux-info python-single-r1 xdg
|
||||
|
||||
DESCRIPTION="Container-based approach to boot a full Android system on Linux systems"
|
||||
HOMEPAGE="https://waydro.id"
|
||||
HOMEPAGE="https://waydro.id https://github.com/waydroid/waydroid"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
@@ -22,13 +22,13 @@ RDEPEND="
|
||||
$(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/gbinder-1.3.0[${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
|
||||
>=dev-libs/libglibutil-1.0.80
|
||||
>=dev-libs/gbinder-1.1.43
|
||||
x11-themes/hicolor-icon-theme
|
||||
${PYTHON_DEPS}
|
||||
"
|
||||
Reference in New Issue
Block a user