diff --git a/.SRCINFO b/.SRCINFO index ee4099a..5a3c7c3 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Thu Nov 9 17:58:29 UTC 2017 +# Thu Nov 9 17:59:50 UTC 2017 pkgbase = ffmpeg-full pkgdesc = Record, convert and stream audio and video (all possible features including nvenc, qsv and libfdk-aac) pkgver = 3.4 - pkgrel = 3 + pkgrel = 4 url = http://www.ffmpeg.org/ arch = i686 arch = x86_64 diff --git a/PKGBUILD b/PKGBUILD index d94fc41..f70a934 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -8,7 +8,7 @@ pkgname=ffmpeg-full _srcname=ffmpeg pkgver=3.4 -pkgrel=3 +pkgrel=4 pkgdesc='Record, convert and stream audio and video (all possible features including nvenc, qsv and libfdk-aac)' arch=('i686' 'x86_64') url='http://www.ffmpeg.org/' @@ -65,7 +65,7 @@ build() { local _cudasdk='--enable-cuda-sdk' local _cuvid='--enable-cuvid' local _libnpp='--enable-libnpp' - local _cflags='--extra-cflags=-I/opt/cuda/include' + local _cflags='-I/opt/cuda/include' # '-L/usr/lib/nvidia' (for cuda_sdk) needs to be enabled only on # systems with nvidia-340xx-utils or nvidia-304xx-utils @@ -74,7 +74,8 @@ build() { then local _nvidia_340xx_ldflags='-L/usr/lib/nvidia' fi - local _ldflags="--extra-ldflags=-L/opt/cuda/lib64 ${_nvidia_340xx_ldflags}" + + local _ldflags="-L/opt/cuda/lib64 ${_nvidia_340xx_ldflags}" local _ldflags="${_ldflags} -Wl,-rpath -Wl,/opt/intel/mediasdk/lib64:/opt/intel/mediasdk/plugins" # strictly specifying nvcc path is needed if package is installing @@ -86,8 +87,8 @@ build() { ./configure \ --prefix='/usr' \ - $_cflags \ - "$_ldflags" \ + --extra-cflags="${_cflags}" \ + --extra-ldflags="${_ldflags}" \ \ --disable-rpath \ --enable-gpl \