diff options
author | Daniel Bermond | 2020-07-26 15:53:33 +0000 |
---|---|---|
committer | Daniel Bermond | 2020-07-26 15:53:33 +0000 |
commit | 11ac72afb8b058c350e264da09975780211c4550 (patch) | |
tree | f15c9027ba388885a39656509f6aab294de1fde2 | |
parent | 3616570eef201fba397ad8ae99249d42c29e139f (diff) | |
download | aur-11ac72afb8b058c350e264da09975780211c4550.tar.gz |
Remove support for legacy nvidia-340xx drivers
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 14 |
2 files changed, 3 insertions, 13 deletions
@@ -1,7 +1,7 @@ pkgbase = ffmpeg-full pkgdesc = Complete solution to record, convert and stream audio and video (all possible features including libfdk-aac) pkgver = 4.3.1 - pkgrel = 3 + pkgrel = 4 url = https://www.ffmpeg.org/ arch = x86_64 license = custom: nonfree and unredistributable @@ -7,7 +7,7 @@ _svt_vp9_ver='0.2.2' pkgname=ffmpeg-full pkgver=4.3.1 -pkgrel=3 +pkgrel=4 pkgdesc='Complete solution to record, convert and stream audio and video (all possible features including libfdk-aac)' arch=('x86_64') url='https://www.ffmpeg.org/' @@ -73,22 +73,12 @@ prepare() { build() { cd "ffmpeg-${pkgver}" - - local _ldflags='-L/opt/cuda/lib64' - - # set path of -lcuda on systems with legacy nvidia-340xx drivers - # (libcuda.so.x, required by --enable-cuda-sdk) - if pacman -Qs '^nvidia-340xx-utils' >/dev/null 2>&1 - then - _ldflags+=' -L/usr/lib/nvidia' - fi - printf '%s\n' ' -> Running ffmpeg configure script...' ./configure \ --prefix='/usr' \ --extra-cflags='-I/opt/cuda/include -I/usr/include/tensorflow' \ - --extra-ldflags="$_ldflags" \ + --extra-ldflags='-L/opt/cuda/lib64' \ \ --disable-rpath \ --enable-gpl \ |