summaryrefslogtreecommitdiff
blob: e7a5fa74fdfce8cae0e99fd00bbd4a555cc7769b (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
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit flag-o-matic vdr-plugin-2

DESCRIPTION="VDR plugin: receive schedule and event information from ATSC broadcasts"
HOMEPAGE="http://fepg.org/atscepg/"
SRC_URI="http://www.fepg.org/files/${P}.tgz
		mirror://gentoo/atscepg-${PV}_vdr-1.7.13.tbz
		https://dev.gentoo.org/~hd_brummy/distfiles/atscepg-${PV}_vdr-1.7.13.tbz"

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

DEPEND=">=media-video/vdr-2"

RDEPEND="${DEPEND}"

src_configure() {
	# disabled gcc -std=c++11,
	# plugin is dead on upstream since 2010, there is no fixing available
	filter-flags -std=c++11
}

src_prepare() {
	vdr-plugin-2_src_prepare

	eapply "${WORKDIR}/atscepg-${PV}_vdr-1.7.13.diff"

	eapply "${FILESDIR}/${P}_gcc6.patch"

	fix_vdr_libsi_include tables.cpp filter.cpp scanner.cpp
}