forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
expand vdr version depends, reported by Sebastion on bug #562428
Package-Manager: portage-2.2.20.1
- Loading branch information
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} |