1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
8 DESCRIPTION="VDR plugin: play 'Freecell' on the On Screen Display"
9 HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
10 SRC_URI="http://vdr.websitec.de/download/${PN}/${P}.tgz"
14 KEYWORDS="~amd64 ~x86"
17 DEPEND="media-video/vdr"
20 vdr-plugin-2_src_prepare
22 sed -e "s:RegisterI18n://RegisterI18n:" -i freecell.c || die
24 eapply -p2 "${FILESDIR}/gcc-3.4.patch"
25 eapply "${FILESDIR}/${P}-gentoo.diff"
26 eapply "${FILESDIR}/${P}_vdr-1.5.4-compile.diff"
27 eapply "${FILESDIR}/${P}_compilefix.patch"
31 vdr-plugin-2_src_install
33 insopts -m0644 -ovdr -gvdr
34 insinto /usr/share/vdr/freecell
35 doins "${S}/${VDRPLUGIN}"/*