pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Import graphics/glslang
Module Name: pkgsrc-wip
Committed By: kikadf <kikadf.01%gmail.com@localhost>
Pushed By: kikadf
Date: Wed May 13 23:05:56 2026 +0200
Changeset: 4402580ea3cd16218ab06795e6f2b61f727a733e
Modified Files:
Makefile
Added Files:
glslang/DESCR
glslang/Makefile
glslang/PLIST
glslang/buildlink3.mk
glslang/distinfo
Log Message:
Import graphics/glslang
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=4402580ea3cd16218ab06795e6f2b61f727a733e
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
glslang/DESCR | 12 ++++++++++++
glslang/Makefile | 20 ++++++++++++++++++++
glslang/PLIST | 27 +++++++++++++++++++++++++++
glslang/buildlink3.mk | 13 +++++++++++++
glslang/distinfo | 5 +++++
6 files changed, 78 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 2cb2d3ff99..0fdbf614c8 100644
--- a/Makefile
+++ b/Makefile
@@ -1323,6 +1323,7 @@ SUBDIR+= glkgit
SUBDIR+= glkloader
SUBDIR+= glkterm
SUBDIR+= globalprotect-openconnect
+SUBDIR+= glslang
SUBDIR+= glulxe
SUBDIR+= glusterfs
SUBDIR+= gm2calc
diff --git a/glslang/DESCR b/glslang/DESCR
new file mode 100644
index 0000000000..a52632b817
--- /dev/null
+++ b/glslang/DESCR
@@ -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.
diff --git a/glslang/Makefile b/glslang/Makefile
new file mode 100644
index 0000000000..04aab36b56
--- /dev/null
+++ b/glslang/Makefile
@@ -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"
diff --git a/glslang/PLIST b/glslang/PLIST
new file mode 100644
index 0000000000..378d6e84b7
--- /dev/null
+++ b/glslang/PLIST
@@ -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
diff --git a/glslang/buildlink3.mk b/glslang/buildlink3.mk
new file mode 100644
index 0000000000..692568c8a3
--- /dev/null
+++ b/glslang/buildlink3.mk
@@ -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
diff --git a/glslang/distinfo b/glslang/distinfo
new file mode 100644
index 0000000000..272eda3321
--- /dev/null
+++ b/glslang/distinfo
@@ -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