void-packages/srcpkgs/tvheadend/template

24 lines
883 B
Bash

# Template file for 'tvheadend'
pkgname=tvheadend
version=4.2.7
revision=2
wrksrc=tvheadend-${version}
build_style=gnu-configure
configure_args="--disable-dvbscan --disable-ffmpeg_static
--disable-hdhomerun_static --disable-bintray_cache --disable-libx264_static
--disable-libx265_static --disable-libvpx_static --disable-libtheora_static
--disable-libvorbis_static --disable-libfdkaac_static"
hostmakedepends="pkg-config python"
makedepends="avahi-libs-devel libressl-devel zlib-devel libcurl-devel ffmpeg-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=8383990895be767a1b8f6d3a9356c2d5b2ea5d686d2293fbdb1552ffc6ea0640
pre_build() {
sed -i '/^${PROG}:/s/check_config//' Makefile
sed -i 's/-Werror//' Makefile
}