Skip to content

Commit

Permalink
graphics/glslang: update to 14.0.0
Browse files Browse the repository at this point in the history
Changes:	https://github.com/KhronosGroup/glslang/releases/tag/13.0.0
Reported by:	GitHub (watch releases)
  • Loading branch information
jbeich committed Jan 4, 2024
1 parent 2b276fc commit d35ea7b
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 63 deletions.
5 changes: 1 addition & 4 deletions graphics/glslang/Makefile
@@ -1,10 +1,7 @@
PORTNAME= glslang
DISTVERSION= 13.1.0
DISTVERSION= 14.0.0
CATEGORIES= graphics

PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES+= eac012fff3a7.patch:-p1 # https://github.com/KhronosGroup/glslang/pull/3406

MAINTAINER= jbeich@FreeBSD.org
COMMENT= OpenGL and OpenGL ES shader front end and validator
WWW= https://www.khronos.org/opengles/sdk/tools/Reference-Compiler/
Expand Down
8 changes: 3 additions & 5 deletions graphics/glslang/distinfo
@@ -1,5 +1,3 @@
TIMESTAMP = 1697321367
SHA256 (KhronosGroup-glslang-13.1.0_GH0.tar.gz) = 926808f4bf129264a1b7d969978881ec041bb902ad49a180ba74270df7178494
SIZE (KhronosGroup-glslang-13.1.0_GH0.tar.gz) = 3763153
SHA256 (eac012fff3a7.patch) = 143ef7a612da3a380fc689eb72813f34bdda0235f706c0a592daf55044eb46d2
SIZE (eac012fff3a7.patch) = 2240
TIMESTAMP = 1703265088
SHA256 (KhronosGroup-glslang-14.0.0_GH0.tar.gz) = 80bbb916a23e94ea9cbfb1acb5d1a44a7e0c9613bcf5b5947c03f2273bdc92b0
SIZE (KhronosGroup-glslang-14.0.0_GH0.tar.gz) = 3770344
54 changes: 0 additions & 54 deletions graphics/glslang/pkg-plist
@@ -1,71 +1,19 @@
bin/glslang
bin/glslangValidator
bin/spirv-remap
include/glslang/HLSL/hlslAttributes.h
include/glslang/HLSL/hlslGrammar.h
include/glslang/HLSL/hlslOpMap.h
include/glslang/HLSL/hlslParseHelper.h
include/glslang/HLSL/hlslParseables.h
include/glslang/HLSL/hlslScanContext.h
include/glslang/HLSL/hlslTokenStream.h
include/glslang/HLSL/hlslTokens.h
include/glslang/Include/BaseTypes.h
include/glslang/Include/Common.h
include/glslang/Include/ConstantUnion.h
include/glslang/Include/InfoSink.h
include/glslang/Include/InitializeGlobals.h
include/glslang/Include/PoolAlloc.h
include/glslang/Include/ResourceLimits.h
include/glslang/Include/ShHandle.h
include/glslang/Include/SpirvIntrinsics.h
include/glslang/Include/Types.h
include/glslang/Include/arrays.h
include/glslang/Include/glslang_c_interface.h
include/glslang/Include/glslang_c_shader_types.h
include/glslang/Include/intermediate.h
include/glslang/MachineIndependent/Initialize.h
include/glslang/MachineIndependent/LiveTraverser.h
include/glslang/MachineIndependent/ParseHelper.h
include/glslang/MachineIndependent/RemoveTree.h
include/glslang/MachineIndependent/Scan.h
include/glslang/MachineIndependent/ScanContext.h
include/glslang/MachineIndependent/SymbolTable.h
include/glslang/MachineIndependent/Versions.h
include/glslang/MachineIndependent/attribute.h
include/glslang/MachineIndependent/gl_types.h
include/glslang/MachineIndependent/glslang_tab.cpp.h
include/glslang/MachineIndependent/iomapper.h
include/glslang/MachineIndependent/localintermediate.h
include/glslang/MachineIndependent/parseVersions.h
include/glslang/MachineIndependent/preprocessor/PpContext.h
include/glslang/MachineIndependent/preprocessor/PpTokens.h
include/glslang/MachineIndependent/propagateNoContraction.h
include/glslang/MachineIndependent/reflection.h
include/glslang/Public/ResourceLimits.h
include/glslang/Public/ShaderLang.h
include/glslang/Public/resource_limits_c.h
include/glslang/SPIRV/GLSL.ext.AMD.h
include/glslang/SPIRV/GLSL.ext.ARM.h
include/glslang/SPIRV/GLSL.ext.EXT.h
include/glslang/SPIRV/GLSL.ext.KHR.h
include/glslang/SPIRV/GLSL.ext.NV.h
include/glslang/SPIRV/GLSL.std.450.h
include/glslang/SPIRV/GlslangToSpv.h
include/glslang/SPIRV/Logger.h
include/glslang/SPIRV/NonSemanticDebugPrintf.h
include/glslang/SPIRV/NonSemanticShaderDebugInfo100.h
include/glslang/SPIRV/SPVRemapper.h
include/glslang/SPIRV/SpvBuilder.h
include/glslang/SPIRV/SpvTools.h
include/glslang/SPIRV/bitutils.h
include/glslang/SPIRV/disassemble.h
include/glslang/SPIRV/doc.h
include/glslang/SPIRV/hex_float.h
include/glslang/SPIRV/spirv.hpp
include/glslang/SPIRV/spvIR.h
include/glslang/build_info.h
lib/cmake/HLSLTargets.cmake
lib/cmake/OGLCompilerTargets.cmake
lib/cmake/OSDependentTargets.cmake
lib/cmake/SPIRVTargets.cmake
lib/cmake/SPVRemapperTargets.cmake
Expand All @@ -78,9 +26,7 @@ lib/cmake/glslang/glslang-targets.cmake
lib/cmake/glslangTargets.cmake
lib/cmake/spirv-remapTargets.cmake
lib/libGenericCodeGen.a
lib/libHLSL.a
lib/libMachineIndependent.a
lib/libOGLCompiler.a
lib/libOSDependent.a
lib/libSPIRV.a
lib/libSPVRemapper.a
Expand Down
12 changes: 12 additions & 0 deletions graphics/libplacebo/files/patch-src_glsl_meson.build
@@ -0,0 +1,12 @@
src/glsl/meson.build:47:12: ERROR: C++ static library 'OGLCompiler' not found

