# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: Exp $ EAPI=2 inherit vdr-plugin DESCRIPTION="Video Disk Recorder ${VDRPLUGIN} Plugin (for non-FF card output devices like eHD or software decoders)" HOMEPAGE="http://www.hoochvdr.info/" SRC_URI="mirror://gentoo/${P}.tgz http://www.muresan.de/vdr/${P}.tgz" SLOT="0" LICENSE="GPL-2" KEYWORDS="~amd64 ~x86" IUSE="reel-ehd" DEPEND=">=media-video/vdr-1.2.6[yaepg] reel-ehd? ( net-misc/curl ) media-gfx/imagemagick" src_prepare() { vdr-plugin_src_prepare if use reel-ehd; then sed -i Makefile -e 's:#YAEPGHD_REEL_EHD:YAEPGHD_REEL_EHD:' fi } src_install() { vdr-plugin_src_install insinto /etc/vdr/plugins doins -r ./"${VDRPLUGIN}" || die "" }