1 # Copyright 1999-2018 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
8 HG_REVISION="60c58ae453d0"
9 HG_REVISION_DATE="20140115"
11 DESCRIPTION="VDR Plugin: output device for the 'Full Featured' TechnoTrend
13 HOMEPAGE="https://bitbucket.org/powARman/dvbhddevice"
14 SRC_URI="https://bitbucket.org/powARman/dvbhddevice/get/${HG_REVISION}.tar.gz
15 -> dvbhddevice-2.1.3_p${HG_REVISION_DATE}.tar.gz"
17 KEYWORDS="~amd64 ~x86"
22 DEPEND=">=media-video/vdr-1.7.39"
25 S="${WORKDIR}/dvbhddevice-${HG_REVISION}"
28 vdr-plugin-2_src_prepare
30 fix_vdr_libsi_include dvbhdffdevice.c
32 if has_version ">=media-video/vdr-2.1.10"; then
33 sed -e "s:pm = RenderPixmaps():pm = dynamic_cast<cPixmapMemory *>(RenderPixmaps()):"\
34 -e "s:delete pm;:DestroyPixmap(pm);:"\
40 vdr-plugin-2_src_install
42 doheader dvbhdffdevice.h hdffcmd.h
44 insinto /usr/include/libhdffcmd