diff options
| author | root <root@alpha.trunkmasters.com> | 2026-08-12 07:05:33 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-08-12 07:05:33 -0500 |
| commit | ec560e4b511b5d7cb09adbd406de3ddb8386156f (patch) | |
| tree | 903cc6d65549c358295c50cd521f3fb699dff0b0 /app-containers | |
| parent | 7a6681ba59ffb2de9993c9bda64f6cdd414990b7 (diff) | |
| download | baldeagleos-repo-ec560e4b511b5d7cb09adbd406de3ddb8386156f.tar.gz baldeagleos-repo-ec560e4b511b5d7cb09adbd406de3ddb8386156f.tar.xz baldeagleos-repo-ec560e4b511b5d7cb09adbd406de3ddb8386156f.zip | |
Adding metadata
Diffstat (limited to 'app-containers')
| -rw-r--r-- | app-containers/incus-ui/files/90incus-ui.openrc.env | 1 | ||||
| -rw-r--r-- | app-containers/waydroid/Manifest | 2 | ||||
| -rw-r--r-- | app-containers/waydroid/files/waydroid.initd | 12 | ||||
| -rw-r--r-- | app-containers/waydroid/waydroid-1.6.3.ebuild (renamed from app-containers/waydroid/waydroid-1.6.1.ebuild) | 62 |
4 files changed, 53 insertions, 24 deletions
diff --git a/app-containers/incus-ui/files/90incus-ui.openrc.env b/app-containers/incus-ui/files/90incus-ui.openrc.env new file mode 100644 index 000000000000..ad5f60bea86e --- /dev/null +++ b/app-containers/incus-ui/files/90incus-ui.openrc.env @@ -0,0 +1 @@ +INCUS_UI="/usr/share/incus-ui" diff --git a/app-containers/waydroid/Manifest b/app-containers/waydroid/Manifest index 3c0994ce30cc..36347b70fb09 100644 --- a/app-containers/waydroid/Manifest +++ b/app-containers/waydroid/Manifest @@ -1,2 +1,2 @@ -DIST waydroid-1.6.1.tar.gz 247610 BLAKE2B 4504fbe13b27c5329ebd425cf621b9639e816d44463af59b0cb49a5b60c29a92ae10e38898b5a637aac279f51fa8a8298b3c46d17d27fb8880908548eab5c259 SHA512 88607a68b81f6616c3f7286ce8e7eedf551e828718c1342ee2f86f40243c52c96fd23512d02a116c5880f0806af75919db5aabec3b92e7fb81510f0e8486a431 DIST waydroid-1.6.2.tar.gz 247887 BLAKE2B bd9b6d9715f0d58837348fca965636f27abd874c774565f52ce862fb434b9b59f27100e4f6036da7f878f23977e798a3408022fd18885ffae022d34f44169e9c SHA512 ea6d6c0d8519a41c7c80335c30cb9afd3fd03d308400585779fbb5a52de881cfc4f3b9cbc71a089fd84bd362bd24c6f7ee4869420fcd2a1fe2104554b1b7b90b +DIST waydroid-1.6.3.tar.gz 249566 BLAKE2B 9b20fb5aa7d24b252a6f19938ac264fac9c173ef9976936c5a27620e56a68d5524c34f93875b36166c15c5372aaa7dc24a1fac0c2616d99c0ffd3cc946ed8cf3 SHA512 e395b0eed9bfda3cb7b0ab8de5e8d69c57188c86b810c76fccd6a9dea2179acf219b41338382a923d0f4cfbb276064d7336c0771ba54c6ef14e8496250a3acfa diff --git a/app-containers/waydroid/files/waydroid.initd b/app-containers/waydroid/files/waydroid.initd new file mode 100644 index 000000000000..3b578491f23e --- /dev/null +++ b/app-containers/waydroid/files/waydroid.initd @@ -0,0 +1,12 @@ +#!/sbin/openrc-run +# shellcheck shell=sh +# +# Copyright 2022-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +: "${supervisor:=supervise-daemon}" + +description="Waydroid Container Manager" +command="/usr/bin/waydroid" +command_args="container start" +pidfile="/run/${RC_SVCNAME}.pid" diff --git a/app-containers/waydroid/waydroid-1.6.1.ebuild b/app-containers/waydroid/waydroid-1.6.3.ebuild index c4b1e66b54d5..1b02a3105eaf 100644 --- a/app-containers/waydroid/waydroid-1.6.1.ebuild +++ b/app-containers/waydroid/waydroid-1.6.3.ebuild @@ -1,36 +1,43 @@ -# 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_{13..14} ) -inherit linux-info xdg python-single-r1 +PYTHON_REQ_USE="ssl" +inherit linux-info optfeature python-single-r1 systemd 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" +LICENSE="GPL-3+" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~x86" REQUIRED_USE="${PYTHON_REQUIRED_USE}" -IUSE="apparmor +clipboard" +IUSE="apparmor" -DEPEND="|| ( virtual/linux-sources virtual/dist-kernel )" -RDEPEND=" +RDEPEND="${PYTHON_DEPS} app-containers/lxc[apparmor?,seccomp] + net-firewall/nftables + net-dns/dnsmasq[dhcp] + sys-apps/dbus + sys-auth/polkit + virtual/notification-daemon + x11-libs/gtk+:3[introspection,wayland] + x11-themes/hicolor-icon-theme $(python_gen_cond_dep ' - clipboard? ( >=dev-python/pyclip-0.7.0[wayland,${PYTHON_USEDEP}] ) - dev-python/pygobject[${PYTHON_USEDEP}] - >=dev-python/gbinder-1.3.0[${PYTHON_USEDEP}] dev-python/dbus-python[${PYTHON_USEDEP}] + >=dev-python/gbinder-1.3.0[${PYTHON_USEDEP}] + dev-python/pygobject[${PYTHON_USEDEP}] ') - net-firewall/nftables - net-dns/dnsmasq - >=dev-libs/libglibutil-1.0.80 - >=dev-libs/gbinder-1.1.43 - x11-themes/hicolor-icon-theme - ${PYTHON_DEPS} + || ( + media-video/pipewire[sound-server] + media-sound/pulseaudio-daemon + ) " CONFIG_CHECK=" ~ANDROID_BINDER_IPC @@ -79,28 +86,37 @@ src_prepare() { src_install() { python_fix_shebang waydroid.py - emake install DESTDIR="${D}" USE_NFTABLES=1 USE_SYSTEMD=1 - elog "Installing waydroid OpenRC daemon" - doinitd "${FILESDIR}"/waydroid + newinitd "${FILESDIR}"/waydroid.initd waydroid + + local mymakeargs=( + DESTDIR="${D}" + PREFIX="${EPREFIX}"/usr + SYSD_DIR="$(systemd_get_systemunitdir)" + USE_NFTABLES=1 + USE_SYSTEMD=1 + ) + emake "${mymakeargs[@]}" install install_apparmor } 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 "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 "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 + + optfeature "clipboard support" "dev-python/pyclip[wayland]" } pkg_config() { |
