git: e022f3267b60 - main - graphics/linux-rl9-spirv-tools: add new port (+)

From: Dima Panov <fluffy_at_FreeBSD.org>
Date: Thu, 14 Nov 2024 21:23:08 UTC
The branch main has been updated by fluffy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e022f3267b6009070674a9e92fd12e5ec00647d8

commit e022f3267b6009070674a9e92fd12e5ec00647d8
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2024-11-14 20:51:13 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2024-11-14 21:22:52 +0000

    graphics/linux-rl9-spirv-tools: add new port (+)
    
    Tools for processing SPIR-V intermediate shader language modules
    
    Sponsored by:   Future Crew, LLC
---
 Mk/Uses/linux.mk                                 |  1 +
 graphics/Makefile                                |  1 +
 graphics/linux-rl9-spirv-tools/Makefile          | 26 ++++++++++++
 graphics/linux-rl9-spirv-tools/distinfo          | 13 ++++++
 graphics/linux-rl9-spirv-tools/pkg-plist.aarch64 | 36 +++++++++++++++++
 graphics/linux-rl9-spirv-tools/pkg-plist.amd64   | 50 ++++++++++++++++++++++++
 6 files changed, 127 insertions(+)

diff --git a/Mk/Uses/linux.mk b/Mk/Uses/linux.mk
index b11a1ec9ab93..eedd5cbc38da 100644
--- a/Mk/Uses/linux.mk
+++ b/Mk/Uses/linux.mk
@@ -190,6 +190,7 @@ _linux_c7_sdlimage=			linux-c7-sdl_image>0:graphics/linux-c7-sdl_image
 _linux_c7_sdlmixer=			linux-c7-sdl_mixer>0:audio/linux-c7-sdl_mixer
 _linux_c7_sdlttf=			linux-c7-sdl_ttf>0:graphics/linux-c7-sdl_ttf
 _linux_rl9_shaderc=			linux-rl9-shaderc>0:graphics/linux-rl9-shaderc
+_linux_rl9_spirv-tools=			linux-rl9-spirv-tools>0:graphics/linux-rl9-spirv-tools
 _linux_${linux_ARGS}_sqlite3=		linux-${linux_ARGS}-sqlite>0:databases/linux-${linux_ARGS}-sqlite3
 _linux_${linux_ARGS}_strace=		linux-${linux_ARGS}-strace>0:devel/linux-${linux_ARGS}-strace
 _linux_${linux_ARGS}_systemd-libs=	linux-${linux_ARGS}-systemd-libs>0:devel/linux-${linux_ARGS}-systemd-libs
diff --git a/graphics/Makefile b/graphics/Makefile
index f577fa35a1e6..46328109e893 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -557,6 +557,7 @@
     SUBDIR += linux-rl9-qt5-qtsvg
     SUBDIR += linux-rl9-qt5-qtwayland
     SUBDIR += linux-rl9-shaderc
+    SUBDIR += linux-rl9-spirv-tools
     SUBDIR += linux-rl9-tiff
     SUBDIR += linux-rl9-vulkan
     SUBDIR += linux-rl9-wayland
