# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-tvguide/vdr-tvguide-1.2.1.ebuild,v 1.1 2014/02/09 21:47:33 idl0r Exp $ EAPI=5 MY_P="${P/vdr-}" VERSION="1627" inherit vdr-plugin-2 DESCRIPTION="highly customizable 2D EPG viewer plugin for the Video Disc Recorder" HOMEPAGE="http://projects.vdr-developer.org/projects/plg-tvguide" SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" RDEPEND="|| ( media-gfx/imagemagick media-gfx/graphicsmagick ) media-plugins/vdr-epgsearch" DEPEND="${RDEPEND} virtual/pkgconfig" S="${WORKDIR}/${MY_P}" src_prepare() { vdr-plugin-2_src_prepare if has_version media-gfx/graphicsmagick; then sed -i -e 's:^IMAGELIB =.*:IMAGELIB = graphicsmagick:' Makefile fi } pkg_postinst() { vdr-plugin-2_pkg_postinst einfo "See http://projects.vdr-developer.org/projects/skin-nopacity/wiki" einfo "for more information about how to use channel logos" }