# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-ffnetdev/vdr-ffnetdev-0.1.0.ebuild,v 1.13 2008/12/31 03:31:46 mr_bones_ Exp $ inherit vdr-plugin eutils DESCRIPTION="VDR Plugin: Output device which offers OSD via VNC and Video as raw mpeg over network" HOMEPAGE="http://ffnetdev.berlios.de" SRC_URI="mirror://berlios/${PN#vdr-}/${P}.tar.bz2" SLOT="0" LICENSE="GPL-2" KEYWORDS="~x86 ~amd64" IUSE="" S=${WORKDIR}/${P} DEPEND=">=media-video/vdr-1.3.7" src_unpack() { vdr-plugin_src_unpack unpack epatch "${FILESDIR}/${P}-uint64.diff" epatch "${FILESDIR}/${P}-gcc4.3.patch" if grep -q "virtual cString Active" /usr/include/vdr/plugin.h; then epatch "${FILESDIR}/${P}-bigpatch-headers.diff" fi if has_version ">=media-video/vdr-1.6.0"; then epatch "${FILESDIR}/${P}-vdr-1.6.0.diff" fi vdr-plugin_src_unpack all_but_unpack }