summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Bornkessel <hd_brummy@gentoo.org>2008-03-27 22:17:38 +0000
committerJoerg Bornkessel <hd_brummy@gentoo.org>2008-03-27 22:17:38 +0000
commit8d460c34f230f2f9cf1782f02064b499aeb4b81a (patch)
tree4097133f1abb06d25ae7b69bd8a5d6454195017d /media-plugins/vdr-extb
parentStable for HPPA (bug #214226). (diff)
downloadhistorical-8d460c34f230f2f9cf1782f02064b499aeb4b81a.tar.gz
historical-8d460c34f230f2f9cf1782f02064b499aeb4b81a.tar.bz2
historical-8d460c34f230f2f9cf1782f02064b499aeb4b81a.zip
initial ebuild , moved from gentoo.de overlay
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'media-plugins/vdr-extb')
-rw-r--r--media-plugins/vdr-extb/ChangeLog13
-rw-r--r--media-plugins/vdr-extb/Manifest23
-rw-r--r--media-plugins/vdr-extb/files/extb-wakeup-0.2.9.tar.gzbin0 -> 6019 bytes
-rw-r--r--media-plugins/vdr-extb/files/rc.irexec22
-rw-r--r--media-plugins/vdr-extb/files/vdr-extb-0.2.9-gentoo.diff71
-rw-r--r--media-plugins/vdr-extb/files/vdr.extb6
-rw-r--r--media-plugins/vdr-extb/metadata.xml10
-rw-r--r--media-plugins/vdr-extb/vdr-extb-0.2.9.ebuild61
-rw-r--r--media-plugins/vdr-extb/vdr-extb-0.3.0.ebuild61
9 files changed, 267 insertions, 0 deletions
diff --git a/media-plugins/vdr-extb/ChangeLog b/media-plugins/vdr-extb/ChangeLog
new file mode 100644
index 000000000000..f8fe8be4ec27
--- /dev/null
+++ b/media-plugins/vdr-extb/ChangeLog
@@ -0,0 +1,13 @@
+# ChangeLog for media-plugins/vdr-extb
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-extb/ChangeLog,v 1.1 2008/03/27 22:17:38 hd_brummy Exp $
+
+*vdr-extb-0.3.0 (27 Mar 2008)
+*vdr-extb-0.2.9 (27 Mar 2008)
+
+ 27 Mar 2008; Joerg Bornkessel <hd_brummy@gentoo.org>
+ +files/vdr-extb-0.2.9-gentoo.diff, +files/extb-wakeup-0.2.9.tar.gz,
+ +files/rc.irexec, +files/vdr.extb, +metadata.xml, +vdr-extb-0.2.9.ebuild,
+ +vdr-extb-0.3.0.ebuild:
+ initial ebuild , moved from gentoo.de overlay
+
diff --git a/media-plugins/vdr-extb/Manifest b/media-plugins/vdr-extb/Manifest
new file mode 100644
index 000000000000..ca4bdd596b1f
--- /dev/null
+++ b/media-plugins/vdr-extb/Manifest
@@ -0,0 +1,23 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX extb-wakeup-0.2.9.tar.gz 6019 RMD160 e2b9eb17759030ca29306fe6a42640a376a6395c SHA1 55b454ca4fafd093bb6f8fc01c1eeb73ca084f90 SHA256 c6476355c0cd93bc2fb369e454ac49221d5d1a95cb75c62367b6e10163f95ae9
+AUX rc.irexec 463 RMD160 f0cf0bfc46755f2ba2812e5a2cc45d200cbbaaee SHA1 d1eac55a1146cfc50f64eeea224da088df1d2b96 SHA256 14f01f217a63d13ed455f358421d4ddc490b5d67fad4653f3f37ecb289d99ec1
+AUX vdr-extb-0.2.9-gentoo.diff 1793 RMD160 224e11d896cc940dcaa7eecf10e19ef24c9dc5d8 SHA1 69b6af4eba01993a0092e0df6b966c543addc83f SHA256 010ad26b16c996b6ccf48d62f0e25c35a2717bb161d7748d4c58628f7e825d20
+AUX vdr.extb 119 RMD160 d44a0faf09aaa4cb3650b949533f1d96a5eb7573 SHA1 9626f897fe05147694d47ec79ef1b1332b101a2e SHA256 3f334d880b1604d7e1789805137f7c871cc7a68cb3d44ac8f6cd5bf977dc1bba
+DIST extb.tar.gz 45417 RMD160 f3f29769ad5898488f28f9c3823691702195486d SHA1 5f57677ab855ccf4bdde34779c90f2506065d0be SHA256 9a9b873a3b04d32da164f5c8199ddaa1ce67a824d40ed3653c2d79e879739345
+DIST extb_firmware_1.08_lircd.conf.zip 8197 RMD160 24a1b8e59dcbf056749213078506d57640c876b4 SHA1 5236f845e8eebc42267a7755cd429a5c433d9b13 SHA256 149021182aadc3d1b62b81c4fe4a5d12f467a1762e3a5dd5e1619ce52db029b3
+DIST vdr-extb-0.2.9.tgz 47072 RMD160 fdebd176583a32ffe42269f500cc18a508a6e4b4 SHA1 1142f95d180259aa34659c4ec4f905bf0b757396 SHA256 3cf899c2fc31fd85be245ff4e970c126f3ecde8594abcd5bae029538b53fd337
+DIST vdr-extb-0.3.0.tgz 53672 RMD160 68920262c1402503c64a7110d0e6f4f484baafa6 SHA1 df32ec50c8092d0a1d703cab744f0bac4ab05d60 SHA256 025a9193538368d95d081da882c2c2e479b8a5136808e48b6a9b86b740b5db7f
+EBUILD vdr-extb-0.2.9.ebuild 1550 RMD160 07e56df8b3e2b05922b33377120aebc2ddfe6f80 SHA1 bbf3a1577d4eb28d083e31583e7484de9b0dac79 SHA256 3f6d01ba82103af5168256f85c2b77289774649c3d0cf9a31756fc113c7db37e
+EBUILD vdr-extb-0.3.0.ebuild 1557 RMD160 fadad491b649112aa60271311f9a907e0d2a4f4f SHA1 d68cd2642cc807b96f4c036dfb8735acc9ded0e4 SHA256 7e5e29dc789c7cc13a632166dd51c8e22afea713d15eb231a8198fe3b7e9c5e4
+MISC ChangeLog 557 RMD160 5a60bece21cc9885d5c5d5a439762daf2d714b08 SHA1 abd7f8c41778d6fe54b7107005b366eb315a6bd2 SHA256 fb4d47aac4831f2d5beab97e7dd5df8e33ff05e714bc8f715c2f24dcb5eb46b0
+MISC metadata.xml 337 RMD160 f0276e381deb2e62761aa580195b1c05be29f5d5 SHA1 401d1f6dd5361fa11c936bfa18aa86047a82c614 SHA256 ca40fe91ad4ff2629c376890772b86f0e306359568fd5dad9a5c9804d0791b7f
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.5 (GNU/Linux)
+Comment: added by hd_brummy@gentoo.org
+
+iD8DBQFH7B0Qdn07HTTCgIoRArNMAJ4lungNEWJMP1Hmw1PGdRzl/ZLS1QCcDG2p
+xPyDJL7+IVCB3lhMqr+Q12Y=
+=qzn1
+-----END PGP SIGNATURE-----
diff --git a/media-plugins/vdr-extb/files/extb-wakeup-0.2.9.tar.gz b/media-plugins/vdr-extb/files/extb-wakeup-0.2.9.tar.gz
new file mode 100644
index 000000000000..77888fa8f3ea
--- /dev/null
+++ b/media-plugins/vdr-extb/files/extb-wakeup-0.2.9.tar.gz
Binary files differ
diff --git a/media-plugins/vdr-extb/files/rc.irexec b/media-plugins/vdr-extb/files/rc.irexec
new file mode 100644
index 000000000000..28934cfc4c4c
--- /dev/null
+++ b/media-plugins/vdr-extb/files/rc.irexec
@@ -0,0 +1,22 @@
+#!/sbin/runscript
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-extb/files/rc.irexec,v 1.1 2008/03/27 22:17:38 hd_brummy Exp $
+
+
+depend() {
+ need lircd
+}
+
+start() {
+ ebegin "Starting irexec"
+ /usr/bin/irexec -d /etc/lircrc
+ eend $? "Failed to start irexec."
+}
+
+stop() {
+ ebegin "Stopping irexec"
+ killall irexec
+ eend $? "Failed to stop irexec."
+}
+
diff --git a/media-plugins/vdr-extb/files/vdr-extb-0.2.9-gentoo.diff b/media-plugins/vdr-extb/files/vdr-extb-0.2.9-gentoo.diff
new file mode 100644
index 000000000000..84169755a93c
--- /dev/null
+++ b/media-plugins/vdr-extb/files/vdr-extb-0.2.9-gentoo.diff
@@ -0,0 +1,71 @@
+diff -ur extb.orig/bin/extb.sh extb/bin/extb.sh
+--- extb.orig/bin/extb.sh 2004-05-05 17:38:29.000000000 +0200
++++ extb/bin/extb.sh 2004-07-19 22:19:49.459865904 +0200
+@@ -10,17 +10,11 @@
+ trap 'rm /tmp/tmp{1,2,3}.$$; exit 0' 2 15
+
+ #Defaults
+-SCRIPT_PATH="/opt/extb/bin/"
+-LINPIC_PATH="/opt/extb/bin/"
+-HEX_FILES_PATH="/opt/extb/src/PIC/firm/"
+-LIRCD_CMD="lircd"
+-IREXEC_CMD="irexec"
++SCRIPT_PATH="/usr/bin/"
++LINPIC_PATH="/usr/bin/"
++HEX_FILES_PATH=/usr/share/extb/"
+ SETSERIAL_CMD="setserial"
+-LIRC_CONF="/etc/lircd.conf"
+-LIRC_RC="/etc/lircrc"
+ COM_PORT="/dev/ttyS1"
+-VDR_PATH="/VDR/1.2.5/VDR/"
+-VDR_CMD="./runvdr"
+
+ # -----------------------------------------------------------------------------
+
+@@ -329,7 +323,7 @@
+ ;;
+
+ 1)
+- cp /tmp/PICflags PICflags.conf
++ cp /tmp/PICflags /etc/extb/PICflags.conf
+ _MAIN
+ ;;
+
+@@ -477,7 +471,8 @@
+ 0)
+ tx.sh M2 # sending M2 to Extension Board to disable video/audio
+ clear
+- killall irexec; killall lircd
++ /etc/init.d/irexec stop
++ /etc/init.d/lircd stop
+ sleep 1
+ $SETSERIAL_CMD $COM_PORT uart 16550
+ sleep 1
+@@ -487,14 +482,15 @@
+ echo ""
+ $SETSERIAL_CMD $COM_PORT uart none
+ sleep 1
+- $LIRCD_CMD $LIRC_CONF; $IREXEC_CMD $LIRC_RC &
++ /etc/init.d/lircd start
++ /etc/init.d/irexc start
+ echo ""
+ echo "Stopping VDR ..."
+- killall vdr
++ /etc/init.d/vdr stop
+ sleep 1
+ echo ""
+ echo "Restarting VDR ..."
+- cd $VDR_PATH; $VDR_CMD
++ rcvdr start
+ cd $SCRIPT_PATH
+ echo ""
+ # just in case the Extension Board plugin is not installed ...
+diff -ur extb.orig/bin/tx.sh extb/bin/tx.sh
+--- extb.orig/bin/tx.sh 2004-04-12 18:23:16.000000000 +0200
++++ extb/bin/tx.sh 2004-07-19 22:17:08.373354776 +0200
+@@ -1,2 +1,2 @@
+ #!/bin/bash
+-rc send_once EXTB_TX $1
+\ No newline at end of file
++irsend send_once EXTB_TX $1
+\ No newline at end of file
diff --git a/media-plugins/vdr-extb/files/vdr.extb b/media-plugins/vdr-extb/files/vdr.extb
new file mode 100644
index 000000000000..6c3b52131cd2
--- /dev/null
+++ b/media-plugins/vdr-extb/files/vdr.extb
@@ -0,0 +1,6 @@
+# /etc/conf.d/vdr.extb:
+
+# Global config file for vdr rc-scripts
+
+# configures the device for lirc
+DEVICE="/dev/lircd"
diff --git a/media-plugins/vdr-extb/metadata.xml b/media-plugins/vdr-extb/metadata.xml
new file mode 100644
index 000000000000..4c7ba1e416d5
--- /dev/null
+++ b/media-plugins/vdr-extb/metadata.xml
@@ -0,0 +1,10 @@
+<?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>VDR plugin to rename records on OSD</longdescription>
+</pkgmetadata>
diff --git a/media-plugins/vdr-extb/vdr-extb-0.2.9.ebuild b/media-plugins/vdr-extb/vdr-extb-0.2.9.ebuild
new file mode 100644
index 000000000000..07ee01bc36ff
--- /dev/null
+++ b/media-plugins/vdr-extb/vdr-extb-0.2.9.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-extb/vdr-extb-0.2.9.ebuild,v 1.1 2008/03/27 22:17:38 hd_brummy Exp $
+
+inherit vdr-plugin
+
+DESCRIPTION="VDR Plugin: used to control the VDR Extension Board"
+HOMEPAGE="http://www.deltab.de/content/view/74/76/"
+SRC_URI="mirror://vdrfiles/${PN}/${P}.tgz
+ mirror://vdrfiles/${PN}/extb_firmware_1.08_lircd.conf.zip
+ mirror://vdrfiles/${PN}/extb.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+DEPEND=">=media-video/vdr-1.2.5
+ app-misc/lirc"
+
+src_unpack() {
+ vdr-plugin_src_unpack
+
+ cd "${WORKDIR}"
+ epatch "${FILESDIR}/${P}-gentoo.diff"
+}
+
+src_install() {
+ vdr-plugin_src_install
+
+ dodoc README.de
+ dodoc "${S}/../lircd.conf.extb_FW1.08"
+ docinto wakeup
+ dodoc "${S}/wakeup/README.de"
+
+ dobin "${S}/../extb/bin/extb.sh"
+ dobin "${S}/../extb/bin/picdl"
+ dobin "${S}/../extb/bin/status.sh"
+ dobin "${S}/../extb/bin/tx.sh"
+ dobin "${S}/wakeup/extb-poweroff.pl"
+ dobin "${S}/wakeup/examples/checkscript.sh"
+
+ insinto /usr/share/extb/
+ doins "${S}/../extb_1.08.hex"
+
+ insinto /etc/extb
+ doins "${S}/../extb/bin/PICflags.conf"
+ doins "${S}/wakeup/examples/extb-poweroff.conf"
+
+ newinitd "${FILESDIR}/rc.irexec" irexec
+}
+
+pkg_postinst() {
+ vdr-plugin_pkg_postinst
+
+ einfo
+ einfo "You need to upload the included firmware (1.08)"
+ einfo "into the extension board and update your lircd.conf"
+ einfo "See the supplied lircd.conf.extb_FW1.08 in"
+ einfo "/usr/share/doc/vdrplugin-extb"
+}
diff --git a/media-plugins/vdr-extb/vdr-extb-0.3.0.ebuild b/media-plugins/vdr-extb/vdr-extb-0.3.0.ebuild
new file mode 100644
index 000000000000..edebffabc909
--- /dev/null
+++ b/media-plugins/vdr-extb/vdr-extb-0.3.0.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-extb/vdr-extb-0.3.0.ebuild,v 1.1 2008/03/27 22:17:38 hd_brummy Exp $
+
+inherit vdr-plugin
+
+DESCRIPTION="VDR Plugin: used to control the VDR Extension Board"
+HOMEPAGE="http://www.deltab.de/content/view/74/76/"
+SRC_URI="mirror://vdrfiles/${PN}/${P}.tgz
+ mirror://vdrfiles/${PN}/extb_firmware_1.08_lircd.conf.zip
+ mirror://vdrfiles/${PN}/extb.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+DEPEND=">=media-video/vdr-1.6.0
+ app-misc/lirc"
+
+src_unpack() {
+ vdr-plugin_src_unpack
+
+ cd "${WORKDIR}"
+ epatch "${FILESDIR}/${PN}-0.2.9-gentoo.diff"
+}
+
+src_install() {
+ vdr-plugin_src_install
+
+ dodoc README.de
+ dodoc "${S}/../lircd.conf.extb_FW1.08"
+ docinto wakeup
+ dodoc "${S}/wakeup/README.de"
+
+ dobin "${S}/../extb/bin/extb.sh"
+ dobin "${S}/../extb/bin/picdl"
+ dobin "${S}/../extb/bin/status.sh"
+ dobin "${S}/../extb/bin/tx.sh"
+ dobin "${S}/wakeup/extb-poweroff.pl"
+ dobin "${S}/wakeup/examples/checkscript.sh"
+
+ insinto /usr/share/extb/
+ doins "${S}/../extb_1.08.hex"
+
+ insinto /etc/extb
+ doins "${S}/../extb/bin/PICflags.conf"
+ doins "${S}/wakeup/examples/extb-poweroff.conf"
+
+ newinitd "${FILESDIR}/rc.irexec" irexec
+}
+
+pkg_postinst() {
+ vdr-plugin_pkg_postinst
+
+ einfo
+ einfo "You need to upload the included firmware (1.08)"
+ einfo "into the extension board and update your lircd.conf"
+ einfo "See the supplied lircd.conf.extb_FW1.08 in"
+ einfo "/usr/share/doc/vdrplugin-extb"
+}