diff options
Diffstat (limited to 'media-plugins')
6 files changed, 100 insertions, 12 deletions
diff --git a/media-plugins/vdr-streamdev/ChangeLog b/media-plugins/vdr-streamdev/ChangeLog index d0ed92204605..fafaf31266c9 100644 --- a/media-plugins/vdr-streamdev/ChangeLog +++ b/media-plugins/vdr-streamdev/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for media-plugins/vdr-streamdev # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-streamdev/ChangeLog,v 1.9 2010/02/25 21:05:12 hd_brummy Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-streamdev/ChangeLog,v 1.10 2010/05/05 15:17:49 hd_brummy Exp $ + +*vdr-streamdev-0.5.0_pre20100505 (05 May 2010) + + 05 May 2010; Joerg Bornkessel <hd_brummy@gentoo.org> + vdr-streamdev-0.3.4.ebuild, vdr-streamdev-0.3.4-r1.ebuild, + vdr-streamdev-0.5.0_pre20090706.ebuild, + vdr-streamdev-0.5.0_pre20100124.ebuild, + +vdr-streamdev-0.5.0_pre20100505.ebuild: + new snapshot, update HOMEPAGE *vdr-streamdev-0.5.0_pre20100124 (25 Feb 2010) diff --git a/media-plugins/vdr-streamdev/vdr-streamdev-0.3.4-r1.ebuild b/media-plugins/vdr-streamdev/vdr-streamdev-0.3.4-r1.ebuild index 64293b58ed41..60a15eeceb3a 100644 --- a/media-plugins/vdr-streamdev/vdr-streamdev-0.3.4-r1.ebuild +++ b/media-plugins/vdr-streamdev/vdr-streamdev-0.3.4-r1.ebuild @@ -1,13 +1,13 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 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-r1.ebuild,v 1.1 2009/03/24 20:52:30 zzam Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-streamdev/vdr-streamdev-0.3.4-r1.ebuild,v 1.2 2010/05/05 15:17:49 hd_brummy Exp $ EAPI="1" inherit vdr-plugin eutils DESCRIPTION="Video Disk Recorder Client/Server streaming plugin" -HOMEPAGE="http://www.magoa.net/linux/" +HOMEPAGE="http://streamdev.vdr-developer.org/" SRC_URI="http://streamdev.vdr-developer.org/releases/${P}.tgz" LICENSE="GPL-2" diff --git a/media-plugins/vdr-streamdev/vdr-streamdev-0.3.4.ebuild b/media-plugins/vdr-streamdev/vdr-streamdev-0.3.4.ebuild index e6de86e41346..b33a9add5677 100644 --- a/media-plugins/vdr-streamdev/vdr-streamdev-0.3.4.ebuild +++ b/media-plugins/vdr-streamdev/vdr-streamdev-0.3.4.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 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.5 2009/02/25 15:32:11 zzam Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-streamdev/vdr-streamdev-0.3.4.ebuild,v 1.6 2010/05/05 15:17:49 hd_brummy Exp $ inherit vdr-plugin eutils DESCRIPTION="Video Disk Recorder Client/Server streaming plugin" -HOMEPAGE="http://www.magoa.net/linux/" +HOMEPAGE="http://streamdev.vdr-developer.org/" SRC_URI="http://streamdev.vdr-developer.org/releases/${P}.tgz" LICENSE="GPL-2" diff --git a/media-plugins/vdr-streamdev/vdr-streamdev-0.5.0_pre20090706.ebuild b/media-plugins/vdr-streamdev/vdr-streamdev-0.5.0_pre20090706.ebuild index 292418def517..787a9676cf61 100644 --- a/media-plugins/vdr-streamdev/vdr-streamdev-0.5.0_pre20090706.ebuild +++ b/media-plugins/vdr-streamdev/vdr-streamdev-0.5.0_pre20090706.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 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.5.0_pre20090706.ebuild,v 1.1 2009/07/07 12:12:16 zzam Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-streamdev/vdr-streamdev-0.5.0_pre20090706.ebuild,v 1.2 2010/05/05 15:17:49 hd_brummy Exp $ EAPI="1" @@ -8,7 +8,7 @@ MY_P=${PN}-${PV/_pre/-pre-} inherit vdr-plugin eutils DESCRIPTION="Video Disk Recorder Client/Server streaming plugin" -HOMEPAGE="http://www.magoa.net/linux/" +HOMEPAGE="http://streamdev.vdr-developer.org/" SRC_URI="http://streamdev.vdr-developer.org/snapshots/${MY_P}.tgz" LICENSE="GPL-2" diff --git a/media-plugins/vdr-streamdev/vdr-streamdev-0.5.0_pre20100124.ebuild b/media-plugins/vdr-streamdev/vdr-streamdev-0.5.0_pre20100124.ebuild index 6aeabeb07053..34fbf6cde99f 100644 --- a/media-plugins/vdr-streamdev/vdr-streamdev-0.5.0_pre20100124.ebuild +++ b/media-plugins/vdr-streamdev/vdr-streamdev-0.5.0_pre20100124.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 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.5.0_pre20100124.ebuild,v 1.1 2010/02/25 21:05:12 hd_brummy Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-streamdev/vdr-streamdev-0.5.0_pre20100124.ebuild,v 1.2 2010/05/05 15:17:49 hd_brummy Exp $ EAPI="2" @@ -8,7 +8,7 @@ MY_P="${PN}-${PV/_pre/-pre-}" inherit vdr-plugin eutils DESCRIPTION="vdr Plugin: Client/Server streaming plugin" -HOMEPAGE="http://www.magoa.net/linux/" +HOMEPAGE="http://streamdev.vdr-developer.org/" SRC_URI="http://vdr.websitec.de/download/${PN}/${MY_P}.tgz" LICENSE="GPL-2" diff --git a/media-plugins/vdr-streamdev/vdr-streamdev-0.5.0_pre20100505.ebuild b/media-plugins/vdr-streamdev/vdr-streamdev-0.5.0_pre20100505.ebuild new file mode 100644 index 000000000000..6da7874adbdf --- /dev/null +++ b/media-plugins/vdr-streamdev/vdr-streamdev-0.5.0_pre20100505.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2010 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.5.0_pre20100505.ebuild,v 1.1 2010/05/05 15:17:49 hd_brummy Exp $ + +EAPI="2" + +MY_P="${PN}-${PV/_pre/-pre-}" +inherit vdr-plugin eutils + +DESCRIPTION="vdr Plugin: Client/Server streaming plugin" +HOMEPAGE="http://streamdev.vdr-developer.org/" +SRC_URI="http://vdr.websitec.de/download/${PN}/${MY_P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="+client +server" + +DEPEND=">=media-video/vdr-1.6.0" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P#vdr-}" + +EXTERNREMUX_PATH=/usr/share/vdr/streamdev/externremux.sh + +pkg_setup() { + vdr-plugin_pkg_setup + + if ! use client && ! use server; then + die "no plugins selected, change useflags and enable at least client or server!" + fi +} + +src_prepare() { + vdr-plugin_src_prepare + 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) :' + + for flag in client server; do + if ! use ${flag}; then + sed -i Makefile \ + -e '/^all:/s/libvdr-$(PLUGIN)-'${flag}'.so//' + fi + done + + fix_vdr_libsi_include server/livestreamer.c +} + +src_install() { + vdr-plugin_src_install + + cd "${S}" + if use server; then + insinto /etc/vdr/plugins/streamdev + newins streamdev/streamdevhosts.conf streamdevhosts.conf + chown vdr:vdr "${D}"/etc/vdr -R + fi +} + +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 +} |