summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-plugins/vdr-calc')
-rw-r--r--media-plugins/vdr-calc/Manifest1
-rw-r--r--media-plugins/vdr-calc/files/vdr-calc-0.0.1_rc5-gcc4.diff12
-rw-r--r--media-plugins/vdr-calc/metadata.xml12
-rw-r--r--media-plugins/vdr-calc/vdr-calc-0.0.1_rc5.ebuild23
4 files changed, 48 insertions, 0 deletions
diff --git a/media-plugins/vdr-calc/Manifest b/media-plugins/vdr-calc/Manifest
new file mode 100644
index 000000000000..1d7e350f07eb
--- /dev/null
+++ b/media-plugins/vdr-calc/Manifest
@@ -0,0 +1 @@
+DIST vdr-calc-0[1].0.1-rc5.tgz 12460 SHA256 10aca3e25261e26e01ff0cd559410022edf536368db241ebc10d9bda2c2311cc
diff --git a/media-plugins/vdr-calc/files/vdr-calc-0.0.1_rc5-gcc4.diff b/media-plugins/vdr-calc/files/vdr-calc-0.0.1_rc5-gcc4.diff
new file mode 100644
index 000000000000..0c5aaafd34ee
--- /dev/null
+++ b/media-plugins/vdr-calc/files/vdr-calc-0.0.1_rc5-gcc4.diff
@@ -0,0 +1,12 @@
+diff -ru calc-0.0.1-rc5-orig/calc.c calc-0.0.1-rc5/calc.c
+--- calc-0.0.1-rc5-orig/calc.c 2006-07-08 20:57:47.571929926 +0200
++++ calc-0.0.1-rc5/calc.c 2006-07-08 20:58:03.045402607 +0200
+@@ -72,7 +72,7 @@
+ void AddDigit(eKeys key);
+ void CalculateResult(char* inOperand1, char* inOperand2, char *outOperand, char cOperator);
+ operType operatorSymbol;
+- void cCalcMain::CalculateResultTrig(char* inOperand1, char *outOperand, char cOperator, gradType calculateGradType);
++ void CalculateResultTrig(char* inOperand1, char *outOperand, char cOperator, gradType calculateGradType);
+ public:
+ cCalcMain(void);
+ ~cCalcMain();
diff --git a/media-plugins/vdr-calc/metadata.xml b/media-plugins/vdr-calc/metadata.xml
new file mode 100644
index 000000000000..d1b88e6872a7
--- /dev/null
+++ b/media-plugins/vdr-calc/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-calc/vdr-calc-0.0.1_rc5.ebuild b/media-plugins/vdr-calc/vdr-calc-0.0.1_rc5.ebuild
new file mode 100644
index 000000000000..098ebcf44f4b
--- /dev/null
+++ b/media-plugins/vdr-calc/vdr-calc-0.0.1_rc5.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+
+inherit vdr-plugin-2
+
+DESCRIPTION="VDR Plugin: OSD Calculator"
+HOMEPAGE="http://www.vdrcalc.bmschneider.de/index2.html"
+SRC_URI="http://www.vdrcalc.bmschneider.de/dateien/${PN}-0[1].0.1-rc5.tgz"
+
+KEYWORDS="x86 ~amd64"
+SLOT="0"
+LICENSE="GPL-2"
+IUSE=""
+
+DEPEND=">=media-video/vdr-1.3.7"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${VDRPLUGIN}-0.0.1-rc5
+
+PATCHES=( "${FILESDIR}/${P}-gcc4.diff" )