/[gentoo-x86]/media-plugins/vdr-remote/vdr-remote-0.5.0-r1.ebuild
Gentoo

Contents of /media-plugins/vdr-remote/vdr-remote-0.5.0-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Fri Jan 23 13:49:34 2015 UTC (5 years, 1 month ago) by hd_brummy
Branch: MAIN
CVS Tags: HEAD
add user vdr to group input for full access to remote control devices(systemd)

(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 34C2808A)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-remote/vdr-remote-0.5.0.ebuild,v 1.2 2014/01/02 13:49:58 hd_brummy Exp $
4
5 EAPI=5
6
7 inherit vdr-plugin-2
8
9 DESCRIPTION="VDR Plugin: use various devices for controlling vdr (keyboards, lirc, remotes bundled with tv-cards)"
10 HOMEPAGE="http://www.escape-edv.de/endriss/vdr/"
11 SRC_URI="http://www.escape-edv.de/endriss/vdr/${P}.tgz"
12
13 SLOT="0"
14 LICENSE="GPL-2"
15 KEYWORDS="~amd64 ~x86"
16 IUSE="systemd"
17
18 DEPEND=">=media-video/vdr-2"
19 RDEPEND="${DEPEND}"
20
21 pkg_setup() {
22 vdr-plugin-2_pkg_setup
23
24 if use systemd; then
25 if ! getent group input | grep -q vdr; then
26 einfo "add user 'vdr' to group 'input' for full access to remote control device"
27 gpasswd -a vdr input
28 fi
29 fi
30 }

  ViewVC Help
Powered by ViewVC 1.1.20