expand vdr version depends, reported by Sebastion on bug #562428
authorJoerg Bornkessel <hd_brummy@gentoo.org>
Sat, 10 Oct 2015 18:35:02 +0000 (20:35 +0200)
committerJoerg Bornkessel <hd_brummy@gentoo.org>
Sat, 10 Oct 2015 18:35:02 +0000 (20:35 +0200)
Package-Manager: portage-2.2.20.1

media-plugins/vdr-remote/vdr-remote-0.6.0-r1.ebuild [new file with mode: 0644]

diff --git a/media-plugins/vdr-remote/vdr-remote-0.6.0-r1.ebuild b/media-plugins/vdr-remote/vdr-remote-0.6.0-r1.ebuild
new file mode 100644 (file)
index 0000000..5eec3a9
--- /dev/null
@@ -0,0 +1,29 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit vdr-plugin-2
+
+DESCRIPTION="VDR Plugin: use various devices for controlling vdr (keyboards, lirc, remotes bundled with tv-cards)"
+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.0.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
+}