summaryrefslogtreecommitdiff
path: root/media-plugins/vdr-xine
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-xine
reinit the tree, so we can have metadata
Diffstat (limited to 'media-plugins/vdr-xine')
-rw-r--r--media-plugins/vdr-xine/Manifest8
-rw-r--r--media-plugins/vdr-xine/files/confd8
-rw-r--r--media-plugins/vdr-xine/files/vdr-xine-0.9.4-build-system.patch59
-rw-r--r--media-plugins/vdr-xine/files/vdr-xine-0.9.4-gentoo.diff12
-rw-r--r--media-plugins/vdr-xine/metadata.xml8
-rw-r--r--media-plugins/vdr-xine/vdr-xine-0.9.4-r1.ebuild62
6 files changed, 157 insertions, 0 deletions
diff --git a/media-plugins/vdr-xine/Manifest b/media-plugins/vdr-xine/Manifest
new file mode 100644
index 000000000000..e7dfd27998c1
--- /dev/null
+++ b/media-plugins/vdr-xine/Manifest
@@ -0,0 +1,8 @@
+AUX confd 133 SHA256 126756249851995101f27e9bbc0a87a011f5c7a5f1cd480ac6638b8c0722868b SHA512 03943c9eedc46514331d2098c9098093646df184dce237ccd12fc703f1732418836e91685cd5fe660edc6145f215cc5217ef42654d8e7b97b3249b6ebc2b63a2 WHIRLPOOL ef924cd1565ad83e5ce460c721da2225e75f28b28bc791f99ead6e8a460b91056544e495564438e27753461b708fcf6c51db406bf901b18652b71d755137f90b
+AUX vdr-xine-0.9.4-build-system.patch 1507 SHA256 9fa0570e43e4cdfc41efd2ec0fb5b745a8906ceeea2b303dd4a6cd20a0342066 SHA512 eec26f65f519dbab6f2cf928d9b8bca3925b87002e9eebd19ae039fd42ddcb90597c15e2ca584d60fafd5692bd5fcb78062d9fa68d77b61c8ce589e45617e2c5 WHIRLPOOL 70bac49ab7ca1ab32e36c6bfbb9c5a5b88e8622fc94d05c4a711d05343596000006a2e1a6fe803e919a671f7105aea044042286a5bd23e9740b5504d43987914
+AUX vdr-xine-0.9.4-gentoo.diff 520 SHA256 f520451d4e15be2859320170b97f20996bc8040130e2a2605152f523b43af751 SHA512 523cddcd8cfe8020f96cbc070dfb5b7d5bb8e84b1ba2ed6bd82bd1b1fac0846485e8b9801255f13d1dd42c009cfd20a4a61cedf1b8c65abfad5c33f9068a3e3b WHIRLPOOL 1cd26ab0a4bb46317e83e541fb822b645e30ff0ef3b00982d43c53ba198e61c8aac57f6789a5aa3d24e0a5baa3b737169eeb9a2a45829ec566d367345ae09261
+DIST vdr-xine-0.9.4.tgz 339879 SHA256 e17bc3e88d1f95b8256e6fde5edc1b3e6f143d5f2bf52c921d2d8ff572862fbe SHA512 0a7bbff21b5a35360aeb68ed62a0ada5fc107453cd63231da2a48d2cc7ea4b6a333cac86164f3e6edcdcda5e9bc73d0e7fd51f6b45c149477a3acb86ffad9ae4 WHIRLPOOL 9af3cee70b96f72b2c8fd01dbc61251070c8a7d3206b1d6c9f7c4f8f970b4f589f6b70fd52e0d92618fd394f10df3d79772d793803513d98fdc34b7bc802b697
+EBUILD vdr-xine-0.9.4-r1.ebuild 1399 SHA256 e558424f6e830a45b42754551cf689faefb91209ffae6e77d66fd12fc7a74998 SHA512 e70d38d22c9002f84614cec328596bb4789d01447762ffbebbb0e231908c1fec6eeee8902f2b58dc05fa690b6f5ad223b8642f39eb7bbde31484292918479aac WHIRLPOOL 3b6ef4d0b71daeb71f2bc4be00958b84ef5fc9700e29bfaad5fa28bb3318daea53044fe85818cc86b88732d9b0cd1a98894ca2254996366201a959d57c9a4017
+MISC ChangeLog 2563 SHA256 1f4082dad611fa0597d6da60e443d5c95ae176234241a9b1128f23df9ed1743e SHA512 a28832ff0278e8c2590fbaffd3cb958e63f0138b5dcf08609d7cb4d8e27c2d7dd6455be1b86fa367abe8eda9b1440159a3487663e9af3677705becb3ae2b5bf4 WHIRLPOOL 3c2eff89035cdddda975094732ef975f569e6f5ddb383f06c8f83998cf23b1badf9eafeae98e1180eae8f46548a84003919e6cb964408ebc791f5a21feebdfd2
+MISC ChangeLog-2015 1268 SHA256 dc89ee8ed002eb83a1c24791b0e671e7c2abacf8de442c60533e5f264e26f5f3 SHA512 a5d4820afee4b2fd0e82d0f024c535fa91e263a372d124290ecf5a13728a52a8b8fe25eb819d494311c5fa825954c0329c66a8804440e9dd53e97da394a72670 WHIRLPOOL 9e3c65db8347f8d2bf2a5cef21e850580c7197603b363d37452365509e91b30698c27f09401c3a26df17a192a52173775051c8e673c6ec538ded6a61ca4b6df8
+MISC metadata.xml 286 SHA256 1d66986837c2bd639ae5a87c24dfba66f6727156a75e27f3ddd95c7ccde5a778 SHA512 a6c26fe54505441ecd74821d1395822b4957614af572578d45446aa8a44dff60928d10ada289bbcb02304006ceafed98156f9410a7187923516fc8ea6962b9fa WHIRLPOOL 9a375476682f3488f7da901886a92f7bda434044e3ec74b7fa3cab470520bab76ea16d9fed111985da7d6f83fbb11ad030bb279f0557e4ec7fdadd69efdf8b83
diff --git a/media-plugins/vdr-xine/files/confd b/media-plugins/vdr-xine/files/confd
new file mode 100644
index 000000000000..d728819e0041
--- /dev/null
+++ b/media-plugins/vdr-xine/files/confd
@@ -0,0 +1,8 @@
+# /etc/conf.d/vdr.xine:
+
+# Global config file for vdr rc-scripts
+
+# -r:
+# Enable xine to send keys to vdr-process
+
+_EXTRAOPTS="-r"
diff --git a/media-plugins/vdr-xine/files/vdr-xine-0.9.4-build-system.patch b/media-plugins/vdr-xine/files/vdr-xine-0.9.4-build-system.patch
new file mode 100644
index 000000000000..9ebaffb93c6b
--- /dev/null
+++ b/media-plugins/vdr-xine/files/vdr-xine-0.9.4-build-system.patch
@@ -0,0 +1,59 @@
+From 537ad5fa86305cf55f37dd9c87a9ec3260668049 Mon Sep 17 00:00:00 2001
+From: Christian Ruppert <idl0r@gentoo.org>
+Date: Tue, 10 Jan 2012 13:58:40 +0100
+Subject: [PATCH] patch 1
+
+---
+ Makefile | 14 ++++++++------
+ 1 files changed, 8 insertions(+), 6 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index 674f4fb..e1fdba2 100644
+--- a/Makefile
++++ b/Makefile
+@@ -25,9 +25,9 @@ CXXFLAGS ?= -g -O3 -Wall -Woverloaded-virtual
+
+ ### The directory environment:
+
+-VDRDIR = ../../..
+-LIBDIR = ../../lib
+-TMPDIR = /tmp
++VDRDIR ?= ../../..
++LIBDIR ?= ../../lib
++TMPDIR ?= /tmp
+
+ ### Make sure that necessary options are included:
+
+@@ -37,7 +37,7 @@ TMPDIR = /tmp
+
+ -include $(VDRDIR)/Make.config
+
+-INCLUDES += `pkg-config --cflags libxine`
++INCLUDES += `pkg-config --cflags libxine`
+
+ # where to create fifos (xine expects them at /tmp/vdr-xine)
+ VDR_XINE_FIFO_DIR ?= /tmp/vdr-xine
+@@ -114,9 +114,9 @@ $(DEPFILE): Makefile
+ -include $(DEPFILE)
+
+ ### Internationalization (I18N):
+-
++ifeq ($(ENABLE_I18N), yes)
+ PODIR = po
+-LOCALEDIR = $(VDRDIR)/locale
++LOCALEDIR = $(DESTDIR)$(VDRDIR)/locale
+ I18Npo = $(wildcard $(PODIR)/*.po)
+ I18Nmsgs = $(addprefix $(LOCALEDIR)/, $(addsuffix /LC_MESSAGES/vdr-$(PLUGIN).mo, $(notdir $(foreach file, $(I18Npo), $(basename $(file))))))
+ I18Npot = $(PODIR)/$(PLUGIN).pot
+@@ -135,6 +135,8 @@ $(I18Nmsgs): $(LOCALEDIR)/%/LC_MESSAGES/vdr-$(PLUGIN).mo: $(PODIR)/%.mo
+ @mkdir -p $(dir $@)
+ cp $< $@
+
++endif
++
+ .PHONY: i18n
+ i18n: $(I18Nmsgs) $(I18Npot)
+
+--
+1.7.3.4
+
diff --git a/media-plugins/vdr-xine/files/vdr-xine-0.9.4-gentoo.diff b/media-plugins/vdr-xine/files/vdr-xine-0.9.4-gentoo.diff
new file mode 100644
index 000000000000..581dba287372
--- /dev/null
+++ b/media-plugins/vdr-xine/files/vdr-xine-0.9.4-gentoo.diff
@@ -0,0 +1,12 @@
+diff -ru xine-0.9.0-orig/xineLib.c xine-0.9.0/xineLib.c
+--- xine-0.9.0-orig/xineLib.c 2009-01-18 17:40:13.228935882 +0100
++++ xine-0.9.0/xineLib.c 2009-01-18 17:41:28.815595331 +0100
+@@ -2118,7 +2118,7 @@
+
+ bool cXineLib::readNoSignalStream(const int index, const string &suffix)
+ {
+- string noSignalFileName = m_plugin->ConfigDirectory(PLUGIN_NAME_I18N);
++ string noSignalFileName = "/usr/share/vdr/xine";
+ // noSignalFileName += "/noSignal.pes";
+ noSignalFileName += "/noSignal" + suffix + ".mpg";
+
diff --git a/media-plugins/vdr-xine/metadata.xml b/media-plugins/vdr-xine/metadata.xml
new file mode 100644
index 000000000000..a1831e12ef39
--- /dev/null
+++ b/media-plugins/vdr-xine/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <use>
+ <flag name="yaepg">Enables support for the plugin vdr-yaepg (showing scaled video besides OSD)</flag>
+ </use>
+</pkgmetadata>
diff --git a/media-plugins/vdr-xine/vdr-xine-0.9.4-r1.ebuild b/media-plugins/vdr-xine/vdr-xine-0.9.4-r1.ebuild
new file mode 100644
index 000000000000..95a73a5b3eeb
--- /dev/null
+++ b/media-plugins/vdr-xine/vdr-xine-0.9.4-r1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+inherit vdr-plugin-2
+
+DESCRIPTION="VDR plugin: for 'software only' playback using xine"
+HOMEPAGE="http://home.vr-web.de/~rnissl/"
+SRC_URI="http://home.vr-web.de/~rnissl/${P}.tgz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+IUSE="yaepg"
+
+COMMON_DEP=">=media-video/vdr-1.5.7
+ >=media-libs/xine-lib-1.1.8[vdr]"
+DEPEND="${COMMON_DEP}"
+RDEPEND="${COMMON_DEP}
+ >=media-video/mjpegtools-2.1.0
+ media-libs/netpbm"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-gentoo.diff"
+ epatch "${FILESDIR}/${P}-build-system.patch"
+
+ use yaepg && sed -i Makefile -e "s:#VDR_XINE_SET_VIDEO_WINDOW:VDR_XINE_SET_VIDEO_WINDOW:"
+
+ vdr-plugin-2_src_prepare
+
+ if has_version ">=media-video/vdr-1.7.33"; then
+ sed -e "s:pid == patPmtParser.PmtPid():patPmtParser.IsPmtPid(pid):" \
+ -i xineDevice.c
+ fi
+
+ # remove i18n crap
+ sed -e "s:^#include[[:space:]]*\"xineI18n.h\"::" -i xine.c
+
+ BUILD_PARAMS="VDR_XINE_FIFO_DIR=/var/vdr/xine"
+}
+
+src_install() {
+ vdr-plugin-2_src_install
+
+ dobin xineplayer || die
+
+ insinto /usr/share/vdr/xine
+ doins data/* || die
+
+ dodoc MANUAL
+}
+
+pkg_postinst() {
+ vdr-plugin-2_pkg_postinst
+
+ if [[ -d ${ROOT}/etc/vdr/plugins/xine ]]; then
+ ewarn "You have a leftover directory of vdr-xine."
+ ewarn "You can safely remove it with:"
+ ewarn "# rm -rf /etc/vdr/plugins/xine"
+ fi
+}