commit fd1eba3b38a7475766e210539f83a5e2bea8ba36
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Tue Dec 5 15:12:10 2023 +0100
Disable libavcodec-freeworld for cuda
ffmpeg.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/ffmpeg.spec b/ffmpeg.spec
index 63c9fbc..d708240 100644
--- a/ffmpeg.spec
+++ b/ffmpeg.spec
@@ -5,7 +5,7 @@
#global commit 311ea9c529117fb8e38abd6ca7e81782b6b21257
#global rel %(c=%{commit}; echo ${c:0:7})
-%if 0%{?fedora} >= 37 || 0%{?rhel} >= 9
+%if (0%{?fedora} >= 37 || 0%{?rhel} >= 9) && 0%{!?_with_cuda:0}
%bcond_without libavcodec_freeworld
%else
%bcond_with libavcodec_freeworld