From 73cf4a778e3bd38a821318ffa1407c4bd3a399d7 Mon Sep 17 00:00:00 2001 From: Nicolas Chauvet Date: Tue, 5 Dec 2023 15:12:10 +0100 Subject: [PATCH] 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