diff options
author | Joerg Bornkessel <hd_brummy@gentoo.org> | 2009-06-21 15:45:04 +0000 |
---|---|---|
committer | Joerg Bornkessel <hd_brummy@gentoo.org> | 2009-06-21 15:45:04 +0000 |
commit | 38da2c85c61484d6403db55a413b5b395959ba4f (patch) | |
tree | f19526cfbe678869ae53333093372e14dbf1518c | |
parent | media-video/reelbox-ehd-driver: removed EHD_FRAMEBUFFER parameter, use from n... (diff) | |
download | testing-38da2c85c61484d6403db55a413b5b395959ba4f.tar.gz testing-38da2c85c61484d6403db55a413b5b395959ba4f.tar.bz2 testing-38da2c85c61484d6403db55a413b5b395959ba4f.zip |
media-video/reelbox-ehd-xine: removed EHD_FRAMEBUFFER parameter, use from now /dev/fb_reel; xplayer
svn path=/testing/; revision=601
-rw-r--r-- | media-video/reelbox-ehd-xine/ChangeLog | 4 | ||||
-rw-r--r-- | media-video/reelbox-ehd-xine/Manifest | 3 | ||||
-rw-r--r-- | media-video/reelbox-ehd-xine/reelbox-ehd-xine-12384-r1.ebuild | 58 |
3 files changed, 64 insertions, 1 deletions
diff --git a/media-video/reelbox-ehd-xine/ChangeLog b/media-video/reelbox-ehd-xine/ChangeLog index 1f50be9..7ad6d86 100644 --- a/media-video/reelbox-ehd-xine/ChangeLog +++ b/media-video/reelbox-ehd-xine/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 21 Jun 2009; Joerg Bornkessel <hd_brummy@gentoo.org> + +reelbox-ehd-xine-12384-r1.ebuild: + removed EHD_FRAMEBUFFER parameter, use from now /dev/fb_reel; xplayer + 05 Jun 2009; Joerg Krause <joerg_pb@gmx.net> +reelbox-ehd-xine-12384.ebuild, +metadata.xml: Initial ebuild svn 12384 added diff --git a/media-video/reelbox-ehd-xine/Manifest b/media-video/reelbox-ehd-xine/Manifest index c7a1725..34d47c6 100644 --- a/media-video/reelbox-ehd-xine/Manifest +++ b/media-video/reelbox-ehd-xine/Manifest @@ -1,4 +1,5 @@ DIST reelbox-ehd-xine-12384.tgz 80285 RMD160 9d5a71ec54d36f5a19ddb1328e161ec5593d42c9 SHA1 56e79ccce61abfcd52fc6144440747371fed06bf SHA256 4845c041b2990b4b16328bffcb9ea44bad4ff452edd092a183bed138bede631e +EBUILD reelbox-ehd-xine-12384-r1.ebuild 1337 RMD160 c74a1cc9fce8979d8d20b47731c939cdd36a9d2e SHA1 1d2a2884d9e8942b86210f74dde486c2142705b4 SHA256 8cde669ccf3db02bdc19cf1c7630bdb8c273ce7662a4d7026c04fd07221931a2 EBUILD reelbox-ehd-xine-12384.ebuild 1249 RMD160 4d2ba00a9a28a2d89fdc7f24b2d6e9065e49c34c SHA1 63df9c7fc3e4f9bcf40da860d7d2df7b2f13d0b9 SHA256 e6472ec1dbb8b8e6eb66996251a6602086ed8d593ef8379c55b33a5496a9b5bb -MISC ChangeLog 259 RMD160 e7181d00c0309241ff4ce4ca8fffdaf0ba50b7c1 SHA1 c5d7145c2cf58bc149444ab55d2603b7b242e7e1 SHA256 ae8d4ccda3229b0181cf59df09740b67c077d4d19576de205f196b101bc02406 +MISC ChangeLog 424 RMD160 db01664c0d09abc4a721bfa1bbfb201a6c13e8e1 SHA1 099af18148fab6ae023804bc8469940268b96fa6 SHA256 572ffc78e668525ff57c0677d71e3700c51d5026aa70a18bc24690a76d5f2fde MISC metadata.xml 355 RMD160 148e7ab3a734a3b5a3e3b4323f1ceb96a996d518 SHA1 2112e9fe75e0310866e57277a3d7f052dff602a3 SHA256 701c854fb523fda35927005a895105f8c324ccedf4d644a8598b07b133db62bf diff --git a/media-video/reelbox-ehd-xine/reelbox-ehd-xine-12384-r1.ebuild b/media-video/reelbox-ehd-xine/reelbox-ehd-xine-12384-r1.ebuild new file mode 100644 index 0000000..9698199 --- /dev/null +++ b/media-video/reelbox-ehd-xine/reelbox-ehd-xine-12384-r1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" + +RESTRICT="mirror" + +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!" + + sed -e "s:/dev/fb0:/dev/fb_reel:" -i hde_base.h + + if has_version ">=media-libs/xine-lib-1.2" ; then + sed -i * -e "s:get_description:description:g" + sed -i * -e "s:get_identifier:identifier:g" + fi + + sed -i xplayer.c -e "s:hde-video:hde-video-aa:g" + +} + +src_compile() { + make -f Makefile || die "make failed!" + make -f Makefile xplayer || die "make xplayer failed!" +} + +src_install() { + dobin xplayer + + 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 +} |