summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-plugins/vdr-serial')
-rw-r--r--media-plugins/vdr-serial/Manifest1
-rw-r--r--media-plugins/vdr-serial/metadata.xml12
-rw-r--r--media-plugins/vdr-serial/vdr-serial-0.0.6a-r1.ebuild40
3 files changed, 53 insertions, 0 deletions
diff --git a/media-plugins/vdr-serial/Manifest b/media-plugins/vdr-serial/Manifest
new file mode 100644
index 000000000000..d73432b8713f
--- /dev/null
+++ b/media-plugins/vdr-serial/Manifest
@@ -0,0 +1 @@
+DIST vdr-serial-0.0.6a.tgz 65883 SHA256 f38f1187be6ecaff31a00761d2297893313ec954c68298cbf69779b3bd015708 SHA512 faa1dc52849449dba3aeb3eea17f01a4be8182eb5969193e083f477354c0fad8065ee655f73573883447f836732d782041346a46dd4cd92aee8f4a7ac0c32c52 WHIRLPOOL 57c7e62a3b4ae4105eae6a644c466c789ad3aff44ffacbfe2d34743941253ca741a4d74937c7f824747767aa2864e59e66b570c74c605f3f405f0a94dc3f53e7
diff --git a/media-plugins/vdr-serial/metadata.xml b/media-plugins/vdr-serial/metadata.xml
new file mode 100644
index 000000000000..d1b88e6872a7
--- /dev/null
+++ b/media-plugins/vdr-serial/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>media-tv</herd>
+<maintainer>
+<email>vdr@gentoo.org</email>
+<name>Gentoo VDR Project</name>
+</maintainer>
+<longdescription lang="en">
+</longdescription>
+</pkgmetadata>
+
diff --git a/media-plugins/vdr-serial/vdr-serial-0.0.6a-r1.ebuild b/media-plugins/vdr-serial/vdr-serial-0.0.6a-r1.ebuild
new file mode 100644
index 000000000000..1ae47a649d2d
--- /dev/null
+++ b/media-plugins/vdr-serial/vdr-serial-0.0.6a-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit vdr-plugin-2
+
+DESCRIPTION="VDR Plugin: attach some buttons with diodes to the serial port"
+HOMEPAGE="http://www.lf-klueber.de/vdr.htm"
+SRC_URI="http://www.lf-klueber.de/${P}.tgz
+ mirror://vdrfiles/${PN}/${P}.tgz"
+
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+LICENSE="GPL-2"
+IUSE=""
+
+DEPEND=">=media-video/vdr-1.2.6"
+
+pkg_setup() {
+ vdr-plugin-2_pkg_setup
+
+ if ! getent group uucp | grep -q vdr; then
+ echo
+ einfo "Add user 'vdr' to group 'uucp' for full user access to serial/ttyS* device"
+ echo
+ elog "User vdr added to group uucp"
+ gpasswd -a vdr uucp
+ fi
+}
+
+src_prepare() {
+ vdr-plugin-2_src_prepare
+
+ sed -i serial.c -e "s:RegisterI18n://RegisterI18n:"
+
+ cd "${S}"/tools
+ emake clean
+}