pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

graphics/glslang: Add version 15.0.0



Module Name:	pkgsrc-wip
Committed By:	Frédéric Fauberteau <triaxx%NetBSD.org@localhost>
Pushed By:	frederic
Date:		Sun Dec 1 21:53:38 2024 +0100
Changeset:	5c8cb5a64efc8a58e19d8bf0d7c979905d906d58

Added Files:
	glslang/COMMIT_MSG
	glslang/DESCR
	glslang/Makefile
	glslang/PLIST
	glslang/buildlink3.mk
	glslang/distinfo

Log Message:
graphics/glslang: Add version 15.0.0

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=5c8cb5a64efc8a58e19d8bf0d7c979905d906d58

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 glslang/COMMIT_MSG    |  3 +++
 glslang/DESCR         | 12 ++++++++++++
 glslang/Makefile      | 20 ++++++++++++++++++++
 glslang/PLIST         | 30 ++++++++++++++++++++++++++++++
 glslang/buildlink3.mk | 13 +++++++++++++
 glslang/distinfo      |  5 +++++
 6 files changed, 83 insertions(+)

diffs:
diff --git a/glslang/COMMIT_MSG b/glslang/COMMIT_MSG
new file mode 100644
index 0000000000..ebbaf29c7c
--- /dev/null
+++ b/glslang/COMMIT_MSG
@@ -0,0 +1,3 @@
+graphics/glslang: Add version 15.0.0
+
+Packaged in wip by Frédéric Fauberteau
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..713a50cd8f
--- /dev/null
+++ b/glslang/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD$
+
+DISTNAME=	glslang-15.0.0
+CATEGORIES=	graphics
+MASTER_SITES=	${MASTER_SITE_GITHUB:=KhronosGroup/}
+
+MAINTAINER=	triaxx%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
+
+USE_LANGUAGES=	c c++
+
+CMAKE_CONFIGURE_ARGS+=	-DALLOW_EXTERNAL_SPIRV_TOOLS=ON
+
+.include "../../devel/cmake/build.mk"
+
+.include "../../wip/spirv-tools/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/glslang/PLIST b/glslang/PLIST
new file mode 100644
index 0000000000..5e748e2514
--- /dev/null
+++ b/glslang/PLIST
@@ -0,0 +1,30 @@
+@comment $NetBSD$
+bin/glslang
+bin/glslangValidator
+bin/spirv-remap
+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/SPVRemapper.h
+include/glslang/SPIRV/SpvTools.h
+include/glslang/SPIRV/disassemble.h
+include/glslang/SPIRV/spirv.hpp
+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/libSPVRemapper.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..f400b68818
--- /dev/null
+++ b/glslang/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	glslang
+
+.if !defined(GLSLANG_BUILDLINK3_MK)
+GLSLANG_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.glslang+=	glslang>=15.0.0
+BUILDLINK_PKGSRCDIR.glslang?=	../../wip/glslang
+
+.endif	# GLSLANG_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-glslang
diff --git a/glslang/distinfo b/glslang/distinfo
new file mode 100644
index 0000000000..f3cf16ea40
--- /dev/null
+++ b/glslang/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (glslang-15.0.0.tar.gz) = dc47a06660e67da1039bc4258cab42b40d9f19394b98c944709ff7718091f075
+SHA512 (glslang-15.0.0.tar.gz) = b246c6f280891b7c9b6cd0b5e85e03ccf1fe173cdfc40e566339a5698176cbcfe23eb7aeaba277f071222d76b9f2a00376d790d4d604aedad82e6196fab7fc70
+Size (glslang-15.0.0.tar.gz) = 3864508 bytes


Home | Main Index | Thread Index | Old Index