commit 4a0d2544bc3b3d66e4ad1c0280b2fc8a9e8106b7
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 1c49786..21b825a 100644
--- a/ffmpeg.spec
+++ b/ffmpeg.spec
@@ -5,7 +5,7 @@
#global commit 691d01989936d4b0681aa226aea8a19f06c04cea
#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