commit:     a88993d40917dc6333f48cd9a579ff821708f80a
Author:     Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com>
AuthorDate: Mon Apr 29 16:04:08 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Dec  1 11:52:09 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a88993d4

acct-user/vdr: [QA] BannedEapiCommand

Add RDEPEND for IUSE
Add REQUIRED_USE for remote

Signed-off-by: Paul Zander <negril.nx+gentoo <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 acct-user/vdr/{vdr-0-r2.ebuild => vdr-0-r3.ebuild} | 26 +++++++++++++++++++++-
 1 file changed, 25 insertions(+), 1 deletion(-)

diff --git a/acct-user/vdr/vdr-0-r2.ebuild b/acct-user/vdr/vdr-0-r3.ebuild
similarity index 87%
rename from acct-user/vdr/vdr-0-r2.ebuild
rename to acct-user/vdr/vdr-0-r3.ebuild
index 7c25955a8feb..98027c414841 100644
--- a/acct-user/vdr/vdr-0-r2.ebuild
+++ b/acct-user/vdr/vdr-0-r3.ebuild
@@ -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

Reply via email to