You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
812 B
37 lines
812 B
# Copyright 1999-2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
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"
|
|
|
|
SLOT="0"
|
|
LICENSE="GPL-2"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE=""
|
|
|
|
DEPEND="media-video/vdr"
|
|
|
|
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"
|
|
}
|
|
|
|
src_install() {
|
|
vdr-plugin-2_src_install
|
|
|
|
insopts -m0644 -ovdr -gvdr
|
|
insinto /usr/share/vdr/freecell
|
|
doins "${S}/${VDRPLUGIN}"/*
|
|
}
|