summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Bornkessel <hd_brummy@gentoo.org>2021-05-01 14:11:19 +0200
committerJoerg Bornkessel <hd_brummy@gentoo.org>2021-05-01 14:18:50 +0200
commit541af7b2950fc3c81b5009aa5b98c65677d3a475 (patch)
tree433b68aacb5fc80cde40b1d0a65845b52e1652e5
parentmedia-plugins/vdr-zappilot: moved to eapi 7 (diff)
downloadgentoo-541af7b2950fc3c81b5009aa5b98c65677d3a475.tar.gz
gentoo-541af7b2950fc3c81b5009aa5b98c65677d3a475.tar.bz2
gentoo-541af7b2950fc3c81b5009aa5b98c65677d3a475.zip
media-plugins/vdr-remote: moved to eapi 7
Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Joerg Bornkessel <hd_brummy@gentoo.org>
-rw-r--r--media-plugins/vdr-remote/vdr-remote-0.7.0-r1.ebuild28
1 files changed, 28 insertions, 0 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-r1.ebuild
new file mode 100644
index 00000000000..b331f7f4643
--- /dev/null
+++ b/media-plugins/vdr-remote/vdr-remote-0.7.0-r1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit vdr-plugin-2
+
+DESCRIPTION="VDR Plugin: use various devices for controlling vdr (keyboards, lirc...)"
+HOMEPAGE="http://www.escape-edv.de/endriss/vdr/"
+SRC_URI="http://www.escape-edv.de/endriss/vdr/${P}.tgz"
+
+SLOT="0"
+LICENSE="GPL-2"
+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
+}