# Copyright 1999-2015 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.2.ebuild,v 1.2 2015/02/20 13:50:17 hd_brummy Exp $ EAPI=5 MY_P="${P/vdr-}" VERSION="1701" inherit vdr-plugin-2 DESCRIPTION="VDR Plugin: highly customizable 2D EPG viewer" 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" }