# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-skinnopacity/vdr-skinnopacity-1.1.3.ebuild,v 1.1 2014/05/27 17:42:13 idl0r Exp $ EAPI=5 MY_P="${P/vdr-}" VERSION="1743" inherit vdr-plugin-2 DESCRIPTION="highly customizable native true color skin for the Video Disc Recorder" HOMEPAGE="http://projects.vdr-developer.org/projects/skin-nopacity/" SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" RDEPEND="net-misc/curl dev-libs/libxml2 || ( 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" }