diff --git a/graphics/linux-rl9-spirv-tools/Makefile b/graphics/linux-rl9-spirv-tools/Makefile
new file mode 100644
index 000000000000..7793ee178165
--- /dev/null
+++ b/graphics/linux-rl9-spirv-tools/Makefile
@@ -0,0 +1,26 @@
+PORTNAME=	spirv-tools
+PORTVERSION=	2023.3
+DISTVERSIONSUFFIX=	-1.el9
+CATEGORIES=	graphics linux
+
+MAINTAINER=	emulation@FreeBSD.org
+COMMENT=	Tools for processing SPIR-V intermediate shader language modules (Rocky Linux ${LINUX_DIST_VER})
+WWW=		https://github.com/KhronosGroup/SPIRV-Tools
+
+LICENSE=	APACHE20
+
+USES=		cpe linux:rl9
+USE_LDCONFIG=	yes
+USE_LINUX_RPM=	yes
+WANT_LINUX32=	yes
+
+BIN_DISTNAMES=	${PORTNAME}${PKGNAMESUFFIX}-${DISTVERSIONFULL}
+LIB_DISTNAMES=	${PORTNAME}${PKGNAMESUFFIX}-libs-${DISTVERSIONFULL}
+
+CONFLICTS=	linux-c7-${PORTNAME}
+DESCR=		${.CURDIR}/../${PORTNAME}/pkg-descr
+DOCSDIR=	${PREFIX}/usr/share/doc/${PORTNAME}${PKGNAMESUFFIX}
+
+OPTIONS_DEFINE=	DOCS
+
+.include <bsd.port.mk>
diff --git a/graphics/linux-rl9-spirv-tools/distinfo b/graphics/linux-rl9-spirv-tools/distinfo
new file mode 100644
index 000000000000..46583a53c1d8
--- /dev/null
+++ b/graphics/linux-rl9-spirv-tools/distinfo
@@ -0,0 +1,13 @@
+TIMESTAMP = 1731540059
+SHA256 (rocky/s/spirv-tools-2023.3-1.el9.aarch64.rpm) = 9fa1a778560e67ab9545a80abc2dbad29f01d558a15ae97afdb6d103a02d97ce
+SIZE (rocky/s/spirv-tools-2023.3-1.el9.aarch64.rpm) = 239746
+SHA256 (rocky/s/spirv-tools-2023.3-1.el9.x86_64.rpm) = 843163919ee08914a6b7ece3341af281821c0bfb91a6e89f5f9ffef55b499671
+SIZE (rocky/s/spirv-tools-2023.3-1.el9.x86_64.rpm) = 250105
+SHA256 (rocky/s/spirv-tools-libs-2023.3-1.el9.aarch64.rpm) = 3593395003f59c9af7223b33687b57c4b3b85f0fedddf061c67643b5bb3b4777
+SIZE (rocky/s/spirv-tools-libs-2023.3-1.el9.aarch64.rpm) = 1426957
+SHA256 (rocky/s/spirv-tools-libs-2023.3-1.el9.i686.rpm) = 3b24f6703000fb1ede8f56c7d8e5ad242a989e1e54d4b235b929ce75bb056176
+SIZE (rocky/s/spirv-tools-libs-2023.3-1.el9.i686.rpm) = 1619155
+SHA256 (rocky/s/spirv-tools-libs-2023.3-1.el9.x86_64.rpm) = 4ca14f5dcc1d063892043459b18675a7b911c2bca9c484a989b9e4d553dea6e7
+SIZE (rocky/s/spirv-tools-libs-2023.3-1.el9.x86_64.rpm) = 1456530
+SHA256 (rocky/s/spirv-tools-2023.3-1.el9.src.rpm) = bb0b504938c02298a75d5b1a4d85014404f7ec771938df254cfd67c0e3bbd62c
+SIZE (rocky/s/spirv-tools-2023.3-1.el9.src.rpm) = 3151168
diff --git a/graphics/linux-rl9-spirv-tools/pkg-plist.aarch64 b/graphics/linux-rl9-spirv-tools/pkg-plist.aarch64
new file mode 100644
index 000000000000..1db6cb0bff45
--- /dev/null
+++ b/graphics/linux-rl9-spirv-tools/pkg-plist.aarch64
@@ -0,0 +1,36 @@
+usr/bin/spirv-as
+usr/bin/spirv-cfg
+usr/bin/spirv-dis
+usr/bin/spirv-lesspipe.sh
+usr/bin/spirv-link
+usr/bin/spirv-lint
+usr/bin/spirv-objdump
+usr/bin/spirv-opt
+usr/bin/spirv-reduce
+usr/bin/spirv-val
+usr/lib/.build-id/6e/b6eefe3dc75e67f138b65b50219686c76a4789
+usr/lib/.build-id/c8/93388d0ad5429e208ab3c84b3d5b7e96c514c9
+usr/lib/.build-id/ef/fd56201fe979948b2d220afc5bfef930156816
+usr/lib/.build-id/6a/95825046aedfb730cffa1bf1012fd1de2bb45f
+usr/lib/.build-id/1a/e629f8523305ca1f81691ba80de93803d390a0
+usr/lib/.build-id/f7/60e8410c82ec980dcae2be5143833ff39aba00
+usr/lib/.build-id/9a/fc9c9cf6c6a69a2632a1ef55d0ada7e68336ee
+usr/lib/.build-id/11/df29248c15eec6f494aadf16d678ed0ada9a99
+usr/lib/.build-id/9c/fb010a44c00a18a241eb69b82ed0ffeb093dff
+usr/lib/.build-id/21/99cb381c3ee1da4a1b3e15793f2548cdfc9f4b
+usr/lib/.build-id/19/65672c8515f35dc4b235790840d86a06b38f7a
+usr/lib/.build-id/77/c56ae67bc8ac4db31263eaf5097bb02afd9100
+usr/lib/.build-id/6c/9589b7fffd1efc98b050444a7de0dac0784f04
+usr/lib/.build-id/6c/381cc5d667f71e55067f32e578537a45f0cc7b
+usr/lib/.build-id/14/76bd882d7b1ddec7c3ce65b57cba5a0e38dd6f
+usr/lib/.build-id/87/708108b373f93fae463808a33d8f8ebe251822
+usr/lib64/libSPIRV-Tools-diff.so
+usr/lib64/libSPIRV-Tools-link.so
+usr/lib64/libSPIRV-Tools-lint.so
+usr/lib64/libSPIRV-Tools-opt.so
+usr/lib64/libSPIRV-Tools-reduce.so
+usr/lib64/libSPIRV-Tools-shared.so
+usr/lib64/libSPIRV-Tools.so
+%%PORTDOCS%%%%DOCSDIR%%/CHANGES
+%%PORTDOCS%%%%DOCSDIR%%/README.md
+usr/share/licenses/spirv-tools/LICENSE
diff --git a/graphics/linux-rl9-spirv-tools/pkg-plist.amd64 b/graphics/linux-rl9-spirv-tools/pkg-plist.amd64
new file mode 100644
index 000000000000..2d2d6bba3125
--- /dev/null
+++ b/graphics/linux-rl9-spirv-tools/pkg-plist.amd64
@@ -0,0 +1,50 @@
+usr/bin/spirv-as
+usr/bin/spirv-cfg
+usr/bin/spirv-dis
+usr/bin/spirv-lesspipe.sh
+usr/bin/spirv-link
+usr/bin/spirv-lint
+usr/bin/spirv-objdump
+usr/bin/spirv-opt
+usr/bin/spirv-reduce
+usr/bin/spirv-val
+usr/lib/.build-id/1f/01034278b57df82ef19528f37f6d188e7a4ea9
+usr/lib/.build-id/2a/4de241679f4a4608f92ac599d43db9cd4d44a3
+usr/lib/.build-id/39/576f44228fe2968a16654c8bab03eeae4e7a6c
+usr/lib/.build-id/3f/4701e23a233bb059167359df933c1fcabbcd64
+usr/lib/.build-id/4b/b2a32a3b182e5afe8e602b7aa0e931740552a9
+usr/lib/.build-id/51/29dc74e3e1c2b5692d411aaa1e152f2069eb55
+usr/lib/.build-id/51/8f1a9a5e5fd46ac701705ba94e5447f8f8962b
+usr/lib/.build-id/80/236a6343a8bc56da18cfc1712c7c3393577dd5
+usr/lib/.build-id/83/1c1b7d7db78438eef6d26ad85ddb4ea5f59e97
+usr/lib/.build-id/86/63285178e1d86646eb63868085e3d465cb1067
+usr/lib/.build-id/89/754061313f437e3474924aeda877b09016534b
+usr/lib/.build-id/97/8c2e743b37c77eced66f77a8cacf0f29910fa5
+usr/lib/.build-id/9a/fba8a3741b15f83c18ecbfdffa22ad9a2555e0
+usr/lib/.build-id/9c/8c771350a65314d32ed91b9bcc881dd9c5fb82
+usr/lib/.build-id/ac/92403adb23e8c534a94d7d64dd6f1ffd1fee2d
+usr/lib/.build-id/ad/f46992b0652035d7bbe67df1b398802399f9f6
+usr/lib/.build-id/c6/114d039eabff60d95890d70c7abcc707a07232
+usr/lib/.build-id/d5/ccdb26d56e32e8eeb550f7d861daafe0c1f3db
+usr/lib/.build-id/db/da76a59f3edb0229147d40d4a0dc3afc6de2ba
+usr/lib/.build-id/e9/17bc525fd2b632ae08aae0b2da7a3020b802a5
+usr/lib/.build-id/f3/d4fb05b6feaee5136d87c5156329a5565a0d3d
+usr/lib/.build-id/f6/a187fcbafe8cb0610771d649820e2daa79d19a
+usr/lib/.build-id/f6/a4131c43c8467e8b343a259a915ba146f95f4c
+usr/lib/libSPIRV-Tools-diff.so
+usr/lib/libSPIRV-Tools-link.so
+usr/lib/libSPIRV-Tools-lint.so
+usr/lib/libSPIRV-Tools-opt.so
+usr/lib/libSPIRV-Tools-reduce.so
+usr/lib/libSPIRV-Tools-shared.so
+usr/lib/libSPIRV-Tools.so
+usr/lib64/libSPIRV-Tools-diff.so
+usr/lib64/libSPIRV-Tools-link.so
+usr/lib64/libSPIRV-Tools-lint.so
+usr/lib64/libSPIRV-Tools-opt.so
+usr/lib64/libSPIRV-Tools-reduce.so
+usr/lib64/libSPIRV-Tools-shared.so
+usr/lib64/libSPIRV-Tools.so
+%%PORTDOCS%%%%DOCSDIR%%/CHANGES
+%%PORTDOCS%%%%DOCSDIR%%/README.md
+usr/share/licenses/spirv-tools/LICENSE