summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2005-10-08 21:15:12 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2005-10-08 21:15:12 +0000
commit83b4728cf1c777882125e64b86049eed65a3a35d (patch)
treed2d0d995c406d9cebc1cc0962e37a25f715c2158 /media-plugins/vdr-console
parent1.9 version bump for bug 108084 (diff)
downloadhistorical-83b4728cf1c777882125e64b86049eed65a3a35d.tar.gz
historical-83b4728cf1c777882125e64b86049eed65a3a35d.tar.bz2
historical-83b4728cf1c777882125e64b86049eed65a3a35d.zip
Initial import of ebuild from gentoo.de.
Package-Manager: portage-2.0.51.22-r3
Diffstat (limited to 'media-plugins/vdr-console')
-rw-r--r--media-plugins/vdr-console/ChangeLog11
-rw-r--r--media-plugins/vdr-console/Manifest5
-rw-r--r--media-plugins/vdr-console/files/digest-vdr-console-0.6.01
-rw-r--r--media-plugins/vdr-console/files/vdr-console-0.6.0-vdr-1.3.18.diff43
-rw-r--r--media-plugins/vdr-console/metadata.xml9
-rw-r--r--media-plugins/vdr-console/vdr-console-0.6.0.ebuild26
6 files changed, 95 insertions, 0 deletions
diff --git a/media-plugins/vdr-console/ChangeLog b/media-plugins/vdr-console/ChangeLog
new file mode 100644
index 000000000000..599f0054a941
--- /dev/null
+++ b/media-plugins/vdr-console/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for media-plugins/vdr-console
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-console/ChangeLog,v 1.1 2005/10/08 21:15:12 zzam Exp $
+
+*vdr-console-0.6.0 (08 Oct 2005)
+
+ 08 Oct 2005; Matthias Schwarzott <zzam@gentoo.org>
+ +files/vdr-console-0.6.0-vdr-1.3.18.diff, +metadata.xml,
+ +vdr-console-0.6.0.ebuild:
+ Initial import of ebuild from gentoo.de.
+
diff --git a/media-plugins/vdr-console/Manifest b/media-plugins/vdr-console/Manifest
new file mode 100644
index 000000000000..99e95d2dd11c
--- /dev/null
+++ b/media-plugins/vdr-console/Manifest
@@ -0,0 +1,5 @@
+MD5 140ac4963157753d62d869acd73c1e67 vdr-console-0.6.0.ebuild 628
+MD5 466bdba7c4bba204addf886bb75a13f5 ChangeLog 440
+MD5 a973dfa1638779880ca99f1c1435cac7 metadata.xml 259
+MD5 cb60a22fc03846433d63683a5d693ba1 files/digest-vdr-console-0.6.0 65
+MD5 9859872d4edd9e490b1036d7e004b818 files/vdr-console-0.6.0-vdr-1.3.18.diff 1784
diff --git a/media-plugins/vdr-console/files/digest-vdr-console-0.6.0 b/media-plugins/vdr-console/files/digest-vdr-console-0.6.0
new file mode 100644
index 000000000000..3b1529f4ca6d
--- /dev/null
+++ b/media-plugins/vdr-console/files/digest-vdr-console-0.6.0
@@ -0,0 +1 @@
+MD5 c3ff9981615bee1c119572e9471fa15c vdr-console-0.6.0.tgz 47133
diff --git a/media-plugins/vdr-console/files/vdr-console-0.6.0-vdr-1.3.18.diff b/media-plugins/vdr-console/files/vdr-console-0.6.0-vdr-1.3.18.diff
new file mode 100644
index 000000000000..9f0af3489aaf
--- /dev/null
+++ b/media-plugins/vdr-console/files/vdr-console-0.6.0-vdr-1.3.18.diff
@@ -0,0 +1,43 @@
+diff -Nru console-0.6.0-original/menu.c console-0.6.0/menu.c
+--- console-0.6.0-original/menu.c 2004-09-12 00:10:57.000000000 +0200
++++ console-0.6.0/menu.c 2005-01-15 11:59:07.735539136 +0100
+@@ -1210,14 +1210,14 @@
+ }
+ case kNone:
+ // Handle blinking elements
+- if (time_ms() >= _nextBlinkTime) {
++ if ((int)cTimeMs::Now() >= _nextBlinkTime) {
+
+- _nextBlinkTime = time_ms() + config.BlinkRate * 100;
++ _nextBlinkTime = cTimeMs::Now() + config.BlinkRate * 100;
+ _blink = !_blink;
+ }
+
+ // Handle keyboard releaseing
+- if (time_ms() >= _timeReleaseCapture) {
++ if ((int)cTimeMs::Now() >= _timeReleaseCapture) {
+ _timeReleaseCapture = INT_MAX;
+
+ // Time elapsed -> repost ESC...
+@@ -1243,10 +1243,10 @@
+ _pConsole->getScreen().BellSeen();
+
+ if (config.BellTimeout) {
+- _toRing = time_ms() + config.BellTimeout * 1000;
++ _toRing = cTimeMs::Now() + config.BellTimeout * 1000;
+ state = osUser1;
+ }
+- } else if (_toRing && time_ms() > _toRing) {
++ } else if (_toRing && (int)cTimeMs::Now() > _toRing) {
+ _toRing = 0;
+ state = osUser1;
+ }
+@@ -1441,7 +1441,7 @@
+ // esc detected. Ask for exit
+ if (data[i] == ESC) {
+
+- _timeReleaseCapture = time_ms() + 1000;
++ _timeReleaseCapture = cTimeMs::Now() + 1000;
+ _inputState = 1;
+
+ } else
diff --git a/media-plugins/vdr-console/metadata.xml b/media-plugins/vdr-console/metadata.xml
new file mode 100644
index 000000000000..fb84c475836b
--- /dev/null
+++ b/media-plugins/vdr-console/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>media-tv</herd>
+ <maintainer>
+ <email>zzam@gentoo.org</email>
+ <name>Matthias Schwarzott</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/media-plugins/vdr-console/vdr-console-0.6.0.ebuild b/media-plugins/vdr-console/vdr-console-0.6.0.ebuild
new file mode 100644
index 000000000000..486e66799df5
--- /dev/null
+++ b/media-plugins/vdr-console/vdr-console-0.6.0.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-console/vdr-console-0.6.0.ebuild,v 1.1 2005/10/08 21:15:12 zzam Exp $
+
+inherit vdr-plugin
+
+IUSE=""
+SLOT="0"
+
+DESCRIPTION="vdr Plugin: Shows linux console on vdr\'s output device"
+HOMEPAGE="http://ricomp.de/vdr/"
+SRC_URI="http://ricomp.de/vdr/${P}.tgz"
+LICENSE="GPL-2"
+
+KEYWORDS="~x86"
+
+DEPEND=">=media-video/vdr-1.3.7"
+
+src_unpack() {
+ vdr-plugin_src_unpack
+
+ if has_version ">=media-video/vdr-1.3.18"; then
+ cd "${S}"
+ epatch ${FILESDIR}/${P}-vdr-1.3.18.diff
+ fi
+}