From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1276972-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id D2BA11382C5
	for <garchives@archives.gentoo.org>; Sat,  1 May 2021 12:19:10 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id EC524E0D04;
	Sat,  1 May 2021 12:19:09 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id CCE4AE0D01
	for <gentoo-commits@lists.gentoo.org>; Sat,  1 May 2021 12:19:09 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 951B9335C85
	for <gentoo-commits@lists.gentoo.org>; Sat,  1 May 2021 12:19:08 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 4F80473A
	for <gentoo-commits@lists.gentoo.org>; Sat,  1 May 2021 12:19:07 +0000 (UTC)
From: "Jörg Bornkessel" <hd_brummy@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Jörg Bornkessel" <hd_brummy@gentoo.org>
Message-ID: <1619871530.541af7b2950fc3c81b5009aa5b98c65677d3a475.hd_brummy@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: media-plugins/vdr-remote/
X-VCS-Repository: repo/gentoo
X-VCS-Files: media-plugins/vdr-remote/vdr-remote-0.7.0-r1.ebuild
X-VCS-Directories: media-plugins/vdr-remote/
X-VCS-Committer: hd_brummy
X-VCS-Committer-Name: Jörg Bornkessel
X-VCS-Revision: 541af7b2950fc3c81b5009aa5b98c65677d3a475
X-VCS-Branch: master
Date: Sat,  1 May 2021 12:19:07 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 7800f201-3ba0-4e21-b99d-8509173f38d9
X-Archives-Hash: 21b7be73b5306edcb55f4cdc3c72981d

commit:     541af7b2950fc3c81b5009aa5b98c65677d3a475
Author:     Joerg Bornkessel <hd_brummy <AT> gentoo <DOT> org>
AuthorDate: Sat May  1 12:11:19 2021 +0000
Commit:     Jörg Bornkessel <hd_brummy <AT> gentoo <DOT> org>
CommitDate: Sat May  1 12:18:50 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=541af7b2

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 <AT> gentoo.org>

 .../vdr-remote/vdr-remote-0.7.0-r1.ebuild          | 28 ++++++++++++++++++++++
 1 file changed, 28 insertions(+)

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
+}