summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-plugins/vdr-streamdev/ChangeLog11
-rw-r--r--media-plugins/vdr-streamdev/Manifest17
-rw-r--r--media-plugins/vdr-streamdev/files/confd-0.6.034
-rw-r--r--media-plugins/vdr-streamdev/files/rc-addon-0.6.0.sh26
-rw-r--r--media-plugins/vdr-streamdev/metadata.xml20
-rw-r--r--media-plugins/vdr-streamdev/vdr-streamdev-0.6.1_p20151004.ebuild99
6 files changed, 207 insertions, 0 deletions
diff --git a/media-plugins/vdr-streamdev/ChangeLog b/media-plugins/vdr-streamdev/ChangeLog
new file mode 100644
index 0000000..b467cf3
--- /dev/null
+++ b/media-plugins/vdr-streamdev/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for media-plugins/vdr-streamdev
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Id$
+
+*vdr-streamdev-0.6.1_p20151004 (15 Nov 2015)
+
+ 15 Nov 2015; Joerg Bornkessel <hd_brummy@gentoo.org>
+ +vdr-streamdev-0.6.1_p20151004.ebuild, +files/confd-0.6.0,
+ +files/rc-addon-0.6.0.sh, +metadata.xml:
+ snapshot, compiles only on use-flag client with >=vdr-2.3.1
+
diff --git a/media-plugins/vdr-streamdev/Manifest b/media-plugins/vdr-streamdev/Manifest
new file mode 100644
index 0000000..ffaaabe
--- /dev/null
+++ b/media-plugins/vdr-streamdev/Manifest
@@ -0,0 +1,17 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX confd-0.6.0 763 SHA256 eb3c2c035142ef51bebb6509b80cd0206bc920e11c12f08bea58381daab88c5a SHA512 4e903271bd71ae285e83032ed6694053e1335346e4b27e1bde5b5545c2e0f1ce01e548f09cb15c938ed2f227fb565a1af2d43c774098b5aa5ed457a9d7ed1767 WHIRLPOOL 1e2909a4dc2d4b888ae1d30590cb8fc64db4435d2fd8d61ba3345a7c5e11539d816721e515cf8ae220df54e120c100aff19b5b18fd18b75d66281684027fe7f0
+AUX rc-addon-0.6.0.sh 856 SHA256 ebbd19c9af920e67eacc45039a1c066481b8e4fbc2beaeaa6306051e8bfde4ce SHA512 3af1af9190c8edb19e552d6631a89e1c853c59024ae41b9145d80ec43560b4ae64ce2951e6fc467cd729685437f62e06fdce8709f9ca99e1093d4f1f138f522a WHIRLPOOL 28ff4e384a12eff6990f8c5be310cafca176d658cf6c3a9417e9e124af854ae59454df3a1a384e93e01c061d59b58ec9160c3089e9ed41bae556549f9e638885
+DIST vdr-plugin-streamdev-d66c635a80b312e2e7277a8fe10f500b05317acd.tar.bz2 161832 SHA256 e3e9697fff6c45e1b7c2342ca86be97ef36fe6570061d00e7fbf02efc0f0eecc SHA512 28b5c80152e24dcc4ed6eb667b4210db9251727b774fd89123c0f0b6023d09811937ccdd8d2ee84a34ba8870abbf28ca8a3e17ea58e45242cb58e929d2226d2b WHIRLPOOL b06af841c50b472a872cb866b5e100c4c9c0b70882000a6e3353e4f823eaafacac5fb077b7d62710f4b3ebc538a2333db3ee5de835989f3627a1700754819204
+EBUILD vdr-streamdev-0.6.1_p20151004.ebuild 3122 SHA256 10323582fcb7236e602a20275955e6de3b1f7111bbdd4d8a643ada0459b34b74 SHA512 13046fe61bf8f9cbe92b577039bcb123e1bcc64f204ad0996c65f370f96a799bbc18407ed7b9aa5eb7adbb81e76a8ca576f2eb6f5a6de8c76b8335e5a44af0d4 WHIRLPOOL 5a6da11d2c9e4055d888ce73aafa58c92cbfe36f61b3f8e2ea4acf9424c2de6bb400ab634ad7ab02dbaf22c841f174267f09868f9edd4c7ddb3bacfbb1372c00
+MISC ChangeLog 390 SHA256 0eeaae2b51567039e722858e62de5b33137106cd958887c71f559d3de05f9b77 SHA512 c32021d80b081db821096d2a30e68de54025dcd02c4db6864cf2f1e5a0935dbec924d9abe15d5e88d8e61187d4ef98d0fc30da195b6d7e993561a8f8ed75166e WHIRLPOOL b7744f4ebbf59f24c7cfc78fb226edc044af8fb99895d9f12a459fb8d928c25d7749d43b29cf28bd57344ad50fd6e79391bdb5561a466a5a0e5ee961263d2568
+MISC metadata.xml 551 SHA256 31897a7e99af2ccf43ea4f5a6eb73aee28c146a63c9f78c1aec926536cbe5ec8 SHA512 3f011b2760649ad53d54e98616227d41d86234e805d48129735a24fc005580b09362419b760b773add53c01260ec00536f509cc7e3c517527ef0d46612a00713 WHIRLPOOL 5941dc02c4165ca3a017b72d018e0096f1e0cfb710e5b10740cb010887a8cba022b34b9e0e510aff616c174222035598f2a6e90e9fdfee713051b20c8669c85d
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2
+Comment: added by hd_brummy@gentoo.org
+
+iD8DBQFWSNhFdn07HTTCgIoRCM3wAKClwyov3zS+yAIQlvIO6FWxO3lLiACgr6Oq
+f8zukGtD7WOkT1zJ2Ext6RU=
+=8aZ6
+-----END PGP SIGNATURE-----
diff --git a/media-plugins/vdr-streamdev/files/confd-0.6.0 b/media-plugins/vdr-streamdev/files/confd-0.6.0
new file mode 100644
index 0000000..1cb42ef
--- /dev/null
+++ b/media-plugins/vdr-streamdev/files/confd-0.6.0
@@ -0,0 +1,34 @@
+# /etc/conf.d/vdr.streamdev-server
+
+# Use your own remux script
+#
+# default: streamdevserver remux script is used
+# take a look at the README for handling
+#
+# allowed values: full path to your replacement script
+#
+#STREAMDEV_REMUX_SCRIPT="/full/path/to/your/own/remux-script"
+
+# You can configure optional authentication credentials
+# for the http protocol here
+#
+# ATTENTION: the colon character ":" is not allowed in
+# both the login and password !
+#
+# enable http_auth
+# allowed values: yes | no
+# default: no
+#
+#STREAMDEV_HTTP_AUTH_ENABLE="yes"
+
+# Set the user for http_auth
+# allowed values: your_user
+# default:
+#
+STREAMDEV_HTTP_LOGIN=""
+
+# Set the password for http_auth
+# allowed values: your_password
+# default:
+#
+STREAMDEV_HTTP_PASSWORD=""
diff --git a/media-plugins/vdr-streamdev/files/rc-addon-0.6.0.sh b/media-plugins/vdr-streamdev/files/rc-addon-0.6.0.sh
new file mode 100644
index 0000000..33d99ec
--- /dev/null
+++ b/media-plugins/vdr-streamdev/files/rc-addon-0.6.0.sh
@@ -0,0 +1,26 @@
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-streamdev/files/rc-addon-0.6.0.sh,v 1.1 2013/03/31 16:22:06 hd_brummy Exp $
+#
+# rc-addon-script for plugin streamdev-server
+#
+# Joerg Bornkessel <hd_brummy@g.o>
+
+plugin_pre_vdr_start() {
+
+ : ${STREAMDEV_REMUX_SCRIPT:=/usr/share/vdr/streamdev/externremux.sh}
+ add_plugin_param "-r ${STREAMDEV_REMUX_SCRIPT}"
+
+ if yesno ${STREAMDEV_HTTP_AUTH_ENABLE:-no}; then
+
+ if [[ -z ${STREAMDEV_HTTP_LOGIN} ]]; then
+ eerror "No user in /etc/conf.d/vdr.streamdev-server"
+ logger -t vdr "ERROR: need password for plugin vdr-streamdev-server"
+ fi
+
+ if [[ -z ${STREAMDEV_HTTP_PASSWORD} ]]; then
+ eerror "No password in /etc/conf.d/vdr.streamdev-server"
+ logger -t vdr "ERROR: need password for plugin vdr-streamdev-server"
+ fi
+
+ add_plugin_param "-a ${STREAMDEV_HTTP_LOGIN}:${STREAMDEV_HTTP_PASSWORD}"
+ fi
+}
diff --git a/media-plugins/vdr-streamdev/metadata.xml b/media-plugins/vdr-streamdev/metadata.xml
new file mode 100644
index 0000000..afdf685
--- /dev/null
+++ b/media-plugins/vdr-streamdev/metadata.xml
@@ -0,0 +1,20 @@
+<?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>
+ <use>
+ <flag name="client">
+ Compile the VDR plugin vdr-streamdev-client
+ that acts like a dvb-budget card
+ </flag>
+ <flag name="server">
+ Compile the VDR plugin vdr-streamdev-server
+ that allows remote systems to access the
+ DVB cards used for the local VDR
+ </flag>
+ </use>
+</pkgmetadata>
diff --git a/media-plugins/vdr-streamdev/vdr-streamdev-0.6.1_p20151004.ebuild b/media-plugins/vdr-streamdev/vdr-streamdev-0.6.1_p20151004.ebuild
new file mode 100644
index 0000000..c27ad4a
--- /dev/null
+++ b/media-plugins/vdr-streamdev/vdr-streamdev-0.6.1_p20151004.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit vdr-plugin-2
+
+GIT_VERSION="d66c635a80b312e2e7277a8fe10f500b05317acd"
+
+DESCRIPTION="VDR Plugin: Client/Server and http streaming plugin"
+HOMEPAGE="http://projects.vdr-developer.org/projects/plg-streamdev"
+SRC_URI="http://projects.vdr-developer.org/git/vdr-plugin-streamdev.git/snapshot/vdr-plugin-streamdev-${GIT_VERSION}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="client +server"
+
+DEPEND=">=media-video/vdr-1.7.25"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/vdr-plugin-streamdev-${GIT_VERSION}"
+
+REQUIRED_USE="|| ( client server )"
+
+# vdr-plugin-2.eclass changes
+PO_SUBDIR="client server"
+
+src_prepare() {
+ # make detection in vdr-plugin-2.eclass for new Makefile handling happy
+ echo "# SOFILE" >> Makefile
+
+ # rm unneeded entry
+ sed -i Makefile -e "s:-I\$(VDRDIR)/include::"
+
+ vdr-plugin-2_src_prepare
+
+ for flag in client server; do
+ if ! use ${flag}; then
+ sed -i Makefile \
+ -e '/^.PHONY:/s/'${flag}'//' \
+ -e '/^.PHONY:/s/'install-${flag}'//' \
+ -e '/^all:/s/'${flag}'//' \
+ -e '/^install:/s/'install-${flag}'//'
+ fi
+ done
+
+ fix_vdr_libsi_include server/livestreamer.c
+}
+
+src_install() {
+ vdr-plugin-2_src_install
+
+ if use server; then
+ insinto /usr/share/vdr/streamdev
+ doins streamdev-server/externremux.sh
+
+ insinto /usr/share/vdr/rcscript
+ newins "${FILESDIR}"/rc-addon-0.6.0.sh plugin-streamdev-server.sh
+
+ insinto /etc/conf.d
+ newins "${FILESDIR}"/confd-0.6.0 vdr.streamdev-server
+
+ insinto /etc/vdr/plugins/streamdev-server
+ newins streamdev-server/streamdevhosts.conf streamdevhosts.conf
+ fowners vdr:vdr /etc/vdr -R
+ fi
+}
+
+pkg_preinst() {
+ has_version "<${CATEGORY}/${PN}-0.6.0"
+ previous_less_than_0_6_0=$?
+}
+
+pkg_postinst() {
+ vdr-plugin-2_pkg_postinst
+
+ if [[ -e "${ROOT}"/etc/vdr/plugins/streamdev/streamdevhosts.conf ]]; then
+ einfo "move config file to new config DIR ${ROOT}/etc/vdr/plugins/streamdev-server/"
+ mv "${ROOT}"/etc/vdr/plugins/streamdev/streamdevhosts.conf "${ROOT}"/etc/vdr/plugins/streamdev-server/streamdevhosts.conf
+ fi
+
+ if [[ $previous_less_than_0_6_0 = 0 ]]; then
+ einfo "The server-side setting \"Suspend behaviour\" has been dropped in 0.6.0 in favour"
+ einfo "of priority based precedence. A priority of 0 and above means that clients"
+ einfo "have precedence. A negative priority gives precedence to local live TV on the"
+ einfo "server. So if \"Suspend behaviour\" was previously set to \"Client may suspend\" or"
+ einfo "\"Never suspended\", you will have to configure a negative priority. If the"
+ einfo "\"Suspend behaviour\" was set to \"Always suspended\", the default values should do."
+ einfo ""
+ einfo "Configure the desired priorities for HTTP and IGMP Multicast streaming in the"
+ einfo "settings of streamdev-server. If you haven't updated all your streamdev-clients"
+ einfo "to at least 0.5.2, configure \"Legacy Client Priority\", too."
+ einfo ""
+ einfo "In streamdev-client, you should set \"Minimum Priority\" to -99. Adjust \"Live TV"
+ einfo "Priority\" if necessary."
+ fi
+}