# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit vdr-plugin DESCRIPTION="VDR Plugin: for the Reel true color osd" 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="" S="${WORKDIR}/${PN}" DEPEND=">=media-video/vdr-1.6.0 >=media-video/reelbox-ehd-headers-12384 media-libs/libpng" RDEPEND="${DEPEND}" src_unpack() { vdr-plugin_src_unpack epatch "${FILESDIR}/vdr-skinreel-12384.diff" if has_version "media-plugins/vdr-epgsearch" then einfo "Enabling epgsearch in the Makefile" sed -i "${S}/Makefile" -e "s:#SKINREEL_USE_PLUGIN_EPGSEARCH = 0:SKINREEL_USE_PLUGIN_EPGSEARCH = 1:g" fi } src_install() { vdr-plugin_src_install cd "${S}" insinto /usr/share/vdr/skinreel3 doins -r ../pictures/* }