diff options
author | Joerg Bornkessel <hd_brummy@gentoo.org> | 2010-01-10 00:10:59 +0000 |
---|---|---|
committer | Joerg Bornkessel <hd_brummy@gentoo.org> | 2010-01-10 00:10:59 +0000 |
commit | dbdb8f1dead6cdb8b30ffee0b00f72e17e64f15b (patch) | |
tree | 2047b358fa3a49b00dbef7866394acd89cec94a7 /media-video/reelbox-ehd-xine/reelbox-ehd-xine-13986.ebuild | |
parent | media-video/reelbox-ehd-tools: version bump (diff) | |
download | testing-dbdb8f1dead6cdb8b30ffee0b00f72e17e64f15b.tar.gz testing-dbdb8f1dead6cdb8b30ffee0b00f72e17e64f15b.tar.bz2 testing-dbdb8f1dead6cdb8b30ffee0b00f72e17e64f15b.zip |
media-video/reelbox-ehd-xine: version bump
svn path=/testing/; revision=636
Diffstat (limited to 'media-video/reelbox-ehd-xine/reelbox-ehd-xine-13986.ebuild')
-rw-r--r-- | media-video/reelbox-ehd-xine/reelbox-ehd-xine-13986.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/media-video/reelbox-ehd-xine/reelbox-ehd-xine-13986.ebuild b/media-video/reelbox-ehd-xine/reelbox-ehd-xine-13986.ebuild new file mode 100644 index 0000000..9acaa39 --- /dev/null +++ b/media-video/reelbox-ehd-xine/reelbox-ehd-xine-13986.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" + +inherit eutils + +DESCRIPTION="Xine Plugin: for the Reel eHD PCI card" +HOMEPAGE="http://www.reel-multimedia.com" +SRC_URI="http://vdr.websitec.de/download/${PN}/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND="media-libs/xine-lib" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${PN/reelbox-}" + +src_prepare() { + + sed -i -e "s:^LINUX_DIR.*:LINUX_DIR = /usr/src/linux/include:g" Makefile || die "sed Makefile failed!" + sed -i -e "s:../driver/hdshm.h:hdshm.h:g" ../hdshm3/src/hostlib/hdshmlib.c || die "sed Makefile failed!" + + einfo "Changing framebuffer device to /dev/fb_reel" + find . -type f -exec sed -i "s:/dev/fb0:/dev/fb_reel:g" {} \; +} + +src_compile() { + make -f Makefile || die "make failed!" +} + +src_install() { + XINE_PLUGIN_DIR=$(xine-config --plugindir) + if [[ ${XINE_PLUGIN_DIR} = "" ]]; then + eerror "Could not find xine plugin dir" + die "Could not find xine plugin dir" + fi + cd "${S}" + insopts -m0755 + insinto "${XINE_PLUGIN_DIR}" + doins xineplug_hde.so +} |