summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-plugins/vdr-audiorecorder
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-plugins/vdr-audiorecorder')
-rw-r--r--media-plugins/vdr-audiorecorder/Manifest3
-rw-r--r--media-plugins/vdr-audiorecorder/files/confd10
-rw-r--r--media-plugins/vdr-audiorecorder/files/rc-addon.sh13
-rw-r--r--media-plugins/vdr-audiorecorder/files/vdr-audiorecorder-0.1.0_pre14-ffmpeg-1.patch16
-rw-r--r--media-plugins/vdr-audiorecorder/files/vdr-audiorecorder-0.1.0_pre14-libav9.patch58
-rw-r--r--media-plugins/vdr-audiorecorder/files/vdr-audiorecorder-0.1.0_pre14-shared-tinyxml.diff132
-rw-r--r--media-plugins/vdr-audiorecorder/files/vdr-audiorecorder-0.1.0_pre14_compilefix.diff30
-rw-r--r--media-plugins/vdr-audiorecorder/files/vdr-audiorecorder-0.1.0_pre14_obsolete-i18n.diff28
-rw-r--r--media-plugins/vdr-audiorecorder/metadata.xml12
-rw-r--r--media-plugins/vdr-audiorecorder/vdr-audiorecorder-0.1.0_pre14-r2.ebuild52
-rw-r--r--media-plugins/vdr-audiorecorder/vdr-audiorecorder-0.1.0_pre14-r3.ebuild56
-rw-r--r--media-plugins/vdr-audiorecorder/vdr-audiorecorder-2.0.0_rc3.ebuild36
-rw-r--r--media-plugins/vdr-audiorecorder/vdr-audiorecorder-2.0.0_rc5.ebuild36
13 files changed, 482 insertions, 0 deletions
diff --git a/media-plugins/vdr-audiorecorder/Manifest b/media-plugins/vdr-audiorecorder/Manifest
new file mode 100644
index 000000000000..dc73efd0d5cf
--- /dev/null
+++ b/media-plugins/vdr-audiorecorder/Manifest
@@ -0,0 +1,3 @@
+DIST vdr-audiorecorder-0.1.0-pre14.tgz 101437 SHA256 18b0dfd023e5bda4785cab832478aae205ca02548b32de4458d628672d6fb8e9 SHA512 bd5a12426ec45f7242f1c912ef916c794be69504ed7e0971373fdbee9d664646b4e42e79919489d9aae7bc8b140fee50ea2601f3bdb4f4b260180474879e99f6 WHIRLPOOL dded93a4d7792c8ea522d65aa082a2230ff4c87a8f88f59f65b3733c950c70c8157f96492d048dadb106e2095124a86c8e1794a3e7a369a656ddcdd0d2338549
+DIST vdr-plugin-audiorecorder-2.0.0_rc3.tar.gz 43321 SHA256 ab8b4512ad2a1e592231a1fba57ed37f490107ffe87c01f638bdca054c475378 SHA512 d0e2c190a0d35d59dc36f18070e03002c957aa2879f42ee54dda9dab6bcb489b843d0426a4693d90a91df0760f294dd8bfa08f6db05558c4f7db4a3070d70141 WHIRLPOOL 478b14af7645eea9dedb3b1799f2f9f1feedfc7e774c0e9c0653a342c801d54f2233de536440e80037a878665993d3e3b764dfeda27b157e2e000b4632c513f4
+DIST vdr-plugin-audiorecorder-2.0.0_rc5.tar.gz 45421 SHA256 7399c8c8a6639f03e133c9b2643c0b3abec9f309db0eb5361efff9561d6836f3 SHA512 07d9fe7b3e33d30c49b9aa152f56c6969b99eccc53796994399367489c561cbc7ecebb41ca1036173dd09b21d0dc41f323ef56de8bc607c939cc458386623a63 WHIRLPOOL 4db0ac19f992b6214cdf22e4d756026f4f25b0d9d87abc859a80be68eda1de5399ab38418c3116238781da20131f6253f14e4e6787df911376fb70dd44647432
diff --git a/media-plugins/vdr-audiorecorder/files/confd b/media-plugins/vdr-audiorecorder/files/confd
new file mode 100644
index 000000000000..87174f46a79c
--- /dev/null
+++ b/media-plugins/vdr-audiorecorder/files/confd
@@ -0,0 +1,10 @@
+# /etc/conf.d/vdr.audiorecorder
+# $Id$
+
+# ################################################
+#
+# Directory to save the recorded and splited mp3s in
+# allowed values: directory names
+# default: /var/vdr/audiorecorder
+#AUDIORECORDER_DIR=/var/vdr/audiorecorder
+
diff --git a/media-plugins/vdr-audiorecorder/files/rc-addon.sh b/media-plugins/vdr-audiorecorder/files/rc-addon.sh
new file mode 100644
index 000000000000..eb9efb12765b
--- /dev/null
+++ b/media-plugins/vdr-audiorecorder/files/rc-addon.sh
@@ -0,0 +1,13 @@
+# $Id$
+#
+# rc-addon-script for plugin audiorecorder
+#
+# Matthias Schwarzott <zzam@gentoo.org>
+
+: ${AUDIORECORDER_DIR:=/var/vdr/audiorecorder}
+
+plugin_pre_vdr_start() {
+ add_plugin_param "--recdir=${AUDIORECORDER_DIR}"
+ add_plugin_param "--debug=0"
+}
+
diff --git a/media-plugins/vdr-audiorecorder/files/vdr-audiorecorder-0.1.0_pre14-ffmpeg-1.patch b/media-plugins/vdr-audiorecorder/files/vdr-audiorecorder-0.1.0_pre14-ffmpeg-1.patch
new file mode 100644
index 000000000000..5c11fdfacb49
--- /dev/null
+++ b/media-plugins/vdr-audiorecorder/files/vdr-audiorecorder-0.1.0_pre14-ffmpeg-1.patch
@@ -0,0 +1,16 @@
+https://bugs.gentoo.org/show_bug.cgi?id=443248
+
+Index: audiorecorder-0.1.0-pre14/audiorecorder.c
+===================================================================
+--- audiorecorder-0.1.0-pre14.orig/audiorecorder.c
++++ audiorecorder-0.1.0-pre14/audiorecorder.c
+@@ -176,7 +176,9 @@ bool cPluginAudiorecorder::Initialize(vo
+ bool cPluginAudiorecorder::Start(void)
+ {
+ /* initialize libavcodec */
++#if LIBAVCODEC_VERSION_MAJOR < 54
+ avcodec_init();
++#endif
+ avcodec_register_all();
+
+ probe_audio_codecs();
diff --git a/media-plugins/vdr-audiorecorder/files/vdr-audiorecorder-0.1.0_pre14-libav9.patch b/media-plugins/vdr-audiorecorder/files/vdr-audiorecorder-0.1.0_pre14-libav9.patch
new file mode 100644
index 000000000000..70512e5c1e48
--- /dev/null
+++ b/media-plugins/vdr-audiorecorder/files/vdr-audiorecorder-0.1.0_pre14-libav9.patch
@@ -0,0 +1,58 @@
+diff -urN audiorecorder-0.1.0-pre14.old/convert.c audiorecorder-0.1.0-pre14/convert.c
+--- audiorecorder-0.1.0-pre14.old/convert.c 2013-06-17 21:31:31.670412829 +0200
++++ audiorecorder-0.1.0-pre14/convert.c 2013-06-17 21:35:18.387404763 +0200
+@@ -51,8 +51,8 @@
+ return;
+ }
+
+- decoder_ctx = avcodec_alloc_context();
+- decoder_open = avcodec_open(decoder_ctx, decoder_codec);
++ decoder_ctx = avcodec_alloc_context3(NULL);
++ decoder_open = avcodec_open2(decoder_ctx, decoder_codec, 0);
+
+ if (decoder_open < 0) {
+ dsyslog("[audiorecorder]: could not open codec mp2 (%s, "
+@@ -77,13 +77,13 @@
+ return;
+ }
+
+- encoder_ctx = avcodec_alloc_context();
++ encoder_ctx = avcodec_alloc_context3(NULL);
+
+ encoder_ctx->bit_rate = bit_rate;
+ encoder_ctx->sample_rate = sample_rate;
+ encoder_ctx->channels = channels;
+
+- encoder_open = avcodec_open(encoder_ctx, encoder_codec);
++ encoder_open = avcodec_open2(encoder_ctx, encoder_codec, 0);
+
+ if (encoder_open < 0) {
+ dsyslog("[audiorecorder]: could not open codec %s (%s, %s())", codec, __FILE__, __func__);
+@@ -111,9 +111,13 @@
+ avcodec_decode_audio(decoder_ctx, (short *)decoder_buf.data,
+ &decoder_buf.length, mpa_frame->data, mpa_frame->length);
+ #else
++ AVPacket avpkt;
++ av_init_packet(&avpkt);
++ avpkt.data = mpa_frame->data;
++ avpkt.size = mpa_frame->length;
+ decoder_buf.length = AVCODEC_MAX_AUDIO_FRAME_SIZE;
+- avcodec_decode_audio2(decoder_ctx, (short *)decoder_buf.data,
+- &decoder_buf.length, mpa_frame->data, mpa_frame->length);
++ int len = avcodec_decode_audio3(decoder_ctx, (short *)decoder_buf.data,
++ &decoder_buf.length, &avpkt);
+ #endif
+ }
+
+diff -urN audiorecorder-0.1.0-pre14.old/convert.h audiorecorder-0.1.0-pre14/convert.h
+--- audiorecorder-0.1.0-pre14.old/convert.h 2013-06-17 21:31:31.670412829 +0200
++++ audiorecorder-0.1.0-pre14/convert.h 2013-06-17 21:41:17.056392003 +0200
+@@ -10,7 +10,8 @@
+ #include "a-tools.h"
+
+ extern "C" {
+ #include <libavcodec/avcodec.h>
++#include <libavutil/mem.h>
+ }
+
+
diff --git a/media-plugins/vdr-audiorecorder/files/vdr-audiorecorder-0.1.0_pre14-shared-tinyxml.diff b/media-plugins/vdr-audiorecorder/files/vdr-audiorecorder-0.1.0_pre14-shared-tinyxml.diff
new file mode 100644
index 000000000000..d664a35d0add
--- /dev/null
+++ b/media-plugins/vdr-audiorecorder/files/vdr-audiorecorder-0.1.0_pre14-shared-tinyxml.diff
@@ -0,0 +1,132 @@
+unbundle source included tinyxml, use now shared libs from dev-libs/tinyxml
+bugs.gentoo.org #349507
+Joerg bornkessel <hd_brummy@g.o> 2010 Dec 28
+
+diff -Naur audiorecorder-0.1.0-pre14.orig/Makefile audiorecorder-0.1.0-pre14/Makefile
+--- audiorecorder-0.1.0-pre14.orig/Makefile 2010-12-28 16:10:30.000000000 +0100
++++ audiorecorder-0.1.0-pre14/Makefile 2010-12-28 16:25:52.000000000 +0100
+@@ -46,6 +46,8 @@
+
+ LIBS = $(shell taglib-config --libs)
+
++LIBS += -ltinyxml
++
+ DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"' -DTIXML_USE_STL
+
+ ifdef AUDIORECORDER_DEVEL
+@@ -68,7 +70,7 @@
+
+ ### The object files (add further files here):
+
+-OBJS = $(PLUGIN).o mainmenu.o browse.o browse-item.o column.o dispatcher.o audioreceiver.o postdata.o trackinfo.o postproc.o rds.o convert.o cache.o xml-cache.o xml-base.o setup.o mpa-frame.o tinyxml/tinyxml.o tinyxml/tinyxmlerror.o tinyxml/tinyxmlparser.o audiorecorder_i18n.o
++OBJS = $(PLUGIN).o mainmenu.o browse.o browse-item.o column.o dispatcher.o audioreceiver.o postdata.o trackinfo.o postproc.o rds.o convert.o cache.o xml-cache.o xml-base.o setup.o mpa-frame.o audiorecorder_i18n.o
+
+ ### Implicit rules:
+
+diff -Naur audiorecorder-0.1.0-pre14.orig/xml-base.c audiorecorder-0.1.0-pre14/xml-base.c
+--- audiorecorder-0.1.0-pre14.orig/xml-base.c 2010-12-28 16:10:30.000000000 +0100
++++ audiorecorder-0.1.0-pre14/xml-base.c 2010-12-28 16:38:29.000000000 +0100
+@@ -10,7 +10,7 @@
+
+
+ using namespace std;
+-using namespace a_land;
++/*using namespace a_land; */
+
+ /* --- cXmlBase ------------------------------------------------------------- */
+
+diff -Naur audiorecorder-0.1.0-pre14.orig/xml-base.h audiorecorder-0.1.0-pre14/xml-base.h
+--- audiorecorder-0.1.0-pre14.orig/xml-base.h 2010-12-28 16:10:30.000000000 +0100
++++ audiorecorder-0.1.0-pre14/xml-base.h 2010-12-28 16:39:35.000000000 +0100
+@@ -5,7 +5,7 @@
+ #ifndef __XML_BASE_H
+ #define __XML_BASE_H
+
+-#include "tinyxml/tinyxml.h"
++#include <tinyxml.h>
+
+ #include <string>
+
+@@ -13,8 +14,8 @@
+ private:
+ std::string path, root_element;
+
+- a_land::TiXmlDocument *document;
+- a_land::TiXmlElement *root;
++ TiXmlDocument *document;
++ TiXmlElement *root;
+ protected:
+ virtual ~cXmlBase();
+
+@@ -25,11 +26,11 @@
+ bool load(const std::string &_path);
+ void clear(void);
+
+- void add_subelement(a_land::TiXmlElement &main_element,
++ void add_subelement(TiXmlElement &main_element,
+ const char *name, const std::string &text);
+
+- a_land::TiXmlDocument *get_document(void) { return document; }
+- a_land::TiXmlElement *get_root(void) { return root; }
++ TiXmlDocument *get_document(void) { return document; }
++ TiXmlElement *get_root(void) { return root; }
+ void set_root(void);
+ };
+
+diff -Naur audiorecorder-0.1.0-pre14.orig/xml-cache.c audiorecorder-0.1.0-pre14/xml-cache.c
+--- audiorecorder-0.1.0-pre14.orig/xml-cache.c 2010-12-28 16:10:30.000000000 +0100
++++ audiorecorder-0.1.0-pre14/xml-cache.c 2010-12-28 16:41:27.000000000 +0100
+@@ -19,7 +19,7 @@
+
+
+ using namespace std;
+-using namespace a_land;
++/*using namespace a_land; */
+
+ /* --- cXmlCache ------------------------------------------------------------ */
+
+@@ -111,7 +111,7 @@
+ trackinfo.get_title().empty())
+ return;
+
+- a_land::TiXmlElement track("track");
++ TiXmlElement track("track");
+ track.SetAttribute("path", trackinfo.get_partial_path());
+ track.SetAttribute("date", trackinfo.get_date());
+ track.SetAttribute("time", trackinfo.get_time());
+@@ -146,7 +146,7 @@
+
+ void cXmlCache::copy_to_objects(void)
+ {
+- a_land::TiXmlElement *xml_track = get_root()->FirstChildElement("track");
++ TiXmlElement *xml_track = get_root()->FirstChildElement("track");
+
+ while (xml_track) {
+ cTrackInfo trackinfo;
+@@ -155,7 +155,7 @@
+
+ if (path.empty()) {
+ /* remove deleted files from the xml-cache */
+- a_land::TiXmlElement *tmp = xml_track;
++ TiXmlElement *tmp = xml_track;
+ xml_track = xml_track->NextSiblingElement("track");
+ get_root()->RemoveChild(tmp);
+
+@@ -169,7 +169,7 @@
+ if (access(path.c_str(), F_OK) == -1) {
+ dsyslog("[audiorecorder]: copy %s : (%s, %s())", path.c_str(), __FILE__, __func__);
+ /* remove deleted files from the xml-cache */
+- a_land::TiXmlElement *tmp = xml_track;
++ TiXmlElement *tmp = xml_track;
+ xml_track = xml_track->NextSiblingElement("track");
+ get_root()->RemoveChild(tmp);
+
+@@ -181,7 +181,7 @@
+ if (xml_track->Attribute("time"))
+ trackinfo.set_time(xml_track->Attribute("time"));
+
+- for (a_land::TiXmlElement *element = xml_track->FirstChildElement();
++ for (TiXmlElement *element = xml_track->FirstChildElement();
+ element; element = element->NextSiblingElement()) {
+ if (element->FirstChild() == NULL)
+ continue;
diff --git a/media-plugins/vdr-audiorecorder/files/vdr-audiorecorder-0.1.0_pre14_compilefix.diff b/media-plugins/vdr-audiorecorder/files/vdr-audiorecorder-0.1.0_pre14_compilefix.diff
new file mode 100644
index 000000000000..841007fc18c0
--- /dev/null
+++ b/media-plugins/vdr-audiorecorder/files/vdr-audiorecorder-0.1.0_pre14_compilefix.diff
@@ -0,0 +1,30 @@
+diff -Naur audiorecorder-0.1.0-pre14.orig/audioreceiver.c audiorecorder-0.1.0-pre14/audioreceiver.c
+--- audiorecorder-0.1.0-pre14.orig/audioreceiver.c 2014-04-19 11:16:11.038099054 +0200
++++ audiorecorder-0.1.0-pre14/audioreceiver.c 2014-04-19 11:20:39.847541064 +0200
+@@ -9,9 +9,12 @@
+
+ /* --- cAudioReceiver ------------------------------------------------------- */
+
+-cAudioReceiver::cAudioReceiver(const cChannel *_channel)
+-:cReceiver(_channel->GetChannelID(), -2, _channel->Apid(0)), cThread()
++cAudioReceiver::cAudioReceiver(const cChannel* _channel)
++:cReceiver(_channel, -2), cThread("audiorecorder-receiver")
+ {
++ SetPids(NULL);
++ AddPid(_channel->Apid(0));
++
+ channel = _channel;
+
+ active = false;
+diff -Naur audiorecorder-0.1.0-pre14.orig/audioreceiver.h audiorecorder-0.1.0-pre14/audioreceiver.h
+--- audiorecorder-0.1.0-pre14.orig/audioreceiver.h 2014-04-19 11:16:10.982099587 +0200
++++ audiorecorder-0.1.0-pre14/audioreceiver.h 2014-04-19 11:21:18.453173527 +0200
+@@ -44,7 +44,7 @@
+ virtual void Action(void);
+ virtual void Activate(bool on);
+ public:
+- cAudioReceiver(const cChannel *_channel);
++ cAudioReceiver(const cChannel* _channel);
+ ~cAudioReceiver();
+
+ void set_device_number(int _device_number) { device_number =
diff --git a/media-plugins/vdr-audiorecorder/files/vdr-audiorecorder-0.1.0_pre14_obsolete-i18n.diff b/media-plugins/vdr-audiorecorder/files/vdr-audiorecorder-0.1.0_pre14_obsolete-i18n.diff
new file mode 100644
index 000000000000..e062703359d5
--- /dev/null
+++ b/media-plugins/vdr-audiorecorder/files/vdr-audiorecorder-0.1.0_pre14_obsolete-i18n.diff
@@ -0,0 +1,28 @@
+fixed for obsolet i18n handling, up from vdr-1.7.27
+vdr-plugin-2.eclass will not help in this case
+
+signed-of-by: Joerg Bornkessel <hd_brummy@gentoo.org> (2012/07/01)
+
+diff -Naur audiorecorder-0.1.0-pre14.orig/audiorecorder_i18n.h audiorecorder-0.1.0-pre14/audiorecorder_i18n.h
+--- audiorecorder-0.1.0-pre14.orig/audiorecorder_i18n.h 2012-07-01 12:49:17.000000000 +0200
++++ audiorecorder-0.1.0-pre14/audiorecorder_i18n.h 2012-07-01 12:49:59.000000000 +0200
+@@ -11,6 +11,6 @@
+
+ #include <vdr/i18n.h>
+
+-extern const tI18nPhrase Phrases[];
++//extern const tI18nPhrase Phrases[];
+
+ #endif //__I18N__H
+diff -Naur audiorecorder-0.1.0-pre14.orig/Makefile audiorecorder-0.1.0-pre14/Makefile
+--- audiorecorder-0.1.0-pre14.orig/Makefile 2012-07-01 12:49:17.000000000 +0200
++++ audiorecorder-0.1.0-pre14/Makefile 2012-07-01 12:49:44.000000000 +0200
+@@ -70,7 +70,7 @@
+
+ ### The object files (add further files here):
+
+-OBJS = $(PLUGIN).o mainmenu.o browse.o browse-item.o column.o dispatcher.o audioreceiver.o postdata.o trackinfo.o postproc.o rds.o convert.o cache.o xml-cache.o xml-base.o setup.o mpa-frame.o audiorecorder_
++OBJS = $(PLUGIN).o mainmenu.o browse.o browse-item.o column.o dispatcher.o audioreceiver.o postdata.o trackinfo.o postproc.o rds.o convert.o cache.o xml-cache.o xml-base.o setup.o mpa-frame.o
+
+ ### Implicit rules:
+
diff --git a/media-plugins/vdr-audiorecorder/metadata.xml b/media-plugins/vdr-audiorecorder/metadata.xml
new file mode 100644
index 000000000000..d1b88e6872a7
--- /dev/null
+++ b/media-plugins/vdr-audiorecorder/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-audiorecorder/vdr-audiorecorder-0.1.0_pre14-r2.ebuild b/media-plugins/vdr-audiorecorder/vdr-audiorecorder-0.1.0_pre14-r2.ebuild
new file mode 100644
index 000000000000..ddaf08ccbf41
--- /dev/null
+++ b/media-plugins/vdr-audiorecorder/vdr-audiorecorder-0.1.0_pre14-r2.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+
+inherit vdr-plugin-2 flag-o-matic
+
+MY_P=${P/_pre/-pre}
+
+DESCRIPTION="VDR plugin: automatically record radio-channels and split it into tracks according to RadioText-Info"
+HOMEPAGE="http://www.a-land.de/audiorecorder/"
+SRC_URI="http://www.zulu-entertainment.de/files/${PN}/${MY_P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+S=${WORKDIR}/${MY_P#vdr-}
+
+DEPEND=">=media-video/vdr-1.6.0
+ media-libs/taglib
+ virtual/ffmpeg[encode,mp3]
+ >=dev-libs/tinyxml-2.6.1[stl]"
+
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-shared-tinyxml.diff"
+
+ vdr-plugin-2_src_prepare
+
+ sed -i "s:include <avcodec.h>:include <libavcodec/avcodec.h>:" convert.h audiorecorder.c
+ sed -i "s:RegisterI18n:// RegisterI18n:" audiorecorder.c
+
+ # UINT64_C is needed by ffmpeg headers
+ append-cxxflags -D__STDC_CONSTANT_MACROS
+
+ epatch "${FILESDIR}/${P}_obsolete-i18n.diff"
+ epatch "${FILESDIR}/${P}-ffmpeg-1.patch"
+ epatch "${FILESDIR}/${P}-libav9.patch"
+}
+
+src_install() {
+ vdr-plugin-2_src_install
+ keepdir /var/vdr/audiorecorder
+ chown -R vdr:vdr "${D}"/var/vdr
+
+ insinto /etc/vdr/plugins/audiorecorder
+ doins "${S}"/contrib/audiorecorder.conf
+}
diff --git a/media-plugins/vdr-audiorecorder/vdr-audiorecorder-0.1.0_pre14-r3.ebuild b/media-plugins/vdr-audiorecorder/vdr-audiorecorder-0.1.0_pre14-r3.ebuild
new file mode 100644
index 000000000000..af70b5af5742
--- /dev/null
+++ b/media-plugins/vdr-audiorecorder/vdr-audiorecorder-0.1.0_pre14-r3.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit vdr-plugin-2
+
+MY_P=${P/_pre/-pre}
+
+DESCRIPTION="VDR plugin: automatically record radio-channels and split it into tracks according to RadioText-Info"
+HOMEPAGE="http://www.a-land.de/audiorecorder/"
+SRC_URI="http://www.zulu-entertainment.de/files/${PN}/${MY_P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+S=${WORKDIR}/${MY_P#vdr-}
+
+DEPEND=">=media-video/vdr-1.6.0
+ media-libs/taglib
+ virtual/ffmpeg[encode,mp3]
+ >=dev-libs/tinyxml-2.6.1[stl]"
+
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ # remove untranslated po files
+ rm "${S}"/po/{ca_ES,cs_CZ,da_DK,el_GR,es_ES,et_EE,fi_FI,fr_FR,hr_HR,hu_HU,it_IT,nl_NL,nn_NO,pl_PL,pt_PT,ro_RO,ru_RU,sl_SI,sv_SE,tr_TR}.po
+
+ epatch "${FILESDIR}/${P}-shared-tinyxml.diff"
+
+ vdr-plugin-2_src_prepare
+
+ sed -i "s:include <avcodec.h>:include <libavcodec/avcodec.h>:" convert.h audiorecorder.c
+ sed -i "s:RegisterI18n:// RegisterI18n:" audiorecorder.c
+
+ # UINT64_C is needed by ffmpeg headers
+ append-cxxflags -D__STDC_CONSTANT_MACROS
+
+ epatch "${FILESDIR}/${P}_obsolete-i18n.diff"
+ epatch "${FILESDIR}/${P}-ffmpeg-1.patch"
+ epatch "${FILESDIR}/${P}-libav9.patch"
+ epatch "${FILESDIR}/${P}_compilefix.diff"
+}
+
+src_install() {
+ vdr-plugin-2_src_install
+ keepdir /var/vdr/audiorecorder
+ chown -R vdr:vdr "${D}"/var/vdr
+
+ insinto /etc/vdr/plugins/audiorecorder
+ doins "${S}"/contrib/audiorecorder.conf
+}
diff --git a/media-plugins/vdr-audiorecorder/vdr-audiorecorder-2.0.0_rc3.ebuild b/media-plugins/vdr-audiorecorder/vdr-audiorecorder-2.0.0_rc3.ebuild
new file mode 100644
index 000000000000..c3993fbca14c
--- /dev/null
+++ b/media-plugins/vdr-audiorecorder/vdr-audiorecorder-2.0.0_rc3.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit vdr-plugin-2
+
+VERSION="1748" # every bump, new version
+
+DESCRIPTION="VDR plugin: automatically record radio-channels and split it into tracks according to RadioText-Info"
+HOMEPAGE="http://projects.vdr-developer.org/projects/plg-audiorecorder/"
+SRC_URI="mirror://vdr-developerorg/${VERSION}/vdr-plugin-audiorecorder-${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+S="${WORKDIR}/vdr-plugin-audiorecorder-${PV}"
+
+DEPEND=">=media-video/vdr-2
+ media-libs/taglib
+ virtual/ffmpeg[encode,mp3]
+ >=dev-libs/tinyxml-2.6.1[stl]"
+RDEPEND="${DEPEND}"
+
+src_install() {
+ vdr-plugin-2_src_install
+
+ keepdir /var/vdr/audiorecorder
+ chown -R vdr:vdr "${D}"/var/vdr
+
+ insinto /etc/vdr/plugins/audiorecorder
+ doins "${S}"/contrib/audiorecorder.conf
+}
diff --git a/media-plugins/vdr-audiorecorder/vdr-audiorecorder-2.0.0_rc5.ebuild b/media-plugins/vdr-audiorecorder/vdr-audiorecorder-2.0.0_rc5.ebuild
new file mode 100644
index 000000000000..b36b93528a07
--- /dev/null
+++ b/media-plugins/vdr-audiorecorder/vdr-audiorecorder-2.0.0_rc5.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit vdr-plugin-2
+
+VERSION="1818" # every bump, new version
+
+DESCRIPTION="VDR plugin: automatically record radio-channels and split it into tracks according to RadioText-Info"
+HOMEPAGE="http://projects.vdr-developer.org/projects/plg-audiorecorder/"
+SRC_URI="mirror://vdr-developerorg/${VERSION}/vdr-plugin-audiorecorder-${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+S="${WORKDIR}/vdr-plugin-audiorecorder-${PV}"
+
+DEPEND=">=media-video/vdr-2
+ media-libs/taglib
+ virtual/ffmpeg[encode,mp3]
+ >=dev-libs/tinyxml-2.6.1[stl]"
+RDEPEND="${DEPEND}"
+
+src_install() {
+ vdr-plugin-2_src_install
+
+ keepdir /var/vdr/audiorecorder
+ chown -R vdr:vdr "${D}"/var/vdr
+
+ insinto /etc/vdr/plugins/audiorecorder
+ doins "${S}"/contrib/audiorecorder.conf
+}