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 | |
parent | 741245e2d76269a054fa3c03c14d01dfcd1e27b7 (diff) | |
download | aur-e3ef209b82919197dab8d9d3d2522e092d2a28e0.tar.gz |
Updated build for new config options
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 24 insertions, 12 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Mon Mar 14 10:31:43 UTC 2016 +# Wed Apr 6 02:22:01 UTC 2016 pkgbase = tvheadend-git pkgdesc = TV streaming server for Linux - pkgver = 4.1.r1672.g3927788 - pkgrel = 4 + pkgver = 4.1.r1817.gfc6b8ce + pkgrel = 1 url = https://tvheadend.org/ install = tvheadend.install arch = i686 @@ -13,9 +13,9 @@ pkgbase = tvheadend-git arch = armv7h license = GPL3 makedepends = git + makedepends = python2 depends = avahi depends = openssl - depends = python2 depends = uriparser depends = ffmpeg depends = linuxtv-dvb-apps @@ -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" } |