summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Bermond2020-07-26 15:53:33 +0000
committerDaniel Bermond2020-07-26 15:53:33 +0000
commit11ac72afb8b058c350e264da09975780211c4550 (patch)
treef15c9027ba388885a39656509f6aab294de1fde2
parent3616570eef201fba397ad8ae99249d42c29e139f (diff)
downloadaur-11ac72afb8b058c350e264da09975780211c4550.tar.gz
Remove support for legacy nvidia-340xx drivers
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD14
2 files changed, 3 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index af206344a9b..5ba728cbad7 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 libfdk-aac)
pkgver = 4.3.1
- pkgrel = 3
+ pkgrel = 4
url = https://www.ffmpeg.org/
arch = x86_64
license = custom: nonfree and unredistributable
diff --git a/PKGBUILD b/PKGBUILD
index 4db214e0cb7..c850a837558 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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 \