# Template file for 'tvheadend'
pkgname=tvheadend
version=4.2.3
revision=1
wrksrc=tvheadend-${version}
build_style=gnu-configure
configure_args="--disable-dvbscan --disable-ffmpeg_static --disable-hdhomerun_static --disable-bintray_cache"
hostmakedepends="pkg-config python"
makedepends="avahi-libs-devel libressl-devel zlib-devel libcurl-devel"
short_desc="TV streaming server"
maintainer="lemmi <lemmi@nerd2nerd.org>"
license="GPL-3"
homepage="http://tvheadend.org"
distfiles="https://github.com/tvheadend/tvheadend/archive/v${version}.tar.gz"
checksum=2d289a1a8a0a960feba1da2da97c977a2b714d87adfdfaf00a53142e39d808e6

pre_build() {
	sed -i '/^${PROG}:/s/check_config//' Makefile
	sed -i 's/-Werror//' Makefile
}
