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.
gentoo-overlay/media-plugins/vdr-atscepg/vdr-atscepg-0.3.0-r1.ebuild

38 lines
882 B

# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit vdr-plugin-2
DESCRIPTION="VDR plugin: receive schedule and event information from ATSC broadcasts"
HOMEPAGE="http://www.fepg.org/atscepg.html"
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
epatch "${WORKDIR}/atscepg-${PV}_vdr-1.7.13.diff"
epatch "${FILESDIR}/${P}_gcc6.patch"
fix_vdr_libsi_include tables.cpp filter.cpp scanner.cpp
}