Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 886244 Details for
Bug 918989
media-video/ffmpeg-6.1: configure fails with missing spirv_compiler when USE=glslang set
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch from the ffmpeg ML
ffmpeg.patch (text/plain), 2.81 KB, created by
Mark
on 2024-02-29 08:40:53 UTC
(
hide
)
Description:
patch from the ffmpeg ML
Filename:
MIME Type:
Creator:
Mark
Created:
2024-02-29 08:40:53 UTC
Size:
2.81 KB
patch
obsolete
> configure | 23 +++++++++++++++++++++-- > 1 file changed, 21 insertions(+), 2 deletions(-) > >diff --git a/configure b/configure >index c8ae0a061d..abff488dc0 100755 >--- a/configure >+++ b/configure >@@ -2626,6 +2626,7 @@ CMDLINE_SET=" > ignore_tests > install > ld >+ libglslang_ldflags > ln_s > logfile > malloc_prefix >@@ -6652,6 +6653,24 @@ if enabled_all libglslang libshaderc; then > die "ERROR: libshaderc and libglslang are mutually exclusive, if in doubt, disable libglslang" > fi > >+if enabled libglslang; then >+ if [ -x "$(command -v glslang)" ]; then >+ # https://github.com/KhronosGroup/glslang >+ # commit 6be56e45e574b375d759b89dad35f780bbd4792f: Remove `OGLCompiler` and `HLSL` stub libraries from build >+ # StandAlone/StandAlone.cpp: "SpirvGeneratorVersion:GLSLANG_VERSION_MAJOR.GLSLANG_VERSION_MINOR.GLSLANG_VERSION_PATCH GLSLANG_VERSION_FLAVOR" >+ glslang_version="$(glslang -dumpversion)" >+ glslang_major="${glslang_version%%.*}" >+ glslang_major="${glslang_major#*:}" >+ if test ${glslang_major} -le 13; then >+ libglslang_ldflags=" -lOSDependent -lHLSL -lOGLCompiler" >+ elif ! [[ ${glslang_major} =~ ^[0-9]+$ ]]; then >+ die "ERROR: glslang's computed major version isn't a number: '${glslang_major}'" >+ fi >+ else >+ die "ERROR: glslang binary not found, impossible to determine installed glslang's version" >+ fi >+fi >+ > check_cpp_condition winrt windows.h "!WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)" > > if ! disabled w32threads && ! enabled pthreads; then >@@ -6771,10 +6790,10 @@ enabled libfreetype && require_pkg_config libfreetype freetype2 "ft2build. > enabled libfribidi && require_pkg_config libfribidi fribidi fribidi.h fribidi_version_info > enabled libharfbuzz && require_pkg_config libharfbuzz harfbuzz hb.h hb_buffer_create > enabled libglslang && { check_lib spirv_compiler glslang/Include/glslang_c_interface.h glslang_initialize_process \ >- -lglslang -lMachineIndependent -lOSDependent -lHLSL -lOGLCompiler -lGenericCodeGen \ >+ -lglslang -lMachineIndependent "${libglslang_ldflags}" -lGenericCodeGen \ > -lSPVRemapper -lSPIRV -lSPIRV-Tools-opt -lSPIRV-Tools -lpthread -lstdc++ -lm || > require spirv_compiler glslang/Include/glslang_c_interface.h glslang_initialize_process \ >- -lglslang -lOSDependent -lHLSL -lOGLCompiler \ >+ -lglslang "${libglslang_ldflags}" \ > -lSPVRemapper -lSPIRV -lSPIRV-Tools-opt -lSPIRV-Tools -lpthread -lstdc++ -lm; } > enabled libgme && { check_pkg_config libgme libgme gme/gme.h gme_new_emu || > require libgme gme/gme.h gme_new_emu -lgme -lstdc++; }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 918989
:
876263
|
876276
|
876277
| 886244 |
898462
|
898463