diff --git a/.SRCINFO b/.SRCINFO index 4bf1096..578a825 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = ffmpeg-full pkgdesc = Complete solution to record, convert and stream audio and video (all possible features including nvenc, qsv and libfdk-aac) pkgver = 4.1.3 - pkgrel = 1 + pkgrel = 2 url = https://www.ffmpeg.org/ arch = i686 arch = x86_64 diff --git a/PKGBUILD b/PKGBUILD index 79cad9d..6253f7a 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -4,7 +4,7 @@ pkgname=ffmpeg-full _srcname=ffmpeg pkgver=4.1.3 -pkgrel=1 +pkgrel=2 pkgdesc='Complete solution to record, convert and stream audio and video (all possible features including nvenc, qsv and libfdk-aac)' arch=('i686' 'x86_64') url='https://www.ffmpeg.org/' @@ -74,10 +74,15 @@ build() { # on systems with legacy nvidia drivers if pacman -Qs '^nvidia-340xx-utils' >/dev/null 2>&1 then - _ldflags="${_ldflags} -L/usr/lib/nvidia" + _ldflags+=' -L/usr/lib/nvidia' fi fi + # fix tensorflow include dir + ## upstream ffmpeg excects : /usr/include/tensorflow/ + ## tensorflow package ships: /usr/include/tensorflow/tensorflow/ + _cflags+=' -I/usr/include/tensorflow' + printf '%s\n' ' -> Running ffmpeg configure script...' ./configure \