diff options
author | Jörg Bornkessel <hd_brummy@gentoo.org> | 2011-02-11 14:00:26 +0000 |
---|---|---|
committer | Jörg Bornkessel <hd_brummy@gentoo.org> | 2011-02-11 14:00:26 +0000 |
commit | 747ea1a461d5aeebb135696c0c8044d87dd5faed (patch) | |
tree | 852b917d9572050622af7f66f102a8a79e94e693 /media-plugins/vdr-streamdev | |
parent | Revbump for last fix to ensure it gets out there quickly and fixes potentiall... (diff) | |
download | gentoo-2-747ea1a461d5aeebb135696c0c8044d87dd5faed.tar.gz gentoo-2-747ea1a461d5aeebb135696c0c8044d87dd5faed.tar.bz2 gentoo-2-747ea1a461d5aeebb135696c0c8044d87dd5faed.zip |
version bump
(Portage version: 2.1.9.25/cvs/Linux i686)
Diffstat (limited to 'media-plugins/vdr-streamdev')
-rw-r--r-- | media-plugins/vdr-streamdev/ChangeLog | 8 | ||||
-rw-r--r-- | media-plugins/vdr-streamdev/vdr-streamdev-0.5.1.ebuild | 81 |
2 files changed, 88 insertions, 1 deletions
diff --git a/media-plugins/vdr-streamdev/ChangeLog b/media-plugins/vdr-streamdev/ChangeLog index f4d28898504a..51e8a7f4f876 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-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-streamdev/ChangeLog,v 1.12 2011/01/27 20:43:39 hd_brummy Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-streamdev/ChangeLog,v 1.13 2011/02/11 14:00:26 hd_brummy Exp $ + +*vdr-streamdev-0.5.1 (11 Feb 2011) + + 11 Feb 2011; Joerg Bornkessel <hd_brummy@gentoo.org> + +vdr-streamdev-0.5.1.ebuild: + version bump 27 Jan 2011; Joerg Bornkessel <hd_brummy@gentoo.org> vdr-streamdev-0.5.0.ebuild: diff --git a/media-plugins/vdr-streamdev/vdr-streamdev-0.5.1.ebuild b/media-plugins/vdr-streamdev/vdr-streamdev-0.5.1.ebuild new file mode 100644 index 000000000000..264b04c2c67e --- /dev/null +++ b/media-plugins/vdr-streamdev/vdr-streamdev-0.5.1.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2011 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.1.ebuild,v 1.1 2011/02/11 14:00:26 hd_brummy Exp $ + +EAPI="3" + +inherit vdr-plugin + +VERSION="497" # every bump, new version ! + +DESCRIPTION="VDR Plugin: Client/Server streaming plugin" +HOMEPAGE="http://projects.vdr-developer.org/projects/plg-streamdev" +SRC_URI="http://projects.vdr-developer.org/attachments/download/${VERSION}/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="client +server" + +DEPEND=">=media-video/vdr-1.5.9" +RDEPEND="${DEPEND}" + +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}" + + # 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_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_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 +} |