Accepting request 956012 from home:iDesmI:ffmpeg

- Use Shaderc instead of separate glslang/SPIRV-Tools for Vulkan support

OBS-URL: https://build.opensuse.org/request/show/956012
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=9
This commit is contained in:
Jan Engelhardt 2022-02-19 13:55:24 +00:00 committed by Git OBS Bridge
parent c3beb0b32b
commit 47a4f1226c
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Feb 19 13:26:41 UTC 2022 - Enrico Belleri <idesmi@protonmail.com>
- Use Shaderc instead of separate glslang/SPIRV-Tools for Vulkan support
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Feb 18 22:32:41 UTC 2022 - Neal Gompa <ngompa@opensuse.org> Fri Feb 18 22:32:41 UTC 2022 - Neal Gompa <ngompa@opensuse.org>

View File

@ -202,8 +202,7 @@ BuildRequires: pkgconfig(vdpau)
BuildRequires: pkgconfig(vidstab) >= 0.98 BuildRequires: pkgconfig(vidstab) >= 0.98
%endif %endif
%if %{with vulkan} %if %{with vulkan}
BuildRequires: glslang-devel BuildRequires: pkgconfig(shaderc)
BuildRequires: pkgconfig(SPIRV-Tools)
BuildRequires: pkgconfig(vulkan) BuildRequires: pkgconfig(vulkan)
%endif %endif
BuildRequires: pkgconfig(vorbis) BuildRequires: pkgconfig(vorbis)
@ -586,7 +585,7 @@ LDFLAGS="%_lto_cflags" \
--enable-gnutls \ --enable-gnutls \
--enable-ladspa \ --enable-ladspa \
%if %{with vulkan} %if %{with vulkan}
--enable-libglslang --enable-vulkan \ --enable-libshaderc --enable-vulkan \
%endif %endif
%if ! %{with cuda_sdk} %if ! %{with cuda_sdk}
--disable-cuda-sdk \ --disable-cuda-sdk \