summaryrefslogtreecommitdiff
blob: b8fe6681e29aa632f5c0de4c9e94084d221d0157 (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
# 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"

KEYWORDS="~amd64 ~x86"
SLOT="0"
LICENSE="GPL-2"

BDEPEND="acct-user/vdr
	media-video/vdr"
DEPEND="${BDEPEND}"
RDEPEND="${DEPEND}
	net-misc/wget"

PATCHES=( "${FILESDIR}/${P}-gcc4.diff" )
QA_FLAGS_IGNORED="
	usr/lib/vdr/plugins/libvdr-.*
	usr/lib64/vdr/plugins/libvdr-.*"

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/"
}