summaryrefslogtreecommitdiff
path: root/media-plugins/vdr-ffnetdev
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-plugins/vdr-ffnetdev
reinit the tree, so we can have metadata
Diffstat (limited to 'media-plugins/vdr-ffnetdev')
-rw-r--r--media-plugins/vdr-ffnetdev/Manifest8
-rw-r--r--media-plugins/vdr-ffnetdev/files/confd37
-rw-r--r--media-plugins/vdr-ffnetdev/files/rc-addon.sh18
-rw-r--r--media-plugins/vdr-ffnetdev/files/vdr-ffnetdev-0.1.2_gettext.diff126
-rw-r--r--media-plugins/vdr-ffnetdev/metadata.xml9
-rw-r--r--media-plugins/vdr-ffnetdev/vdr-ffnetdev-0.1.2.ebuild28
6 files changed, 226 insertions, 0 deletions
diff --git a/media-plugins/vdr-ffnetdev/Manifest b/media-plugins/vdr-ffnetdev/Manifest
new file mode 100644
index 000000000000..54b4fdab500f
--- /dev/null
+++ b/media-plugins/vdr-ffnetdev/Manifest
@@ -0,0 +1,8 @@
+AUX confd 762 SHA256 28463d1b2f0dd86ca4f8ea5bf4f7ad380e902164965e1718d98e10ea65d226a9 SHA512 083678d0eb8d7f4c108985ce487a40e1898132c4fa09cf6ebeecd3d40cc11563c1983ee8e140a9d5179dd31fba73ec6d699694a9d83fffcafefbbe1d71dcc1c0 WHIRLPOOL 79fb907def725ccc21778d113b9118e3b52cb3b2924de9170948bcdac82423da3c45338b819652c18bd257a403b4b41730f53d59b2502e0e357b22951ee4b4d5
+AUX rc-addon.sh 347 SHA256 35761c84fb408e8333b605d9146bf2bb80e3a7b52ac49a83fa5b48789f1dd97e SHA512 2d95b774f5caffb784634d5a5ba413523e5fa2756ee9b57b7dd8426bec547acc850c82781d0e1c38d206199f25d40a466cccf599d11e7ef2b945cc3ab1cdf12d WHIRLPOOL bbc94e272a27ec6b2902eaf71a398cff6a8d60026f8d4bfcb6edb625288ebb2a6d255eab102f3e584f15d5ba6655fc748edb60a0e12d106c075c749039f7ba4c
+AUX vdr-ffnetdev-0.1.2_gettext.diff 3946 SHA256 9ebe33a1ab531d2980dc397670f8e214ab8b07918fbbe3fd491bfeb209759fce SHA512 48f8dea661340f8fe23bd291008e0b005fc43298aa2fd8eb5220ad667d511b296cf1d37005cc894868e66c5019718552b303dc6690cf378e858df296653fe929 WHIRLPOOL 6476071bda195036a68552e6fc535413e42c8176e42ad32aae2c4fb324c8c488fd1b0019a358af9a68ccf60c51eada4597769b08bf36f8f640f489b861abf9a5
+DIST vdr-ffnetdev-0.1.2.tar.bz2 56059 SHA256 cf9bd65d3f475963ddd78133d8fbc3678383fef99259b975b6a073debce1bc8a SHA512 5583a0c1ea7a421a745704a4440f25c9b35ed72686baeacaa67324e0c1a51f7a4a2d0ff4840ffb0b7086b4d310f48141cd001889692a1c1987a246d999c9afd6 WHIRLPOOL f77b7a0f2f5eb56a1e2e0ff6dd31c3b8c953fcec82f3eb0b9ac7cc1a0b2bb9385046220e2125a8694e442dd7da0461548d6bb848edd07ab6a269c803bded1862
+EBUILD vdr-ffnetdev-0.1.2.ebuild 624 SHA256 ac75ce3339ea0430122ccef71e5b4091c375975d296c603ce8f59e19c82f05db SHA512 1cb82e5c7d301c807efc448b803797a41fc8f0b6b441e5a466c7de6baba8bec6a02084bdd5505aa7d177ce89e58baa0750a2d9d06f41aff21cfef5f3108d3a2e WHIRLPOOL 19da23848bf974aa3ee4a8cdfc336ce5030876c3f400e12cf680cec87023df20bd7c2162d0322b57982cf0b22ef4d21992fdee7c489c36450b3bf679c24b3ac7
+MISC ChangeLog 2523 SHA256 e3487b627cddcdb1afdff76d35a053f86a100548701fde19ea4ea0f71ba4aa92 SHA512 68242c588f379236e50ac0fb2f8acc753aff310810c316e91a7ef531c0b784cb779fa3b14696ada6ef05e0903af980c0ae5a843d1cf4bdf1e9ed2899cab272f2 WHIRLPOOL 54c09fb114908b2d3c3f3fa02bd6c55700b6320b7601cd25655894c43dd14cc79a6a340f0cf8b75eead12142249a3df65f0da37e582038b57de06ae7b95553fb
+MISC ChangeLog-2015 3530 SHA256 ad026a5fe937786edc9153fa4f01b78ffe0be82c0ff5258eff64cf88c6027c86 SHA512 124f0a85585b23fd2b222210346506e7b9cab4f5e851999f7a660f7c46fcedac51a18cd1c7d9bf827581f17c789bc708fa09b0655695793d332aa7cbb1c867cc WHIRLPOOL b390cc4b02b2d789f4efb59edc031c9cb285875766db51f4a71abf0e0850ee892b9289b5e7a49169dda1dfc7cba16bcc897e77fa37cd5edd3ddf6ad30f9434bb
+MISC metadata.xml 347 SHA256 a96a2414921120d069b34c33f06fcd5d4759bcc2c10c6cda7c713bc039cfc880 SHA512 a3fc490861cc6ed4b1cbf348c36d9a7b62ce81e0dc9a712ce56c67824f5ac56fbecb219ace308a3968ada3968a422c314d59a1062e05eee845f7856467acffe4 WHIRLPOOL 45f5179943e0dab082af63f035723f3aee50157c3011bb989d1f2058f7a2423978ab3d80b94fbaaf7f098ad9033680d3de5bc568f1edcbe1a8dd2d3a9222b26e
diff --git a/media-plugins/vdr-ffnetdev/files/confd b/media-plugins/vdr-ffnetdev/files/confd
new file mode 100644
index 000000000000..93efa9f09796
--- /dev/null
+++ b/media-plugins/vdr-ffnetdev/files/confd
@@ -0,0 +1,37 @@
+# /etc/conf.d/vdr.ffnetdev
+
+## listen on this port for OSD connect
+# available Parameter are portnumber
+# default port 20001
+#
+#VNC_PORT="20001"
+#
+## enable VNC
+# available Parameter yes | no
+#
+USE_VNC="no"
+
+
+## port number for sending TS
+# available Parameter ar portnumber
+# default port 20002
+#
+#TS_PORT="20002"
+#
+## anable TS
+# availabel Parameter yes | no
+#
+USE_TS="no"
+
+## enable remote control over OSD connection
+# available parameter yes | no
+# default no
+#
+REMOTE="no"
+
+## Detail from README
+#
+# Option registers a new remote control object causing VDR to start the
+# learning procedure for this new remote control if you start
+# VDR and the ffnetdev plugin for the first time.
+# If you want to control VDR over SVDRP you can simply leave it. \ No newline at end of file
diff --git a/media-plugins/vdr-ffnetdev/files/rc-addon.sh b/media-plugins/vdr-ffnetdev/files/rc-addon.sh
new file mode 100644
index 000000000000..a50f3377638b
--- /dev/null
+++ b/media-plugins/vdr-ffnetdev/files/rc-addon.sh
@@ -0,0 +1,18 @@
+#
+# rc-addon-script for plugin ffnetdev
+#
+# Joerg Bornkessel <hd_brummy@gentoo.org>
+
+: ${VNC_PORT:=20001}
+: ${TS_PORT:=20002}
+
+plugin_pre_vdr_start() {
+
+ [ "${USE_VNC}" = "yes" ] && add_plugin_param "-o ${VNC_PORT}"
+
+ [ "${USE_TS}" = "yes" ] && add_plugin_param "-t ${TS_PORT}"
+
+ [ "${REMOTE}" = "yes" ] && add_plugin_param "-e"
+
+ return 0
+}
diff --git a/media-plugins/vdr-ffnetdev/files/vdr-ffnetdev-0.1.2_gettext.diff b/media-plugins/vdr-ffnetdev/files/vdr-ffnetdev-0.1.2_gettext.diff
new file mode 100644
index 000000000000..061ac40bcede
--- /dev/null
+++ b/media-plugins/vdr-ffnetdev/files/vdr-ffnetdev-0.1.2_gettext.diff
@@ -0,0 +1,126 @@
+converting to gettext
+https://bugs.gentoo.org/show_bug.cgi?id=439970
+Signed-of-by: Joerg Bornkessel <hd_brummy@gentoo.org>
+diff -Naur vdr-ffnetdev-0.1.2.orig/ffnetdev.c vdr-ffnetdev-0.1.2/ffnetdev.c
+--- vdr-ffnetdev-0.1.2.orig/ffnetdev.c 2012-10-31 18:32:09.000000000 +0100
++++ vdr-ffnetdev-0.1.2/ffnetdev.c 2012-10-31 18:34:05.000000000 +0100
+@@ -10,7 +10,7 @@
+
+ #include <vdr/tools.h>
+
+-#include "i18n.h"
++#include <vdr/i18n.h>
+ #include "tsworker.h"
+ #include "netosd.h"
+ #include "ffnetdev.h"
+@@ -22,7 +22,7 @@
+
+
+ const char *cPluginFFNetDev::VERSION = "0.1.2";
+-const char *cPluginFFNetDev::DESCRIPTION = "Full Featured Network Device for Streaming";
++const char *cPluginFFNetDev::DESCRIPTION = trNOOP("Full Featured Network Device for Streaming");
+ //const char *cOSDWorker::MAINMENUENTRY = "FFNetDev";
+
+ // --- cNetOSDProvider -----------------------------------------------
+@@ -163,9 +163,6 @@
+ bool cPluginFFNetDev::Start(void)
+ {
+ // Start any background activities the plugin shall perform.
+- RegisterI18n(Phrases);
+-
+-
+ cOSDWorker::Init(OSDPort, this);
+ cTSWorker::Init(m_StreamDevice, TSPort, this);
+ cClientControl::Init(ControlPort, this);
+diff -Naur vdr-ffnetdev-0.1.2.orig/Makefile vdr-ffnetdev-0.1.2/Makefile
+--- vdr-ffnetdev-0.1.2.orig/Makefile 2012-10-31 18:32:09.000000000 +0100
++++ vdr-ffnetdev-0.1.2/Makefile 2012-10-31 18:37:10.000000000 +0100
+@@ -50,9 +50,7 @@
+
+ ### The object files (add further files here):
+
+-COMMONOBJS = i18n.o \
+- \
+- tools/source.o tools/select.o tools/socket.o tools/tools.o
++COMMONOBJS = tools/source.o tools/select.o tools/socket.o tools/tools.o
+
+
+ SERVEROBJS = $(PLUGIN).o \
+@@ -95,9 +93,34 @@
+
+ -include $(DEPFILE)
+
++### Internationalization (I18N):
++
++PODIR = po
++LOCALEDIR = $(VDRDIR)/locale
++I18Npo = $(wildcard $(PODIR)/*.po)
++I18Nmo = $(addsuffix .mo, $(foreach file, $(I18Npo), $(basename $(file))))
++I18Ndirs = $(notdir $(foreach file, $(I18Npo), $(basename $(file))))
++I18Npot = $(PODIR)/$(PLUGIN).pot
++
++%.mo: %.po
++ msgfmt -c -o $@ $<
++
++$(I18Npot): $(wildcard *.c)
++ xgettext -C -cTRANSLATORS --no-wrap -F -k -ktr -ktrNOOP --msgid-bugs-address='<dev@erichseifert.de>' -o $@ $(wildcard *.c)
++
++$(I18Npo): $(I18Npot)
++ msgmerge -U --no-wrap -F --backup=none -q $@ $<
++
++i18n: $(I18Nmo)
++ @mkdir -p $(LOCALEDIR)
++ for i in $(I18Ndirs); do\
++ mkdir -p $(LOCALEDIR)/$$i/LC_MESSAGES;\
++ cp $(PODIR)/$$i.mo $(LOCALEDIR)/$$i/LC_MESSAGES/vdr-$(PLUGIN).mo;\
++ done
++
+ ### Targets:
+
+-all: libvdr-$(PLUGIN).so
++all: libvdr-$(PLUGIN).so i18n
+
+ libvdr-$(PLUGIN).so: $(SERVEROBJS) $(COMMONOBJS)
+
+@@ -106,6 +129,7 @@
+ @cp $@ $(LIBDIR)/$@.$(APIVERSION)
+
+ dist: clean
++ @-rm -f $(PODIR)/*.mo $(PODIR)/*.pot
+ @-rm -rf $(TMPDIR)/$(ARCHIVE)
+ @mkdir $(TMPDIR)/$(ARCHIVE)
+ @cp -a * $(TMPDIR)/$(ARCHIVE)
+diff -Naur vdr-ffnetdev-0.1.2.orig/po/de_DE.po vdr-ffnetdev-0.1.2/po/de_DE.po
+--- vdr-ffnetdev-0.1.2.orig/po/de_DE.po 1970-01-01 01:00:00.000000000 +0100
++++ vdr-ffnetdev-0.1.2/po/de_DE.po 2012-10-31 18:38:02.000000000 +0100
+@@ -0,0 +1,30 @@
++# VDR plugin language source file.
++# Copyright (C) 2007 Klaus Schmidinger <kls@cadsoft.de>
++# This file is distributed under the same license as the VDR package.
++# Klaus Schmidinger <kls@cadsoft.de>, 2000
++# Erich Seifert <dev@erichseifert.de>, 2012
++#
++msgid ""
++msgstr ""
++"Project-Id-Version: VDR 1.7.27\n"
++"Report-Msgid-Bugs-To: dev@erichseifert.de\n"
++"POT-Creation-Date: 2012-10-30 14:31+0100\n"
++"PO-Revision-Date: 2012-10-30 14:37+0100\n"
++"Last-Translator: Klaus Schmidinger <kls@cadsoft.de>\n"
++"Language-Team: <vdr@linuxtv.org>\n"
++"Language: \n"
++"MIME-Version: 1.0\n"
++"Content-Type: text/plain; charset=ISO-8859-15\n"
++"Content-Transfer-Encoding: 8bit\n"
++
++#: ffnetdevsetup.c:18
++msgid "auto set as primary device"
++msgstr "Automatisch als prim�res Ger�t festlegen"
++
++#: ffnetdevsetup.c:18
++msgid "no"
++msgstr "nein"
++
++#: ffnetdevsetup.c:18
++msgid "yes"
++msgstr "ja"
diff --git a/media-plugins/vdr-ffnetdev/metadata.xml b/media-plugins/vdr-ffnetdev/metadata.xml
new file mode 100644
index 000000000000..102fd39b32f5
--- /dev/null
+++ b/media-plugins/vdr-ffnetdev/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>vdr@gentoo.org</email>
+ <name>Gentoo VDR Project</name>
+ </maintainer>
+ <longdescription>VDR plugin to stream OSD Data in a Transport Stream (TS)</longdescription>
+</pkgmetadata>
diff --git a/media-plugins/vdr-ffnetdev/vdr-ffnetdev-0.1.2.ebuild b/media-plugins/vdr-ffnetdev/vdr-ffnetdev-0.1.2.ebuild
new file mode 100644
index 000000000000..bea1daf8d78a
--- /dev/null
+++ b/media-plugins/vdr-ffnetdev/vdr-ffnetdev-0.1.2.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+
+inherit vdr-plugin-2
+
+VERSION="837" # every bump, new version
+
+DESCRIPTION="VDR Plugin: Output device which offers OSD via VNC and Video as raw mpeg over network"
+HOMEPAGE="http://projects.vdr-developer.org/projects/plg-ffnetdev"
+SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tar.bz2"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+S=${WORKDIR}/${P}
+
+DEPEND=">=media-video/vdr-1.6.0"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}_gettext.diff"
+
+ vdr-plugin-2_src_prepare
+}