pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/graphics/glslang
Module Name: pkgsrc
Committed By: kikadf
Date: Mon Apr 13 14:38:43 UTC 2026
Added Files:
pkgsrc/graphics/glslang: DESCR Makefile PLIST buildlink3.mk distinfo
Log Message:
glslang: new package
An OpenGL GLSL and OpenGL|ES GLSL (ESSL) front-end for reference validation and
translation of GLSL/ESSL into an internal abstract syntax tree (AST).
An HLSL front-end for translation of an approximation of HLSL to glslang's AST
form.
Translates glslang's AST to the Khronos-specified SPIR-V intermediate language.
An API for getting reflection information from the AST, reflection
types/variables/etc. from the HLL source (not the SPIR-V).
glslang is command-line tool for accessing the functionality above.
Packaged in wip by Frédéric Fauberteau
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/glslang/DESCR \
pkgsrc/graphics/glslang/Makefile pkgsrc/graphics/glslang/PLIST \
pkgsrc/graphics/glslang/buildlink3.mk pkgsrc/graphics/glslang/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/graphics/glslang/DESCR
diff -u /dev/null pkgsrc/graphics/glslang/DESCR:1.1
--- /dev/null Mon Apr 13 14:38:43 2026
+++ pkgsrc/graphics/glslang/DESCR Mon Apr 13 14:38:43 2026
@@ -0,0 +1,12 @@
+An OpenGL GLSL and OpenGL|ES GLSL (ESSL) front-end for reference validation and
+translation of GLSL/ESSL into an internal abstract syntax tree (AST).
+
+An HLSL front-end for translation of an approximation of HLSL to glslang's AST
+form.
+
+Translates glslang's AST to the Khronos-specified SPIR-V intermediate language.
+
+An API for getting reflection information from the AST, reflection
+types/variables/etc. from the HLL source (not the SPIR-V).
+
+glslang is command-line tool for accessing the functionality above.
Index: pkgsrc/graphics/glslang/Makefile
diff -u /dev/null pkgsrc/graphics/glslang/Makefile:1.1
--- /dev/null Mon Apr 13 14:38:43 2026
+++ pkgsrc/graphics/glslang/Makefile Mon Apr 13 14:38:43 2026
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2026/04/13 14:38:43 kikadf Exp $
+
+.include "../../graphics/vulkan-headers/Makefile.common"
+
+DISTNAME= glslang-${SDK_VERSION}
+CATEGORIES= graphics
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/KhronosGroup/glslang/
+COMMENT= Front end for GLSL/ESSL, HLSL (partial) and SPIR-V generator
+LICENSE= modified-bsd AND 2-clause-bsd AND mit AND apache-2.0 AND gnu-gpl-v3
+
+WRKSRC= ${WRKDIR}/${GITHUB_PROJECT}-${GITHUB_TAG}
+
+CMAKE_CONFIGURE_ARGS+= -DALLOW_EXTERNAL_SPIRV_TOOLS=ON
+
+.include "../../devel/cmake/build.mk"
+.include "../../lang/python/tool.mk"
+.include "../../parallel/spirv-tools/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/graphics/glslang/PLIST
diff -u /dev/null pkgsrc/graphics/glslang/PLIST:1.1
--- /dev/null Mon Apr 13 14:38:43 2026
+++ pkgsrc/graphics/glslang/PLIST Mon Apr 13 14:38:43 2026
@@ -0,0 +1,27 @@
+@comment $NetBSD: PLIST,v 1.1 2026/04/13 14:38:43 kikadf Exp $
+bin/glslang
+bin/glslangValidator
+include/glslang/Include/ResourceLimits.h
+include/glslang/Include/glslang_c_interface.h
+include/glslang/Include/glslang_c_shader_types.h
+include/glslang/Include/visibility.h
+include/glslang/MachineIndependent/Versions.h
+include/glslang/Public/ResourceLimits.h
+include/glslang/Public/ShaderLang.h
+include/glslang/Public/resource_limits_c.h
+include/glslang/SPIRV/GlslangToSpv.h
+include/glslang/SPIRV/Logger.h
+include/glslang/SPIRV/SpvTools.h
+include/glslang/SPIRV/disassemble.h
+include/glslang/SPIRV/spirv.hpp11
+include/glslang/build_info.h
+lib/cmake/glslang/glslang-config-version.cmake
+lib/cmake/glslang/glslang-config.cmake
+lib/cmake/glslang/glslang-targets-debug.cmake
+lib/cmake/glslang/glslang-targets.cmake
+lib/libGenericCodeGen.a
+lib/libMachineIndependent.a
+lib/libOSDependent.a
+lib/libSPIRV.a
+lib/libglslang-default-resource-limits.a
+lib/libglslang.a
Index: pkgsrc/graphics/glslang/buildlink3.mk
diff -u /dev/null pkgsrc/graphics/glslang/buildlink3.mk:1.1
--- /dev/null Mon Apr 13 14:38:43 2026
+++ pkgsrc/graphics/glslang/buildlink3.mk Mon Apr 13 14:38:43 2026
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2026/04/13 14:38:43 kikadf Exp $
+
+BUILDLINK_TREE+= glslang
+
+.if !defined(GLSLANG_BUILDLINK3_MK)
+GLSLANG_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.glslang+= glslang>=1.4.341.0
+BUILDLINK_PKGSRCDIR.glslang?= ../../graphics/glslang
+
+.endif # GLSLANG_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -glslang
Index: pkgsrc/graphics/glslang/distinfo
diff -u /dev/null pkgsrc/graphics/glslang/distinfo:1.1
--- /dev/null Mon Apr 13 14:38:43 2026
+++ pkgsrc/graphics/glslang/distinfo Mon Apr 13 14:38:43 2026
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2026/04/13 14:38:43 kikadf Exp $
+
+BLAKE2s (glslang-1.4.341.0.tar.gz) = 7c3cebb8f4d833b7b217eb291315ff12ec36af35472e1747c25380da77cd1912
+SHA512 (glslang-1.4.341.0.tar.gz) = f243830836f0ba6f13d6e2ccb48cee3c41f8478e0315b190f3a8e607d3723e7e687102126131a7ecc6eed5899b9de1b69c76f6f795f0f13703931e5041c47906
+Size (glslang-1.4.341.0.tar.gz) = 4297511 bytes
Home |
Main Index |
Thread Index |
Old Index