commit b541aeb92ca505731e18db823359feb4afaea9a4
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Sat Nov 10 14:31:06 2018 +0100
Rework build dependencies for cuda
ffmpeg.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/ffmpeg.spec b/ffmpeg.spec
index 10dd94b..2d87aed 100644
--- a/ffmpeg.spec
+++ b/ffmpeg.spec
@@ -99,8 +99,8 @@ Source0:
http://ffmpeg.org/releases/ffmpeg-%{version}.tar.xz
#
https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/b69ea742ab23ad74b2ae2...
Patch0: avcodec-libaomenc-remove-AVOption-related-to-frame-p.patch
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
-%{?_with_cuda:BuildRequires: cuda-driver-dev-%{_cuda_version_rpm}
cuda-misc-headers-%{_cuda_version_rpm} cuda-drivers-devel%{_isa}
cuda-compiler-%{_cuda_version_rpm} cuda-cudart-dev-%{_cuda_version_rpm}}
-%{?_with_libnpp:BuildRequires: cuda-npp-dev-%{_cuda_version_rpm}}
+%{?_with_cuda:BuildRequires: cuda-minimal-build-%{_cuda_version_rpm} cuda-drivers-devel}
+%{?_with_libnpp:BuildRequires: pkgconfig(nppc-%{_cuda_version})}
BuildRequires: alsa-lib-devel
BuildRequires: bzip2-devel
%{?_with_faac:BuildRequires: faac-devel}