diff options
author | Inochi Amaoto | 2023-11-06 09:43:46 +0800 |
---|---|---|
committer | Inochi Amaoto | 2023-11-06 09:43:46 +0800 |
commit | 2b345750e7822eacce099ab55b089a67d5c41d03 (patch) | |
tree | 36aa22c4ba12ca1214906801845ba8996ffb19f7 | |
parent | 0c7403c13363d674a0aeccfb8efb35cdd4b5b169 (diff) | |
download | aur-2b345750e7822eacce099ab55b089a67d5c41d03.tar.gz |
Fix: set nvcc g++ to fix ffmpeg cuda detection
Signed-off-by: Inochi Amaoto <libraryindexsky@gmail.com>
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 3 |
2 files changed, 3 insertions, 2 deletions
@@ -1,6 +1,6 @@ pkgbase = mpv-full-build-git pkgdesc = Video player based on MPlayer/mplayer2 with all possible libs (uses statically linked ffmpeg with all possible libs). (GIT version ) - pkgver = 0.36.0.r690.g891efca9d7 + pkgver = 0.36.0.r725.g6f8d98f812 pkgrel = 1 url = http://mpv.io arch = x86_64 @@ -1,7 +1,7 @@ # Maintainer: Inochi Amaoto <libraryindexsky@gmail.com> pkgname=mpv-full-build-git -pkgver=0.36.0.r690.g891efca9d7 +pkgver=0.36.0.r725.g6f8d98f812 pkgrel=1 pkgdesc="Video player based on MPlayer/mplayer2 with all possible libs (uses statically linked ffmpeg with all possible libs). (GIT version )" arch=('x86_64') @@ -526,6 +526,7 @@ prepare() { fi if [ -d /opt/cuda ]; then + export NVCC_PREPEND_FLAGS='-ccbin /opt/cuda/bin/g++' _ffmpeg_options+=('--enable-cuda-nvcc') _ffmpeg_options+=('--enable-cuda-llvm') _ffmpeg_options+=('--enable-libnpp') |