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.
</longdescription>
<use>
<flag name="clipboard">Enable clipboard manager service using dev-python/pyclip</flag>
</use>
<upstream>
<remote-id type="github">waydroid/waydroid</remote-id>
</upstream>

View File

@ -14,16 +14,16 @@ LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
IUSE="systemd apparmor"
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/pyclip-0.7.0[wayland,${PYTHON_USEDEP}]
dev-python/dbus-python[${PYTHON_USEDEP}]
')
net-firewall/nftables