Remove support for legacy nvidia-340xx drivers
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
pkgbase = ffmpeg-full
|
pkgbase = ffmpeg-full
|
||||||
pkgdesc = Complete solution to record, convert and stream audio and video (all possible features including libfdk-aac)
|
pkgdesc = Complete solution to record, convert and stream audio and video (all possible features including libfdk-aac)
|
||||||
pkgver = 4.3.1
|
pkgver = 4.3.1
|
||||||
pkgrel = 3
|
pkgrel = 4
|
||||||
url = https://www.ffmpeg.org/
|
url = https://www.ffmpeg.org/
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
license = custom: nonfree and unredistributable
|
license = custom: nonfree and unredistributable
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ _svt_vp9_ver='0.2.2'
|
|||||||
|
|
||||||
pkgname=ffmpeg-full
|
pkgname=ffmpeg-full
|
||||||
pkgver=4.3.1
|
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)'
|
pkgdesc='Complete solution to record, convert and stream audio and video (all possible features including libfdk-aac)'
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url='https://www.ffmpeg.org/'
|
url='https://www.ffmpeg.org/'
|
||||||
@@ -73,22 +73,12 @@ prepare() {
|
|||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "ffmpeg-${pkgver}"
|
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...'
|
printf '%s\n' ' -> Running ffmpeg configure script...'
|
||||||
|
|
||||||
./configure \
|
./configure \
|
||||||
--prefix='/usr' \
|
--prefix='/usr' \
|
||||||
--extra-cflags='-I/opt/cuda/include -I/usr/include/tensorflow' \
|
--extra-cflags='-I/opt/cuda/include -I/usr/include/tensorflow' \
|
||||||
--extra-ldflags="$_ldflags" \
|
--extra-ldflags='-L/opt/cuda/lib64' \
|
||||||
\
|
\
|
||||||
--disable-rpath \
|
--disable-rpath \
|
||||||
--enable-gpl \
|
--enable-gpl \
|
||||||
|
|||||||
Reference in New Issue
Block a user