blob: e8fe1bd5d67b923c4fae8cea950598bee5553944 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit vdr-plugin-2
DESCRIPTION="VDR plugin: play 'Freecell' on the On Screen Display"
HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
SRC_URI="http://vdr.websitec.de/download/${PN}/${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
DEPEND="media-video/vdr"
RDEPEND="${DEPEND}"
src_prepare() {
vdr-plugin-2_src_prepare
sed -e "s:RegisterI18n://RegisterI18n:" -i freecell.c || die
eapply -p2 "${FILESDIR}/gcc-3.4.patch"
eapply "${FILESDIR}/${P}-gentoo.diff"
eapply "${FILESDIR}/${P}_vdr-1.5.4-compile.diff"
eapply "${FILESDIR}/${P}_compilefix.patch"
# do not call g++ directly, Bug #934766
sed -e 's|MAKEDEP = g++ -MM -MG|MAKEDEP = $(CXX) -MM -MG|' -i Makefile || die
}
src_install() {
vdr-plugin-2_src_install
insopts -m0644 -ovdr -gvdr
insinto /usr/share/vdr/freecell
doins "${S}/${VDRPLUGIN}"/*
}
|