void-packages/srcpkgs/tvheadend/template
2021-03-05 22:07:35 +01:00

25 lines
925 B
Bash

# Template file for 'tvheadend'
pkgname=tvheadend
version=4.2.8
revision=5
wrksrc=tvheadend-${version}
build_style=gnu-configure
configure_args="--enable-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="gettext pkg-config python git which"
makedepends="avahi-libs-devel openssl-devel zlib-devel libcurl-devel ffmpeg-devel"
short_desc="TV streaming server"
maintainer="lemmi <lemmi@nerd2nerd.org>"
license="GPL-3.0-only"
homepage="http://tvheadend.org"
distfiles="https://github.com/tvheadend/tvheadend/archive/v${version}.tar.gz"
checksum=1aef889373d5fad2a7bd2f139156d4d5e34a64b6d38b87b868a2df415f01f7ad
CFLAGS="-fcommon"
pre_build() {
sed -i '/^${PROG}:/s/check_config//' Makefile
sed -i 's/-Werror//' Makefile
}