app-containers/waydroid: Make dev-python/pyclip optional

Signed-off-by: Esteve Varela Colominas <esteve.varela@gmail.com>
This commit is contained in:
Esteve Varela Colominas 2024-03-21 22:14:19 +01:00
parent 9ea9785438
commit b559b1f8ab
No known key found for this signature in database
GPG Key ID: 3FF7E04B2D9458EE
2 changed files with 5 additions and 2 deletions

View File

@ -13,6 +13,9 @@
The Android runtime environment ships with a minimal customized Android system image based on LineageOS. The image is currently based on Android 11. The Android runtime environment ships with a minimal customized Android system image based on LineageOS. The image is currently based on Android 11.
</longdescription> </longdescription>
<use>
<flag name="clipboard">Enable clipboard manager service using dev-python/pyclip</flag>
</use>
<upstream> <upstream>
<remote-id type="github">waydroid/waydroid</remote-id> <remote-id type="github">waydroid/waydroid</remote-id>
</upstream> </upstream>

View File

@ -14,16 +14,16 @@ LICENSE="GPL-3"
SLOT="0" SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86" KEYWORDS="~amd64 ~arm ~arm64 ~x86"
REQUIRED_USE="${PYTHON_REQUIRED_USE}" REQUIRED_USE="${PYTHON_REQUIRED_USE}"
IUSE="systemd apparmor" IUSE="apparmor +clipboard systemd"
DEPEND="|| ( virtual/linux-sources virtual/dist-kernel )" DEPEND="|| ( virtual/linux-sources virtual/dist-kernel )"
RDEPEND=" RDEPEND="
systemd? ( sys-apps/systemd ) systemd? ( sys-apps/systemd )
app-containers/lxc[systemd?,apparmor?,seccomp] app-containers/lxc[systemd?,apparmor?,seccomp]
$(python_gen_cond_dep ' $(python_gen_cond_dep '
clipboard? ( >=dev-python/pyclip-0.7.0[wayland,${PYTHON_USEDEP}] )
dev-python/pygobject[${PYTHON_USEDEP}] dev-python/pygobject[${PYTHON_USEDEP}]
>=dev-python/gbinder-1.1.1[${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}] dev-python/dbus-python[${PYTHON_USEDEP}]
') ')
net-firewall/nftables net-firewall/nftables