| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 0.0.4-r1 | 8 | amd64 x86 | 0 |
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit user-info vdr-plugin-2
DESCRIPTION="VDR plugin: Show rdf Newsticker on TV"
HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
SRC_URI="http://vdr.websitec.de/download/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
BDEPEND="acct-user/vdr"
DEPEND="media-video/vdr"
RDEPEND="${DEPEND}
net-misc/wget"
PATCHES=( "${FILESDIR}/${P}-gcc4.diff" )
QA_FLAGS_IGNORED="
usr/lib/vdr/plugins/libvdr-.*
usr/lib64/vdr/plugins/libvdr-.*"
src_prepare() {
# do not call g++ directly
sed -e 's|= g++|= $(CXX)|' -i Makefile || die
vdr-plugin-2_src_prepare
}
src_install() {
vdr-plugin-2_src_install
local vdr_user_home=$(egethome vdr)
keepdir "${vdr_user_home}/newsticker/"
fowners -R vdr:vdr "${vdr_user_home}//newsticker/"
}
media-video/vdr
media-video/vdr net-misc/wget
acct-user/vdr