# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-dvbhddevice/vdr-dvbhddevice-2.1.3_p20140115-r1.ebuild,v 1.1 2015/02/11 15:43:26 hd_brummy Exp $ EAPI=5 inherit vdr-plugin-2 HG_REVISION="60c58ae453d0" HG_REVISION_DATE="20140115" DESCRIPTION="VDR Plugin: output device for the 'Full Featured' TechnoTrend S2-6400 DVB Card" HOMEPAGE="http://powarman.dyndns.org/hg/dvbhddevice" SRC_URI="http://powarman.dyndns.org/hgwebdir.cgi/dvbhddevice/archive/${HG_REVISION}.tar.gz -> dvbhddevice-2.1.3_p${HG_REVISION_DATE}.tar.gz" KEYWORDS="~amd64 ~x86" SLOT="0" LICENSE="GPL-2" IUSE="" DEPEND=">=media-video/vdr-1.7.39" RDEPEND="${DEPEND}" S="${WORKDIR}/dvbhddevice-${HG_REVISION}" src_prepare() { vdr-plugin-2_src_prepare fix_vdr_libsi_include dvbhdffdevice.c if has_version ">=media-video/vdr-2.1.10"; then sed -e "s:pm = RenderPixmaps():pm = dynamic_cast(RenderPixmaps()):"\ -e "s:delete pm;:DestroyPixmap(pm);:"\ -i hdffosd.c fi } src_install() { vdr-plugin-2_src_install doheader dvbhdffdevice.h hdffcmd.h insinto /usr/include/libhdffcmd doins libhdffcmd/*.h }