acct-user/vdr: [QA] BannedEapiCommand

Add RDEPEND for IUSE
Add REQUIRED_USE for remote

Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Paul Zander 2024-04-29 18:04:08 +02:00 committed by Sam James
parent cacc52acc4
commit a88993d409
No known key found for this signature in database
GPG Key ID: 738409F520DF9190

View File

@ -1,4 +1,4 @@
# Copyright 2022-2023 Gentoo Authors
# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@ -14,6 +14,30 @@ IUSE="graphlcd legacy-homedir remote serial systemd"
acct-user_add_deps
REQUIRED_USE="
remote? ( systemd )
"
RDEPEND+="
graphlcd? (
acct-group/lp
acct-group/usb
)
remote? (
systemd? (
acct-group/input
)
)
serial? (
systemd? (
acct-group/dialout
)
!systemd? (
acct-group/uucp
)
)
"
pkg_setup() {
# if user wants to preserve his existing vdr installation,
# he can set USE=legacy-homedir