summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2008-06-18 16:36:37 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2008-06-18 16:36:37 +0000
commit0e79af34d0bccf6e27b9869c1bce4f09d7ead792 (patch)
treeedafd11b43241b137d60f1295cb07782d273ecd8 /media-plugins/vdr-streamdev
parentBlock vdr-streamdev package. Fix minor errors. (diff)
downloadhistorical-0e79af34d0bccf6e27b9869c1bce4f09d7ead792.tar.gz
historical-0e79af34d0bccf6e27b9869c1bce4f09d7ead792.tar.bz2
historical-0e79af34d0bccf6e27b9869c1bce4f09d7ead792.zip
Merge vdr-streamdev-{client,server} into one package, adding blockers to the old split ebuilds. Version bumped to 0.3.4.
Package-Manager: portage-2.1.5.6
Diffstat (limited to 'media-plugins/vdr-streamdev')
-rw-r--r--media-plugins/vdr-streamdev/ChangeLog16
-rw-r--r--media-plugins/vdr-streamdev/files/vdr-streamdev-0.3.4-gentoo.diff16
-rw-r--r--media-plugins/vdr-streamdev/metadata.xml9
-rw-r--r--media-plugins/vdr-streamdev/vdr-streamdev-0.3.4.ebuild59
4 files changed, 100 insertions, 0 deletions
diff --git a/media-plugins/vdr-streamdev/ChangeLog b/media-plugins/vdr-streamdev/ChangeLog
new file mode 100644
index 000000000000..ae091dfa3ffa
--- /dev/null
+++ b/media-plugins/vdr-streamdev/ChangeLog
@@ -0,0 +1,16 @@
+# ChangeLog for media-plugins/vdr-streamdev
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-streamdev/ChangeLog,v 1.3 2008/06/18 16:36:36 zzam Exp $
+
+ 18 Jun 2008; Matthias Schwarzott <zzam@gentoo.org>
+ +files/vdr-streamdev-0.3.4-gentoo.diff, +metadata.xml,
+ +vdr-streamdev-0.3.4.ebuild:
+ Merge vdr-streamdev-{client,server} into one package, adding blockers to
+ the old split ebuilds. Version bumped to 0.3.4.
+
+*vdr-streamdev-0.3.4 (04 Jun 2008)
+
+ 04 Jun 2008; Matthias Schwarzott <zzam@gentoo.org> +metadata.xml,
+ +vdr-streamdev-0.3.4.ebuild:
+ Merged vdr-streamdev-{client,server}.
+
diff --git a/media-plugins/vdr-streamdev/files/vdr-streamdev-0.3.4-gentoo.diff b/media-plugins/vdr-streamdev/files/vdr-streamdev-0.3.4-gentoo.diff
new file mode 100644
index 000000000000..5a5278f6d364
--- /dev/null
+++ b/media-plugins/vdr-streamdev/files/vdr-streamdev-0.3.4-gentoo.diff
@@ -0,0 +1,16 @@
+will change config dir to /etc/vdr/plugins/${pluginname}
+
+Joerg Bornkessel <hd_brummy@gentoo.org> 10 May 2007
+
+diff -Naur streamdev-20070510.orig/server/server.h streamdev-20070510/server/server.h
+--- streamdev-20070510.orig/server/server.h 2007-05-10 17:02:45.084274870 +0200
++++ streamdev-20070510/server/server.h 2007-05-10 17:10:32.652139993 +0200
+@@ -10,7 +10,7 @@
+ #include "server/component.h"
+ #include "server/connection.h"
+
+-#define STREAMDEVHOSTSPATH (*AddDirectory(cPlugin::ConfigDirectory(), "streamdevhosts.conf"))
++#define STREAMDEVHOSTSPATH (*AddDirectory(cPlugin::ConfigDirectory( "streamdev" ), "streamdevhosts.conf"))
+
+ class cStreamdevServer: public cThread {
+ private:
diff --git a/media-plugins/vdr-streamdev/metadata.xml b/media-plugins/vdr-streamdev/metadata.xml
new file mode 100644
index 000000000000..7b718b6f9765
--- /dev/null
+++ b/media-plugins/vdr-streamdev/metadata.xml
@@ -0,0 +1,9 @@
+<?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>
+</pkgmetadata>
diff --git a/media-plugins/vdr-streamdev/vdr-streamdev-0.3.4.ebuild b/media-plugins/vdr-streamdev/vdr-streamdev-0.3.4.ebuild
new file mode 100644
index 000000000000..429c989d1d0d
--- /dev/null
+++ b/media-plugins/vdr-streamdev/vdr-streamdev-0.3.4.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-streamdev/vdr-streamdev-0.3.4.ebuild,v 1.1 2008/06/18 16:36:36 zzam Exp $
+
+inherit vdr-plugin eutils
+
+DESCRIPTION="Video Disk Recorder Client/Server streaming plugin"
+HOMEPAGE="http://www.magoa.net/linux/"
+SRC_URI="http://streamdev.vdr-developer.org/releases/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=media-video/vdr-1.3.24
+ !media-plugins/vdr-streamdev-client
+ !media-plugins/vdr-streamdev-server"
+
+EXTERNREMUX_PATH=/usr/share/vdr/streamdev/externremux.sh
+
+PATCHES=("${FILESDIR}/${P}-gentoo.diff")
+
+src_unpack() {
+ vdr-plugin_src_unpack
+ cd "${S}"
+
+ # Moving externremux.sh out of /root
+ sed -i remux/extern.c \
+ -e "s#/root/externremux.sh#${EXTERNREMUX_PATH}#"
+
+ # make subdir libdvbmpeg respect CXXFLAGS
+ sed -i Makefile \
+ -e '/CXXFLAGS.*+=/s:^:#:'
+ sed -i libdvbmpeg/Makefile \
+ -e 's:CFLAGS = -g -Wall -O2:CFLAGS = $(CXXFLAGS) :'
+
+ fix_vdr_libsi_include server/livestreamer.c
+}
+
+src_install() {
+ vdr-plugin_src_install
+
+ cd "${S}"
+ insinto /etc/vdr/plugins/streamdev
+ newins streamdevhosts.conf.example streamdevhosts.conf
+ chown vdr:vdr "${D}"/etc/vdr -R
+}
+
+pkg_postinst() {
+ vdr-plugin_pkg_postinst
+ elog "If you want to use the externremux-feature, then put"
+ elog "your custom script as ${EXTERNREMUX_PATH}."
+
+ if [[ -e "${ROOT}"/etc/vdr/plugins/streamdevhosts.conf ]]; then
+ einfo "move config file to new config DIR ${ROOT}/etc/vdr/plugins/streamdev/"
+ mv "${ROOT}"/etc/vdr/plugins/streamdevhosts.conf "${ROOT}"/etc/vdr/plugins/streamdev/streamdevhosts.conf
+ fi
+}