commit: ffe86e04d795cb230a787543078e99b3fa9a3758 Author: Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com> AuthorDate: Fri Apr 26 20:43:33 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Dec 1 11:52:10 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffe86e04
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 <AT> gmail.com> Signed-off-by: Sam James <sam <AT> gentoo.org> ...-0.7.0-r1.ebuild => vdr-remote-0.7.0-r2.ebuild} | 25 +++++++++------------- 1 file 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 similarity index 53% rename from media-plugins/vdr-remote/vdr-remote-0.7.0-r1.ebuild rename to 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] ) +"
