BSD Ports

graphics/shaderc 2026.4_1 FreeBSD

GLSL/HLSL to SPIR-V shader compiler

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
06582a0423
License
APACHE20
Categories
graphics, devel
Package size
3321.2 KiB, 14792.3 KiB installed

Description

A library and command line tool for compiling GLSL/HLSL to SPIR-V, Vulkan's shader language.

Based on the reference glslang compiler, Shaderc aims to provide a more convenient command-line compiler with GCC/clang-like usage and a library with a more stable API.

In the other systems

SystemPortVersion
FreeBSDgraphics/shaderc2026.4_1
OpenBSDgraphics/shaderc2025.5p0
NetBSDgraphics/shaderc2026.3nb2
DragonFlygraphics/shaderc2025.1
MidnightBSDgraphics/shaderc2026.1

Install

Binary package:

pkg install shaderc

From the ports tree:

cd /usr/ports/graphics/shaderc/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	shaderc>0:graphics/shaderc
LIB_DEPENDS=	libshaderc_shared.so:graphics/shaderc

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2026.4_12026.4_12022.42025.32026.4_1
FreeBSD:14:quarterly2026.42026.4n/a2025.2_12026.4
FreeBSD:15:latest2026.4_12026.4_1n/a2025.32025.3
FreeBSD:15:quarterly2026.42026.4n/an/an/a
FreeBSD:16:latest2026.42026.4_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

Test 1

The full lists below include those, and their dependencies in turn.

Build dependencies 17

Configuration

Options name: graphics_shaderc

OptionDefaultDescription
DOCSoffBuild and/or install documentation
USES
cmake:testing compiler:c++11-lib localbase:ldflags python:build shebangfix
Service scripts
none

Files

pkg-plist 13
  • bin/glslc
  • include/shaderc/env.h
  • include/shaderc/shaderc.h
  • include/shaderc/shaderc.hpp
  • include/shaderc/status.h
  • include/shaderc/visibility.h
  • lib/libshaderc.a
  • lib/libshaderc_combined.a
  • lib/libshaderc_shared.so
  • lib/libshaderc_shared.so.1
  • libdata/pkgconfig/shaderc.pc
  • libdata/pkgconfig/shaderc_combined.pc
  • libdata/pkgconfig/shaderc_static.pc
distinfo 2
FileSizeSHA256
google-shaderc-v2026.4_GH0.tar.gz237528f06ce5bcca94e5df7f34e115743597d0ad2e13c5fe9213c67dc8c76031241947
KhronosGroup-SPIRV-Headers-v1.202609.0_GH0.tar.gz5941230bac674ba1fd0a0d969b9c539a58322d37cb890a8af13b71177a64534c03b473

Commit history 4

DateCommitCreditsLog message
06582a0423 Hiroki Tagato */*: Bump port revision after spirv-tools update (36c50e5bf7cc)
ce0437d24f Hiroki Tagato graphics/shaderc: Update to 2026.4
Changelog: https://github.com/google/shaderc/blob/v2026.4/CHANGES Reported by: portscout
62da233452 Hiroki Tagato graphics/shaderc: Update to 2026.3
Changelog: https://github.com/google/shaderc/blob/v2026.3/CHANGES PR: 297259 Reported by: yuri Co-authored-by: Yuri Victorovich <[email protected]>
e77979c168 Hiroki Tagato */*: Bump port revision after spirv-tools update (f6a550749269)