summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Zander <negril.nx+gentoo@gmail.com>2024-04-26 22:43:33 +0200
committerSam James <sam@gentoo.org>2024-12-01 11:52:10 +0000
commitffe86e04d795cb230a787543078e99b3fa9a3758 (patch)
treecc14b529e393ec188707670af16062666545ba4e /media-plugins
parentacct-user/vdr: [QA] BannedEapiCommand (diff)
downloadgentoo-ffe86e04d795cb230a787543078e99b3fa9a3758.tar.gz
gentoo-ffe86e04d795cb230a787543078e99b3fa9a3758.tar.bz2
gentoo-ffe86e04d795cb230a787543078e99b3fa9a3758.zip
media-plugins/vdr-remote: [QA] BannedEapiCommand
acct-user/vdr has the logic for this, so use it Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-plugins')
-rw-r--r--media-plugins/vdr-remote/vdr-remote-0.7.0-r2.ebuild (renamed from media-plugins/vdr-remote/vdr-remote-0.7.0-r1.ebuild)25
1 files changed, 10 insertions, 15 deletions
diff --git a/media-plugins/vdr-remote/vdr-remote-0.7.0-r1.ebuild b/media-plugins/vdr-remote/vdr-remote-0.7.0-r2.ebuild
index 8dab4f28306a..96c77e0902ee 100644
--- a/media-plugins/vdr-remote/vdr-remote-0.7.0-r1.ebuild
+++ b/media-plugins/vdr-remote/vdr-remote-0.7.0-r2.ebuild
@@ -1,7 +1,7 @@
-# Copyright 2021 Gentoo Authors
+# Copyright 2021-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit vdr-plugin-2
@@ -9,20 +9,15 @@ DESCRIPTION="VDR Plugin: use various devices for controlling vdr (keyboards, lir
HOMEPAGE="http://www.escape-edv.de/endriss/vdr/"
SRC_URI="http://www.escape-edv.de/endriss/vdr/${P}.tgz"
-SLOT="0"
LICENSE="GPL-2"
+SLOT="0"
KEYWORDS="amd64 x86"
IUSE="systemd"
-DEPEND=">=media-video/vdr-2.2.0"
-
-pkg_setup() {
- vdr-plugin-2_pkg_setup
-
- if use systemd; then
- if ! getent group input | grep -q vdr; then
- einfo "add user 'vdr' to group 'input' for full access to remote control device"
- gpasswd -a vdr input
- fi
- fi
-}
+DEPEND="
+ >=media-video/vdr-2.2.0
+"
+RDEPEND="
+ ${DEPEND}
+ systemd? ( acct-user/vdr[remote,systemd] )
+"