--- src/glsl/meson.build.orig 2023-10-17 12:24:39 UTC
+++ src/glsl/meson.build
@@ -44,7 +44,6 @@ elif not glslang_req.disabled()
# Always required for static linking
cxx.find_library('MachineIndependent', required: true, static: true),
cxx.find_library('OSDependent', required: true, static: true),
- cxx.find_library('OGLCompiler', required: true, static: true),
cxx.find_library('GenericCodeGen', required: true, static: true),
# SPIRV-Tools are required only if optimizer is enabled in glslang build
cxx.find_library('SPIRV-Tools', required: false, static: true),
13 changes: 13 additions & 0 deletions multimedia/ffmpeg/files/patch-configure
Expand Up @@ -15,6 +15,19 @@
cpu="generic"
intrinsics="none"

@@ -6705,10 +6699,10 @@ enabled libglslang && { check_lib spirv_compiler glsla
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 -lOSDependent -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 -lOSDependent \
-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++; }
@@ -7018,7 +7013,7 @@ fi

if enabled x86; then
Expand Down
9 changes: 9 additions & 0 deletions multimedia/ffmpeg4/files/patch-configure
Expand Up @@ -23,6 +23,15 @@
;;
bsd/os)
add_extralibs -lpoll -lgnugetopt
@@ -6369,7 +6369,7 @@ enabled libfribidi && require_pkg_config libfri
enabled libfontconfig && require_pkg_config libfontconfig fontconfig "fontconfig/fontconfig.h" FcInit
enabled libfreetype && require_pkg_config libfreetype freetype2 "ft2build.h FT_FREETYPE_H" FT_Init_FreeType
enabled libfribidi && require_pkg_config libfribidi fribidi fribidi.h fribidi_version_info
-enabled libglslang && require_cpp libglslang glslang/SPIRV/GlslangToSpv.h "glslang::TIntermediate*" -lglslang -lMachineIndependent -lOSDependent -lHLSL -lOGLCompiler -lGenericCodeGen -lSPVRemapper -lSPIRV -lSPIRV-Tools-opt -lSPIRV-Tools -lpthread -lstdc++
+enabled libglslang && require_cpp libglslang glslang/SPIRV/GlslangToSpv.h "glslang::TIntermediate*" -lglslang -lMachineIndependent -lOSDependent -lGenericCodeGen -lSPVRemapper -lSPIRV -lSPIRV-Tools-opt -lSPIRV-Tools -lpthread -lstdc++
enabled libgme && { check_pkg_config libgme libgme gme/gme.h gme_new_emu ||
require libgme gme/gme.h gme_new_emu -lgme -lstdc++; }
enabled libgsm && { for gsm_hdr in "gsm.h" "gsm/gsm.h"; do
@@ -6758,7 +6753,7 @@ enabled vulkan &&

if enabled x86; then
Expand Down

0 comments on commit d35ea7b

Please sign in to comment.