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
commit0ba8f5556288cb0e2f5b9797bf1cb04370d2715a (patch)
tree17afa215b2f23d18b2e86236be193859469f1584 /media-plugins
parent1.9 version bump for bug 108084 (diff)
downloadgentoo-2-0ba8f5556288cb0e2f5b9797bf1cb04370d2715a.tar.gz
gentoo-2-0ba8f5556288cb0e2f5b9797bf1cb04370d2715a.tar.bz2
gentoo-2-0ba8f5556288cb0e2f5b9797bf1cb04370d2715a.zip
Initial import of ebuild from gentoo.de.
(Portage version: 2.0.51.22-r3)
Diffstat (limited to 'media-plugins')
-rw-r--r--media-plugins/vdr-console/ChangeLog11
-rw-r--r--media-plugins/vdr-console/Manifest3
-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, 93 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..4f7261f7464a
--- /dev/null
+++ b/media-plugins/vdr-console/Manifest
@@ -0,0 +1,3 @@
+MD5 acbaa9ba2bffcaa2d077c02da0fa5ee3 vdr-console-0.6.0.ebuild 624
+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
+}