diff options
author | Paul Zander <negril.nx+gentoo@gmail.com> | 2024-04-26 22:43:52 +0200 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-12-01 11:52:10 +0000 |
commit | 0e26199a1115a68cfc9fff0cc7dfcd46fdebf9a6 (patch) | |
tree | 09a172ef754cac556415f171c8808e49b88d35a6 /media-plugins | |
parent | media-plugins/vdr-remote: [QA] BannedEapiCommand (diff) | |
download | gentoo-0e26199a1115a68cfc9fff0cc7dfcd46fdebf9a6.tar.gz gentoo-0e26199a1115a68cfc9fff0cc7dfcd46fdebf9a6.tar.bz2 gentoo-0e26199a1115a68cfc9fff0cc7dfcd46fdebf9a6.zip |
media-plugins/vdr-serial: [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-serial/vdr-serial-0.0.6a-r2.ebuild (renamed from media-plugins/vdr-serial/vdr-serial-0.0.6a-r1.ebuild) | 28 |
1 files changed, 11 insertions, 17 deletions
diff --git a/media-plugins/vdr-serial/vdr-serial-0.0.6a-r1.ebuild b/media-plugins/vdr-serial/vdr-serial-0.0.6a-r2.ebuild index d37f5c9b253b..5fcf0a93776c 100644 --- a/media-plugins/vdr-serial/vdr-serial-0.0.6a-r1.ebuild +++ b/media-plugins/vdr-serial/vdr-serial-0.0.6a-r2.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit vdr-plugin-2 @@ -9,24 +9,18 @@ DESCRIPTION="VDR Plugin: attach some buttons with diodes to the serial port" HOMEPAGE="http://www.lf-klueber.de/vdr.htm" SRC_URI="http://www.lf-klueber.de/${P}.tgz" -KEYWORDS="~amd64 ~x86" -SLOT="0" LICENSE="GPL-2" -IUSE="" - -DEPEND="media-video/vdr" +SLOT="0" +KEYWORDS="~amd64 ~x86" -pkg_setup() { - vdr-plugin-2_pkg_setup +DEPEND=" + media-video/vdr +" - if ! getent group uucp | grep -q vdr; then - echo - einfo "Add user 'vdr' to group 'uucp' for full user access to serial/ttyS* device" - echo - elog "User vdr added to group uucp" - gpasswd -a vdr uucp - fi -} +RDEPEND=" + ${DEPEND} + acct-user/vdr[serial] +" src_prepare() { vdr-plugin-2_src_prepare |