diff options
author | Dan Ziemba | 2016-04-05 22:22:55 -0400 |
---|---|---|
committer | Dan Ziemba | 2016-04-05 22:22:55 -0400 |
commit | e3ef209b82919197dab8d9d3d2522e092d2a28e0 (patch) | |
tree | 867c279eb307d12977eb0bbb68e06ef2542411d0 /PKGBUILD | |
parent | 741245e2d76269a054fa3c03c14d01dfcd1e27b7 (diff) | |
download | aur-e3ef209b82919197dab8d9d3d2522e092d2a28e0.tar.gz |
Updated build for new config options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 28 |
1 files changed, 20 insertions, 8 deletions
@@ -6,14 +6,14 @@ pkgname=tvheadend-git _gitname='tvheadend-git' -pkgver=4.1.r1672.g3927788 -pkgrel=4 +pkgver=4.1.r1817.gfc6b8ce +pkgrel=1 pkgdesc="TV streaming server for Linux" arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h') url="https://tvheadend.org/" license=('GPL3') -depends=('avahi' 'openssl' 'python2' 'uriparser' 'ffmpeg' 'linuxtv-dvb-apps') -makedepends=('git') +depends=('avahi' 'openssl' 'uriparser' 'ffmpeg' 'linuxtv-dvb-apps') +makedepends=('git' 'python2') optdepends=('xmltv: For an alternative source of programme listings') provides=('tvheadend') conflicts=('tvheadend' 'hts-tvheadend' 'hts-tvheadend-svn' 'tvheadend-git') @@ -38,14 +38,25 @@ prepare() { cp -a "dvb-scan-tables" "${_dvbscan}" rm -rf "${_dvbscan}/.git" touch "${_dvbscan}/.stamp" + + # See: https://tvheadend.org/issues/3696 + sed -i 's|/usr/bin/env python|/usr/bin/env python2|g' \ + "${_gitname}/support/doc/md_to_c.py" } build() { cd "${srcdir}/${_gitname}" - ./configure --prefix=/usr --mandir=/usr/share/man/man1 --python=python2 --release \ - --disable-libffmpeg_static --disable-libx264_static \ + ./configure --prefix=/usr --mandir=/usr/share/man/man1 --release \ + --python=python2 \ + --disable-ffmpeg_static --enable-libav \ + --disable-libx264_static --enable-libx264 \ --disable-libx265_static --enable-libx265 \ - --disable-libmfx_static \ + --disable-libvpx_static \ + --disable-libtheora_static \ + --disable-libvorbis_static \ + --disable-libfdkaac_static \ + --disable-libmfx_static --disable-qsv \ + --disable-nvenc \ --disable-hdhomerun_static make } @@ -53,6 +64,7 @@ build() { package() { cd "${srcdir}/${_gitname}" make DESTDIR="$pkgdir/" install - install -D -m 644 "$srcdir/tvheadend.service" "$pkgdir/usr/lib/systemd/system/tvheadend.service" + install -D -m 644 "$srcdir/tvheadend.service" \ + "$pkgdir/usr/lib/systemd/system/tvheadend.service" } |