summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2007-10-07 12:21:08 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2007-10-07 12:21:08 +0000
commit9e8ccfe43c13255c7d0e8253c24f5711c25b6c36 (patch)
tree848b9c39eb3dae4aacb399b55466f6539e5253c6 /media-plugins
parentVersion bumped. (diff)
downloadgentoo-2-9e8ccfe43c13255c7d0e8253c24f5711c25b6c36.tar.gz
gentoo-2-9e8ccfe43c13255c7d0e8253c24f5711c25b6c36.tar.bz2
gentoo-2-9e8ccfe43c13255c7d0e8253c24f5711c25b6c36.zip
Initial import of ebuild written by me.
(Portage version: 2.1.3.12)
Diffstat (limited to 'media-plugins')
-rw-r--r--media-plugins/vdr-remotetimers/ChangeLog12
-rw-r--r--media-plugins/vdr-remotetimers/Manifest24
-rw-r--r--media-plugins/vdr-remotetimers/files/digest-vdr-remotetimers-0.0.13
-rw-r--r--media-plugins/vdr-remotetimers/files/vdr-remotetimers-0.0.1-svdrpservice.diff24
-rw-r--r--media-plugins/vdr-remotetimers/files/vdr-remotetimers-0.0.1-vdr-1.5.3.diff15
-rw-r--r--media-plugins/vdr-remotetimers/metadata.xml9
-rw-r--r--media-plugins/vdr-remotetimers/vdr-remotetimers-0.0.1.ebuild31
7 files changed, 118 insertions, 0 deletions
diff --git a/media-plugins/vdr-remotetimers/ChangeLog b/media-plugins/vdr-remotetimers/ChangeLog
new file mode 100644
index 000000000000..1ae5bcb44d59
--- /dev/null
+++ b/media-plugins/vdr-remotetimers/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for media-plugins/vdr-remotetimers
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-remotetimers/ChangeLog,v 1.1 2007/10/07 12:21:07 zzam Exp $
+
+*vdr-remotetimers-0.0.1 (07 Oct 2007)
+
+ 07 Oct 2007; Matthias Schwarzott <zzam@gentoo.org>
+ +files/vdr-remotetimers-0.0.1-svdrpservice.diff,
+ +files/vdr-remotetimers-0.0.1-vdr-1.5.3.diff, +metadata.xml,
+ +vdr-remotetimers-0.0.1.ebuild:
+ Initial import of ebuild written by me.
+
diff --git a/media-plugins/vdr-remotetimers/Manifest b/media-plugins/vdr-remotetimers/Manifest
new file mode 100644
index 000000000000..03c98537f611
--- /dev/null
+++ b/media-plugins/vdr-remotetimers/Manifest
@@ -0,0 +1,24 @@
+AUX vdr-remotetimers-0.0.1-svdrpservice.diff 747 RMD160 1ba69c4b005eb417e8e8f2429c9d8c0fdfd679f3 SHA1 d914bcc26916dba86a60102c7eb0bc6a0ea233f8 SHA256 49d667403817894f386348f06924b5d92c3f08e88761f255c1720ee3c79d4c22
+MD5 5a9480d6c13e4f554e6a3fccb5d07e87 files/vdr-remotetimers-0.0.1-svdrpservice.diff 747
+RMD160 1ba69c4b005eb417e8e8f2429c9d8c0fdfd679f3 files/vdr-remotetimers-0.0.1-svdrpservice.diff 747
+SHA256 49d667403817894f386348f06924b5d92c3f08e88761f255c1720ee3c79d4c22 files/vdr-remotetimers-0.0.1-svdrpservice.diff 747
+AUX vdr-remotetimers-0.0.1-vdr-1.5.3.diff 574 RMD160 49ca08a24d93d8efea0556161bd25f6e34816ae7 SHA1 57576326459bf4116151eb06cf778f21c44d6e7b SHA256 bcf203f81658f707023624715bdcdafd47a83726848e27a627579dbbd1c78d79
+MD5 ac7ab87c71e1b0b182ed2b2c5dd680fe files/vdr-remotetimers-0.0.1-vdr-1.5.3.diff 574
+RMD160 49ca08a24d93d8efea0556161bd25f6e34816ae7 files/vdr-remotetimers-0.0.1-vdr-1.5.3.diff 574
+SHA256 bcf203f81658f707023624715bdcdafd47a83726848e27a627579dbbd1c78d79 files/vdr-remotetimers-0.0.1-vdr-1.5.3.diff 574
+DIST vdr-remotetimers-0.0.1.tgz 25118 RMD160 e61e14c1d7be6a88c0564e30ba8b62c8c03c756f SHA1 6d3b084e15ed1aae5a58b1e01f63fee844d1155a SHA256 6afddb667ac8c2aaffd7897d6f4608126dff8b9893d4f0c72d6c020aae6a6334
+EBUILD vdr-remotetimers-0.0.1.ebuild 780 RMD160 9ece939642d3351f933d8e344b0a9fd94429141b SHA1 d9d5973a25f72249a388244a378d299152c8c66e SHA256 806308d29205e07d0e3b6a6766dc1b2e9f1f78294bdd2af2336ed839ac6c6796
+MD5 2fd14bc77f9b6321cafdee5b2bb00771 vdr-remotetimers-0.0.1.ebuild 780
+RMD160 9ece939642d3351f933d8e344b0a9fd94429141b vdr-remotetimers-0.0.1.ebuild 780
+SHA256 806308d29205e07d0e3b6a6766dc1b2e9f1f78294bdd2af2336ed839ac6c6796 vdr-remotetimers-0.0.1.ebuild 780
+MISC ChangeLog 414 RMD160 7857ec1953b5cb3cfbf60ea1eb98514d43ef811c SHA1 049552f3a7d161356a7a83d7f839134cdb412945 SHA256 118ee5cd869b43fa23dfae1ec854733cb9fd94e559fce5fe93c91ce635b01045
+MD5 0f537aad2c97e18a9df61233899b0a4c ChangeLog 414
+RMD160 7857ec1953b5cb3cfbf60ea1eb98514d43ef811c ChangeLog 414
+SHA256 118ee5cd869b43fa23dfae1ec854733cb9fd94e559fce5fe93c91ce635b01045 ChangeLog 414
+MISC metadata.xml 263 RMD160 ce7af80e59cdab36a4c2c4f22e942a5893bf108c SHA1 1dba53cbe1821e2edc8bd55e223afb62c6a344c4 SHA256 08d4610093d9d54d33c4f62a4886312290016bd2be38ddbc27391eb4b9c8b2be
+MD5 95734040ced396bf0e154b59b0488cb3 metadata.xml 263
+RMD160 ce7af80e59cdab36a4c2c4f22e942a5893bf108c metadata.xml 263
+SHA256 08d4610093d9d54d33c4f62a4886312290016bd2be38ddbc27391eb4b9c8b2be metadata.xml 263
+MD5 734656d031f3e02a1e14a764b08c54bb files/digest-vdr-remotetimers-0.0.1 256
+RMD160 db448188e4ff64d711aa118e5e206d565f573cbc files/digest-vdr-remotetimers-0.0.1 256
+SHA256 df87c32779efe508cedc9f61a34a2c10bae4c485698ae45af4d49be09c7aa0b8 files/digest-vdr-remotetimers-0.0.1 256
diff --git a/media-plugins/vdr-remotetimers/files/digest-vdr-remotetimers-0.0.1 b/media-plugins/vdr-remotetimers/files/digest-vdr-remotetimers-0.0.1
new file mode 100644
index 000000000000..1276c1a62300
--- /dev/null
+++ b/media-plugins/vdr-remotetimers/files/digest-vdr-remotetimers-0.0.1
@@ -0,0 +1,3 @@
+MD5 bddd98e8ec0d30863f1ff5ff37a6971b vdr-remotetimers-0.0.1.tgz 25118
+RMD160 e61e14c1d7be6a88c0564e30ba8b62c8c03c756f vdr-remotetimers-0.0.1.tgz 25118
+SHA256 6afddb667ac8c2aaffd7897d6f4608126dff8b9893d4f0c72d6c020aae6a6334 vdr-remotetimers-0.0.1.tgz 25118
diff --git a/media-plugins/vdr-remotetimers/files/vdr-remotetimers-0.0.1-svdrpservice.diff b/media-plugins/vdr-remotetimers/files/vdr-remotetimers-0.0.1-svdrpservice.diff
new file mode 100644
index 000000000000..07a72b47fa9a
--- /dev/null
+++ b/media-plugins/vdr-remotetimers/files/vdr-remotetimers-0.0.1-svdrpservice.diff
@@ -0,0 +1,24 @@
+Bugfix for version 0.0.1 (reported by Maniac@vdrportal):
+Either make sure svdrpservice is loaded before remotetimers or apply
+this patch.
+
+--- timers.c.orig 2007-03-16 07:39:06.000000000 +0100
++++ timers.c 2007-03-16 07:41:27.000000000 +0100
+@@ -48,7 +48,7 @@
+ // cRemoteTimers -------------------------------------------------
+
+ cRemoteTimers::cRemoteTimers(): refcount(0) {
+- plugin = cPluginManager::GetPlugin("svdrpservice");
++ plugin = NULL;
+ svdrp.handle = -1;
+ }
+
+@@ -59,6 +59,8 @@
+
+ bool cRemoteTimers::Connect() {
+ refcount++;
++ if (!plugin)
++ plugin = cPluginManager::GetPlugin("svdrpservice");
+ if (plugin && svdrp.handle < 0) {
+ svdrp.serverIp = RemoteTimersSetup.serverIp;
+ svdrp.serverPort = RemoteTimersSetup.serverPort;
diff --git a/media-plugins/vdr-remotetimers/files/vdr-remotetimers-0.0.1-vdr-1.5.3.diff b/media-plugins/vdr-remotetimers/files/vdr-remotetimers-0.0.1-vdr-1.5.3.diff
new file mode 100644
index 000000000000..b3f5057512ec
--- /dev/null
+++ b/media-plugins/vdr-remotetimers/files/vdr-remotetimers-0.0.1-vdr-1.5.3.diff
@@ -0,0 +1,15 @@
+diff -ru remotetimers-0.0.1-orig/menu.c remotetimers-0.0.1/menu.c
+--- remotetimers-0.0.1-orig/menu.c 2007-10-07 14:07:19.565912321 +0200
++++ remotetimers-0.0.1/menu.c 2007-10-07 14:08:13.062429433 +0200
+@@ -206,7 +206,11 @@
+ {
+ cString day, name("");
+ if (timer->WeekDays())
++#if APIVERSNUM >= 10503
++ day = timer->PrintDay(0, timer->WeekDays(), false);
++#else
+ day = timer->PrintDay(0, timer->WeekDays());
++#endif
+ else if (timer->Day() - time(NULL) < 28 * SECSINDAY) {
+ day = itoa(timer->GetMDay(timer->Day()));
+ name = WeekDayName(timer->Day());
diff --git a/media-plugins/vdr-remotetimers/metadata.xml b/media-plugins/vdr-remotetimers/metadata.xml
new file mode 100644
index 000000000000..57cbe8aa99b6
--- /dev/null
+++ b/media-plugins/vdr-remotetimers/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>vdr@gentoo.org</email>
+ <name>Gentoo VDR Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/media-plugins/vdr-remotetimers/vdr-remotetimers-0.0.1.ebuild b/media-plugins/vdr-remotetimers/vdr-remotetimers-0.0.1.ebuild
new file mode 100644
index 000000000000..4b58bfffa66e
--- /dev/null
+++ b/media-plugins/vdr-remotetimers/vdr-remotetimers-0.0.1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-remotetimers/vdr-remotetimers-0.0.1.ebuild,v 1.1 2007/10/07 12:21:07 zzam Exp $
+
+inherit vdr-plugin
+
+DESCRIPTION="VDR: remoteosd PlugIn"
+HOMEPAGE="http://vdr.schmirler.de/"
+SRC_URI="http://vdr.schmirler.de/${PN#vdr-}/${P}.tgz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=media-video/vdr-1.4.0
+ >=media-plugins/vdr-svdrpservice-0.0.3"
+
+PATCHES="${FILESDIR}/${P}-svdrpservice.diff
+ ${FILESDIR}/${P}-vdr-1.5.3.diff"
+
+src_unpack() {
+ vdr-plugin_src_unpack unpack
+
+ cd "${S}"
+ sed -i timers.h \
+ -e 's-../svdrpservice/svdrpservice.h-svdrpservice/svdrpservice.h-'
+
+ vdr-plugin_src_unpack all_but_unpack
+}
+