summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Bornkessel <hd_brummy@gentoo.org>2012-05-12 16:16:56 +0000
committerJörg Bornkessel <hd_brummy@gentoo.org>2012-05-12 16:16:56 +0000
commit7f81236982725f0493f6b4138f6c3e441722187a (patch)
tree8712ca653f62a538dee511e490889cd5109e55a6 /media-plugins/vdr-streamdev
parentalpha/ia64/m68k/s390/sh/sparc stable wrt #397903 (diff)
downloadgentoo-2-7f81236982725f0493f6b4138f6c3e441722187a.tar.gz
gentoo-2-7f81236982725f0493f6b4138f6c3e441722187a.tar.bz2
gentoo-2-7f81236982725f0493f6b4138f6c3e441722187a.zip
bump
(Portage version: 2.1.10.11/cvs/Linux i686)
Diffstat (limited to 'media-plugins/vdr-streamdev')
-rw-r--r--media-plugins/vdr-streamdev/ChangeLog8
-rw-r--r--media-plugins/vdr-streamdev/vdr-streamdev-0.5.2.ebuild77
2 files changed, 84 insertions, 1 deletions
diff --git a/media-plugins/vdr-streamdev/ChangeLog b/media-plugins/vdr-streamdev/ChangeLog
index a81e853fc92a..0658ffa6ca8b 100644
--- a/media-plugins/vdr-streamdev/ChangeLog
+++ b/media-plugins/vdr-streamdev/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-plugins/vdr-streamdev
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-streamdev/ChangeLog,v 1.17 2012/05/01 17:45:08 hd_brummy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-streamdev/ChangeLog,v 1.18 2012/05/12 16:16:56 hd_brummy Exp $
+
+*vdr-streamdev-0.5.2 (12 May 2012)
+
+ 12 May 2012; Joerg Bornkessel <hd_brummy@gentoo.org>
+ +vdr-streamdev-0.5.2.ebuild:
+ bump
01 May 2012; Joerg Bornkessel <hd_brummy@gentoo.org>
vdr-streamdev-0.5.1_p20120311.ebuild:
diff --git a/media-plugins/vdr-streamdev/vdr-streamdev-0.5.2.ebuild b/media-plugins/vdr-streamdev/vdr-streamdev-0.5.2.ebuild
new file mode 100644
index 000000000000..32089234cff1
--- /dev/null
+++ b/media-plugins/vdr-streamdev/vdr-streamdev-0.5.2.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2012 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.2.ebuild,v 1.1 2012/05/12 16:16:56 hd_brummy Exp $
+
+EAPI="4"
+
+inherit vdr-plugin-2
+
+VERSION="953" # every bump, new version !
+
+DESCRIPTION="VDR Plugin: Client/Server streaming plugin"
+HOMEPAGE="http://projects.vdr-developer.org/projects/plg-streamdev"
+SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="client +server"
+
+DEPEND=">=media-video/vdr-1.6"
+RDEPEND="${DEPEND}"
+
+REQUIRED_USE=" || ( client server ) "
+
+# vdr-plugin-2.eclass changes
+PO_SUBDIR="client server"
+
+src_prepare() {
+ vdr-plugin-2_src_prepare
+
+ # make subdir libdvbmpeg respect CXXFLAGS
+ sed -i Makefile \
+ -e '/CXXFLAGS.*+=/s:^:#:'
+
+ for flag in client server; do
+ if ! use ${flag}; then
+ sed -i Makefile \
+ -e '/^.PHONY:/s/'${flag}'//' \
+ -e '/^all:/s/'${flag}'//'
+ fi
+ done
+
+ sed -i server/Makefile \
+ -i client/Makefile \
+ -e "s:\$(CXXFLAGS) -shared:\$(CXXFLAGS) \$(LDFLAGS) -shared:"
+
+ fix_vdr_libsi_include server/livestreamer.c
+}
+
+src_install() {
+ vdr-plugin-2_src_install
+
+ cd "${S}"
+ if use server; then
+ insinto /etc/vdr/plugins/streamdev-server
+ newins streamdev-server/streamdevhosts.conf streamdevhosts.conf
+ chown vdr:vdr "${D}"/etc/vdr -R
+
+ insinto /usr/share/vdr/streamdev
+ doins streamdev-server/externremux.sh
+
+ insinto /usr/share/vdr/rcscript
+ newins "${FILESDIR}"/rc-addon-0.5.0.sh plugin-streamdev-server.sh
+
+ insinto /etc/conf.d
+ newins "${FILESDIR}"/confd-0.5.0 vdr.streamdev-server
+ fi
+}
+
+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
+}