Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Nov 2024 21:23:07 GMT
From:      Dima Panov <fluffy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ba784ec66b16 - main - graphics/linux-rl9-shaderc: add new port (+)
Message-ID:  <202411142123.4AELN7n0029424@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by fluffy:

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

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

    graphics/linux-rl9-shaderc: add new port (+)
    
    GLSL/HLSL to SPIR-V shader compiler
    
    Sponsored by:   Future Crew, LLC
---
 Mk/Uses/linux.mk                             |  1 +
 graphics/Makefile                            |  1 +
 graphics/linux-rl9-shaderc/Makefile          | 25 +++++++++++++++++++++++++
 graphics/linux-rl9-shaderc/distinfo          |  9 +++++++++
 graphics/linux-rl9-shaderc/pkg-plist.aarch64 |  7 +++++++
 graphics/linux-rl9-shaderc/pkg-plist.amd64   |  9 +++++++++
 6 files changed, 52 insertions(+)

diff --git a/Mk/Uses/linux.mk b/Mk/Uses/linux.mk
index 025187bcecb9..b11a1ec9ab93 100644
--- a/Mk/Uses/linux.mk
+++ b/Mk/Uses/linux.mk
@@ -189,6 +189,7 @@ _linux_c7_sdl12=			linux-c7-sdl>0:devel/linux-c7-sdl12
 _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_${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 cd6ce91094c9..f577fa35a1e6 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -556,6 +556,7 @@
     SUBDIR += linux-rl9-qt5-qtimageformats
     SUBDIR += linux-rl9-qt5-qtsvg
     SUBDIR += linux-rl9-qt5-qtwayland
+    SUBDIR += linux-rl9-shaderc
     SUBDIR += linux-rl9-tiff
     SUBDIR += linux-rl9-vulkan
     SUBDIR += linux-rl9-wayland
diff --git a/graphics/linux-rl9-shaderc/Makefile b/graphics/linux-rl9-shaderc/Makefile
new file mode 100644
index 000000000000..210419287a94
--- /dev/null
+++ b/graphics/linux-rl9-shaderc/Makefile
@@ -0,0 +1,25 @@
+PORTNAME=	shaderc
+PORTVERSION=	2023.7
+DISTVERSIONSUFFIX=	-1.el9
+CATEGORIES=	graphics linux
+
+MAINTAINER=	emulation@FreeBSD.org
+COMMENT=	GLSL/HLSL to SPIR-V shader compiler (Rocky Linux ${LINUX_DIST_VER})
+WWW=		https://github.com/google/shaderc
+
+LICENSE=	APACHE20
+
+USES=		cpe linux:rl9
+USE_LDCONFIG=	yes
+USE_LINUX_RPM=	yes
+WANT_LINUX32=	yes
+
+LIB_DISTNAMES=	lib${PORTNAME}${PKGNAMESUFFIX}-${DISTVERSIONFULL}
+
+CONFLICTS=	linux-c7-${PORTNAME}
+DESCR=		${PORTSDIR}/${PKGCATEGORY}/${PORTNAME}/pkg-descr
+DOCSDIR=	${PREFIX}/usr/share/doc/lib${PORTNAME}${PKGNAMESUFFIX}
+
+OPTIONS_DEFINE=	DOCS
+
+.include <bsd.port.mk>
diff --git a/graphics/linux-rl9-shaderc/distinfo b/graphics/linux-rl9-shaderc/distinfo
new file mode 100644
index 000000000000..4a49591d013a
--- /dev/null
+++ b/graphics/linux-rl9-shaderc/distinfo
@@ -0,0 +1,9 @@
+TIMESTAMP = 1731539859
+SHA256 (rocky/l/libshaderc-2023.7-1.el9.aarch64.rpm) = 7faa1c0820dbc78ce9db85e3a9a71995886ad19023333c13f222c1290edb3b60
+SIZE (rocky/l/libshaderc-2023.7-1.el9.aarch64.rpm) = 1009299
+SHA256 (rocky/l/libshaderc-2023.7-1.el9.i686.rpm) = b01f9f2d802e10ed5bf30d7b1e5e0437e53c08ccb94cdbd409d9e10c3b16e8f9
+SIZE (rocky/l/libshaderc-2023.7-1.el9.i686.rpm) = 1108122
+SHA256 (rocky/l/libshaderc-2023.7-1.el9.x86_64.rpm) = 9fcd4ed57f9ea0ef65fd8406b0e4398308311b151112f89a0eb29cda7c65b1de
+SIZE (rocky/l/libshaderc-2023.7-1.el9.x86_64.rpm) = 1020508
+SHA256 (rocky/s/shaderc-2023.7-1.el9.src.rpm) = 58cc69a642fa045fff712a974fc2ea4dd6899cc237fefdd7a22c4e817b654ef1
+SIZE (rocky/s/shaderc-2023.7-1.el9.src.rpm) = 238917
diff --git a/graphics/linux-rl9-shaderc/pkg-plist.aarch64 b/graphics/linux-rl9-shaderc/pkg-plist.aarch64
new file mode 100644
index 000000000000..ec1141b346ff
--- /dev/null
+++ b/graphics/linux-rl9-shaderc/pkg-plist.aarch64
@@ -0,0 +1,7 @@
+usr/lib/.build-id/d4/722b84a3e252de37d0656857d7f1b5a3077635
+usr/lib64/libshaderc_shared.so.1
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/CHANGES
+%%PORTDOCS%%%%DOCSDIR%%/CONTRIBUTORS
+%%PORTDOCS%%%%DOCSDIR%%/README.md
+usr/share/licenses/libshaderc/LICENSE
diff --git a/graphics/linux-rl9-shaderc/pkg-plist.amd64 b/graphics/linux-rl9-shaderc/pkg-plist.amd64
new file mode 100644
index 000000000000..16ce77f11986
--- /dev/null
+++ b/graphics/linux-rl9-shaderc/pkg-plist.amd64
@@ -0,0 +1,9 @@
+usr/lib/.build-id/dd/a1a5df6beb3a6a37d74c9c6589c87004c4c29d
+usr/lib/.build-id/ec/2ea258f109f537e1605b2ab54bdc3c0febc58b
+usr/lib/libshaderc_shared.so.1
+usr/lib64/libshaderc_shared.so.1
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/CHANGES
+%%PORTDOCS%%%%DOCSDIR%%/CONTRIBUTORS
+%%PORTDOCS%%%%DOCSDIR%%/README.md
+usr/share/licenses/libshaderc/LICENSE



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411142123.4AELN7n0029424>