commit: 1148a0ffcad0d233b23d5f31580fc77c70bb38dc
Author: Julien Roy <julien <AT> jroy <DOT> ca>
AuthorDate: Mon Feb 19 21:45:56 2024 +0000
Commit: Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Mon Feb 19 21:46:04 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1148a0ff
Revert "app-containers/waydroid: added python3.12 support"
This reverts commit 4d3ef84881cb7705770020ff2a2634fa318f6823.
Signed-off-by: Julien Roy <julien <AT> jroy.ca>
app-containers/waydroid/waydroid-1.4.2-r1.ebuild | 89 ------------------------
1 file changed, 89 deletions(-)
diff --git a/app-containers/waydroid/waydroid-1.4.2-r1.ebuild
b/app-containers/waydroid/waydroid-1.4.2-r1.ebuild
deleted file mode 100644
index 9a495dd85c..0000000000
--- a/app-containers/waydroid/waydroid-1.4.2-r1.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright 2022-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-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"
-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="systemd apparmor"
-
-DEPEND="|| ( virtual/linux-sources virtual/dist-kernel )"
-RDEPEND="
- systemd? ( sys-apps/systemd )
- 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-0.7.0[wayland,${PYTHON_USEDEP}]
- dev-python/dbus-python[${PYTHON_USEDEP}]
- ')
- net-firewall/nftables
- net-dns/dnsmasq
- >=dev-libs/libglibutil-1.0.67
- >=dev-libs/gbinder-1.1.21
- ${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_compile(){
- :;
-}
-
-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_desktop_database_update
- xdg_mimeinfo_database_update
-
- if ! 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 "After package installation run ether 'emerge --config
app-containers/waydroid'"
- einfo "or 'waydroid init' from root shell to install android container
runtime"
- einfo "To run waydroid, 1. Start container: 'rc-service waydroid start'"
- einfo "2. start wayland channel (from user shell) 'waydroid session
start'"
- 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
-}
-
-pkg_config() {
- "${ROOT}"/usr/bin/waydroid init
-}