commit 7d10e2bcbc975d356c4d2003cb50ff212463943d
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 b507808..15ba647 100644
--- a/ffmpeg.spec
+++ b/ffmpeg.spec
@@ -96,8 +96,8 @@ Source0: ffmpeg-%{?branch}%{date}.tar.bz2
Source0:
http://ffmpeg.org/releases/ffmpeg-%{version}.tar.xz
%endif
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}