# ChangeLog for media-plugins/vdr-streamdev-client
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-streamdev-client/ChangeLog,v 1.5 2006/12/03 15:41:24 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-streamdev-client/ChangeLog,v 1.6 2006/12/06 16:00:19 zzam Exp $
+
+*vdr-streamdev-client-0.3.3_pre20061206 (06 Dec 2006)
+
+ 06 Dec 2006; Matthias Schwarzott <zzam@gentoo.org>
+ +vdr-streamdev-client-0.3.3_pre20061206.ebuild:
+ Added new snapshot.
03 Dec 2006; Matthias Schwarzott <zzam@gentoo.org>
+files/vdr-streamdev-uint64.diff,
--- /dev/null
+MD5 9c5ea601a2d6a95ccc3c48d057eccd89 vdr-streamdev-20061206.tar.bz2 117931
+RMD160 0d4d17f905a0887e349e59a8370f9977add93697 vdr-streamdev-20061206.tar.bz2 117931
+SHA256 f3f7cd8e6ee7c495c908d509c2fce9320bbc8e002c0bd92383dff1fe32db98b4 vdr-streamdev-20061206.tar.bz2 117931
--- /dev/null
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-streamdev-client/vdr-streamdev-client-0.3.3_pre20061206.ebuild,v 1.1 2006/12/06 16:00:19 zzam Exp $
+
+inherit vdr-plugin eutils
+
+VDRPLUGIN_BASE=${VDRPLUGIN//-*/}
+MY_P=${VDRPLUGIN_BASE}-${PV/*_pre/}
+
+DESCRIPTION="Video Disk Recorder Client/Server streaming plugin"
+HOMEPAGE="http://www.magoa.net/linux/"
+SRC_URI="mirror://gentoo/vdr-${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND=">=media-video/vdr-1.3.24"
+
+S=${WORKDIR}/${MY_P}
+
+VDRPLUGIN_MAKE_TARGET="libvdr-${VDRPLUGIN}.so"
+
+PATCHES="${FILESDIR}/vdr-streamdev-uint64.diff"
+
+src_unpack() {
+ vdr-plugin_src_unpack
+ cd ${S}
+
+ # make subdir libdvbmpeg respect CXXFLAGS
+ sed -i Makefile \
+ -e 's:\(CXXFLAGS.*=\):#\1:'
+ sed -i libdvbmpeg/Makefile \
+ -e 's:CFLAGS = -g -Wall -O2:CFLAGS = $(CXXFLAGS) :'
+}
+
# ChangeLog for media-plugins/vdr-streamdev-server
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-streamdev-server/ChangeLog,v 1.11 2006/09/08 10:54:58 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-streamdev-server/ChangeLog,v 1.12 2006/12/06 15:58:55 zzam Exp $
+
+*vdr-streamdev-server-0.3.3_pre20061206 (06 Dec 2006)
+
+ 06 Dec 2006; Matthias Schwarzott <zzam@gentoo.org>
+ +vdr-streamdev-server-0.3.3_pre20061206.ebuild:
+ Added new snapshot.
08 Sep 2006; Matthias Schwarzott <zzam@gentoo.org>
-files/vdr-streamdev-server-20051219-fix-http-errors.diff,
--- /dev/null
+MD5 9c5ea601a2d6a95ccc3c48d057eccd89 vdr-streamdev-20061206.tar.bz2 117931
+RMD160 0d4d17f905a0887e349e59a8370f9977add93697 vdr-streamdev-20061206.tar.bz2 117931
+SHA256 f3f7cd8e6ee7c495c908d509c2fce9320bbc8e002c0bd92383dff1fe32db98b4 vdr-streamdev-20061206.tar.bz2 117931
--- /dev/null
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-streamdev-server/vdr-streamdev-server-0.3.3_pre20061206.ebuild,v 1.1 2006/12/06 15:58:55 zzam Exp $
+
+inherit vdr-plugin eutils
+
+VDRPLUGIN_BASE=${VDRPLUGIN//-*/}
+MY_PV=${PV/*_pre/}
+MY_P=${VDRPLUGIN_BASE}-${MY_PV}
+
+DESCRIPTION="Video Disk Recorder Client/Server streaming plugin"
+HOMEPAGE="http://www.magoa.net/linux/"
+SRC_URI="mirror://gentoo/vdr-${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+DEPEND=">=media-video/vdr-1.3.24"
+
+S=${WORKDIR}/${MY_P}
+
+VDRPLUGIN_MAKE_TARGET="libvdr-${VDRPLUGIN}.so"
+
+EXTERNREMUX_PATH=/usr/share/vdr/streamdev/externremux.sh
+
+src_unpack() {
+ vdr-plugin_src_unpack
+ cd ${S}
+
+ #seems to no longer work, if needed, please open a bug
+ #if grep -q "virtual bool Active" ${ROOT}/usr/include/vdr/plugin.h; then
+ # epatch ${FILESDIR}/vdr-streamdev-server-20060502-old-vdr-headers.diff
+ #fi
+
+ # 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 's:\(CXXFLAGS.*=\):#\1:'
+ sed -i libdvbmpeg/Makefile \
+ -e 's:CFLAGS = -g -Wall -O2:CFLAGS = $(CXXFLAGS) :'
+}
+
+src_install() {
+ vdr-plugin_src_install
+
+ cd ${S}
+ insinto /etc/vdr/plugins
+ newins streamdevhosts.conf.example streamdevhosts.conf
+ chown vdr:vdr ${D}/etc/vdr -R
+}
+
+pkg_postinst() {
+ vdr-plugin_pkg_postinst
+ einfo "If you want to use the externremux-feature, then put"
+ einfo "your custom script as ${EXTERNREMUX_PATH}."
+}
+