From 76c15f5404d28d97306b6483a66859a9fc648d02 Mon Sep 17 00:00:00 2001 From: Pavlo Rudy Date: Thu, 28 Mar 2024 21:30:28 +0200 Subject: [PATCH] add libshaderc --- ffmpeg.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/ffmpeg.spec b/ffmpeg.spec index 3d7d7e8..06ed62a 100644 --- a/ffmpeg.spec +++ b/ffmpeg.spec @@ -70,6 +70,7 @@ BuildRequires: libopenmpt-dev BuildRequires: openjpeg-dev BuildRequires: libaom-dev BuildRequires: ladspa_sdk-dev +BuildRequires: shaderc-dev %description @@ -108,9 +109,7 @@ sed -i "s|-lOSDependent||g" configure sed -i "s|-lOGLCompiler||g" configure sed -i "s|-lMachineIndependent||g" configure sed -i "s|-lGenericCodeGen||g" configure -sed -i "s|-lSPIRV-Tools-opt||g" configure -sed -i "s|-lSPIRV-Tools||g" configure -sed -i "s|-lSPIRV||g" configure + @@ -186,7 +185,9 @@ export CXXFLAGS="$CXXFLAGS -Ofast -fno-lto -falign-functions=32 -fno-semantic-in --enable-libtheora \ --enable-libvidstab \ --enable-libxcb \ - --enable-libzimg + --enable-libzimg \ + --enable-libplacebo --enable-libshaderc + make %{?_smp_mflags} # --enable-libplacebo