| Port details |
- librashader RetroArch shaders for all
- 0.11.3 devel
=0 0.11.2Version of this port present on the latest quarterly branch. - Maintainer: bsdcode@disroot.org
 - Port Added: 2024-08-26 08:37:54
- Last Update: 2026-07-02 12:41:27
- Commit Hash: 4d6c5c6
- License: GPLv3 MIT MPL20
- WWW:
- https://github.com/SnowflakePowered/librashader
- Description:
- librashader is a preprocessor, compiler and runtime for RetroArch 'slang'
shaders, rewritten in pure Rust. It supports all modern graphics runtimes,
including wgpu, Vulkan, OpenGL 3.3+ and 4.6 (with DSA), Direct3D 11,
Direct3D 12, and Metal.
librashader implements the entire RetroArch shader pipeline and is highly
compatible with existing shaders, e.g. the slang-shaders from libretro.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - USE_RC_SUBR (Service Scripts)
- no SUBR information found for this port
- Dependency lines:
-
- librashader>0:devel/librashader
- To install the port:
- cd /usr/ports/devel/librashader/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/librashader
- pkg install librashader
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: librashader
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1781942026
SHA256 (rust/crates/ab_glyph-0.2.32.crate) = 01c0457472c38ea5bd1c3b5ada5e368271cb550be7a4ca4a0b4634e9913f6cc2
SIZE (rust/crates/ab_glyph-0.2.32.crate) = 20967
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- patchelf>0 : sysutils/patchelf
- rust>=1.96.0 : lang/rust
- cmake : devel/cmake-core
- pkgconf>=1.3.0_1 : devel/pkgconf
- This port is required by:
- for Build
-
- emulators/ares
- for Libraries
-
- emulators/ares
Configuration Options:
- ===> The following configuration options are available for librashader-0.11.3:
DOCS=on: Build and/or install documentation
EXAMPLES=on: Build and/or install examples
===> Use 'make config' to modify these settings
- Options name:
- devel_librashader
- USES:
- cargo
- pkg-message:
- For install:
- The calling code has to define the following preprocessor constants in order to
make the requested runtimes accessible:
LIBRA_RUNTIME_OPENGL or
LIBRA_RUNTIME_VULKAN
- Master Sites:
|
| Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
| Commit | Credits | Log message |
0.11.3 02 Jul 2026 12:41:27
    |
Yusuf Yaman (nxjoseph)  Author: Stefan Schlosser |
devel/librashader: Update 0.11.2 => 0.11.3
While here, correct typo in pkg-message.
Changelog:
https://github.com/SnowflakePowered/librashader/releases/tag/librashader-v0.11.3
PR: 296440
Approved by: osa, vvd (Mentors, implicit) |
0.11.2 28 Jun 2026 22:39:18
    |
Daniel Engberg (diizzy)  Author: Stefan Schlosser |
devel/librashader: Update to 0.11.2
Changelog:
https://github.com/SnowflakePowered/librashader/releases/tag/librashader-v0.11.2
PR: 296161 |
0.11.1 05 Jun 2026 10:43:04
    |
Yusuf Yaman (nxjoseph)  Author: Stefan Schlosser |
devel/librashader: Update 0.11.0 => 0.11.1
Changelog:
https://github.com/SnowflakePowered/librashader/releases/tag/librashader-v0.11.1
PR: 295868
Reported by: Stefan Schlosser <bsdcode@disroot.org> (maintainer)
Approved by: osa, vvd (Mentors, implicit) |
0.11.0_1 04 Jun 2026 08:52:51
    |
Mikael Urankar (mikael)  |
lang/rust: Bump revisions after 1.96.0
PR: 295694 |
0.11.0 26 May 2026 10:22:11
    |
Yusuf Yaman (nxjoseph)  Author: Stefan Schlosser |
devel/librashader: Update 0.10.1 => 0.11.0
Port changes:
* Improve readability by putting USE_GITHUB and its related variables
into its own block. Also put the CARGO_FEATURES on separate lines.
* Remove "stable" from CARGO_FEATURES. This has become the default
upstream and is a no-op to ensure backwards-compatibility.
* Remove obsolete patch for big-endian architectures. This fix is
included in the updated spirv-cross2 crate.
Changelog:
https://github.com/SnowflakePowered/librashader/releases/tag/librashader-v0.11.0
PR: 295606
Reported by: Stefan Schlosser <bsdcode@disroot.org> (maintainer)
Approved by: osa, vvd (Mentors, implicit) |
0.10.1_2 20 May 2026 13:19:54
    |
Piotr Kubaj (pkubaj)  |
devel/librashader: fix build on big-endian architectures
Merge upstream spirv-cross2-rs d5e44c54dfea036ecb02b93a250b16fff8c7b5a6
to fix build. |
0.10.1_2 27 Apr 2026 12:26:47
    |
Mikael Urankar (mikael)  |
lang/rust: Bump revisions after 1.95.0
PR: 294615 |
0.10.1_1 23 Mar 2026 07:33:11
    |
Mikael Urankar (mikael)  |
lang/rust: Bump revisions after 1.94.0
PR: 293615 |
0.10.1 03 Feb 2026 13:32:01
    |
Zsolt Udvari (uzsolt)  Author: Stefan Schlosser |
devel/librashader: Update to 0.10.1
Changelogs:
https://github.com/SnowflakePowered/librashader/releases/tag/librashader-v0.10.0
https://github.com/SnowflakePowered/librashader/releases/tag/librashader-v0.10.1
PR: 292717
Approved by: submitter is maintainer |
0.9.1_3 28 Jan 2026 08:48:51
    |
Mikael Urankar (mikael)  |
lang/rust: Bump revisions after 1.93.0
PR: 292360 |
0.9.1_2 16 Dec 2025 12:12:31
    |
Mikael Urankar (mikael)  |
lang/rust: Bump revisions after 1.92.0
PR: 291582 |
0.9.1_1 11 Nov 2025 11:08:12
    |
Mikael Urankar (mikael)  |
lang/rust: Bump revisions after 1.91.1
PR: 290816 |
0.9.1 11 Oct 2025 06:15:31
    |
Hiroki Tagato (tagattie)  Author: Stefan Schlosser |
devel/librashader: update to 0.9.1
Changelog:
https://github.com/SnowflakePowered/librashader/releases/tag/librashader-v0.9.1
PR: 290103
Reported by: Stefan Schlosser <bsdcode@disroot.org> (maintainer) |
0.8.1_3 03 Oct 2025 08:16:50
    |
Mikael Urankar (mikael)  |
lang/rust: Bump revisions after 1.90.0
PR: 289709 |
0.8.1_2 01 Sep 2025 08:25:04
    |
Mikael Urankar (mikael)  |
lang/rust: Bump revisions after 1.89.0
PR: 288923 |
0.8.1_1 03 Jul 2025 08:46:01
    |
Mikael Urankar (mikael)  |
lang/rust: Bump revisions after 1.88.0
PR: 287766 |
0.8.1 06 Jun 2025 22:41:23
    |
Hiroki Tagato (tagattie)  Author: Stefan Schlosser |
devel/librashader: update to 0.8.1
* cosmetic non-functional change to BUILD_DEPENDS
* use do-install-XXX-on instead of post-install-XXX-on because do-install is
overridden
Changes:
https://github.com/SnowflakePowered/librashader/releases/tag/librashader-v0.6.3
https://github.com/SnowflakePowered/librashader/releases/tag/librashader-v0.7.0
https://github.com/SnowflakePowered/librashader/releases/tag/librashader-v0.7.1
https://github.com/SnowflakePowered/librashader/releases/tag/librashader-v0.8.0
https://github.com/SnowflakePowered/librashader/releases/tag/librashader-v0.8.1
PR: 285626
Reported by: Stefan Schlosser <bsdcode@disroot.org> (maintainer) |
0.6.2_5 05 Jun 2025 07:52:53
    |
Mikael Urankar (mikael)  |
lang/rust: Bump revisions after 1.87.0
PR: 286829 |
0.6.2_4 08 Apr 2025 08:41:13
    |
Mikael Urankar (mikael)  |
lang/rust: Bump revisions after 1.86.0
PR: 285840 |
0.6.2_3 24 Feb 2025 07:55:52
    |
Mikael Urankar (mikael)  |
lang/rust: Bump revisions after 1.85.0
PR: 284884 |
0.6.2_2 20 Jan 2025 11:06:50
    |
Mikael Urankar (mikael)  |
lang/rust: Bump revisions after 1.84.0
PR: 283962 |
0.6.2_1 01 Dec 2024 09:24:18
    |
Mikael Urankar (mikael)  |
lang/rust: Bump revisions after 1.83.0
PR: 283000 |
0.6.2 25 Nov 2024 10:22:07
    |
Robert Clausecker (fuz)  Author: Stefan Schlosser |
devel/librashader: update to 0.6.2
Changes:
https://github.com/SnowflakePowered/librashader/releases/tag/librashader-v0.6.1
https://github.com/SnowflakePowered/librashader/releases/tag/librashader-v0.6.2
Version 0.6.0 was skipped due to a release configuration error.
PR: 282874 |
0.5.1 14 Nov 2024 08:43:22
    |
Robert Clausecker (fuz)  Author: Stefan Schlosser |
devel/librashader: update to 0.5.1
Changes:
https://github.com/SnowflakePowered/librashader/releases/tag/librashader-v0.5.0
https://github.com/SnowflakePowered/librashader/releases/tag/librashader-v0.5.1
Version 0.5.0 bumps the ABI to 2, and is thus ABI-incompatible with versions of
librashader prior to 0.5.0. Trying to load this version of librashader will fail
if the application only supports ABI 1.
Upstream's librashader-build-script doesn't do more than to compile the package
librashader-capi and to move the resulting files around. Therefore the port uses
the standard do-build target from the ports framework by setting CARGO_FEATURES
and CARGO_BUILD_ARGS appropriately instead.
This standardization also allows us to drop the DEBUG port option. Generating a
debug build is now controlled by setting WITH_DEBUG, see also Mk/Uses/cargo.mk.
The port now only compiles the OpenGL and Vulkan runtimes by specifying the
appropriate CARGO_FEATURES. This excludes compiling the unneeded Metal and
DirectX runtimes.
PR: 282547
MFH: no (ABI break) |
0.4.5_1 08 Nov 2024 08:24:20
    |
Mikael Urankar (mikael)  |
lang/rust: Bump revisions after 1.82.0
PR: 282516 |
0.4.5 23 Oct 2024 03:11:24
    |
Yuri Victorovich (yuri)  |
Mk/Uses/cargo.mk: Remove cross-compilation options for Rust-based ports
Reasons:
* Port build shouldn't use cross-compilation mode
because it buids for the same architecture.
* RUSTFLAGS isn't passed to the build of all or some Rust ports
in the cross-compilation mode.
Essential changes:
* Remove the CARGO_BUILD_TARGET make variable.
* Remove CARGO_BUILD_TARGET and CARGO_TARGET_* from CARGO_ENV.
* Update many ports that used CARGO_BUILD_TARGET.
* Build paths now don't include the architecture triplet part.
Immadiate benefits: (Only the first 15 lines of the commit message are shown above ) |
0.4.5 25 Sep 2024 06:28:06
    |
Robert Clausecker (fuz)  Author: Stefan Schlosser |
devel/librashader: update to 0.4.5
Changes:
https://github.com/SnowflakePowered/librashader/releases/tag/librashader-v0.4.3
https://github.com/SnowflakePowered/librashader/releases/tag/librashader-v0.4.5
Version 0.4.3 allows building on stable Rust, so the port has switched from
building with lang/rust-nightly to lang/rust. When building on stable Rust,
upstream's librashader-build-script doesn't generate the C headers anymore.
The port has to package the pre-generated headers instead. This shouldn't
have any user-visible effects for consumers.
Version 0.4.4 was skipped due to a release configuration error.
PR: 281525
Event: EuroBSDcon 2024 |
0.4.2 14 Sep 2024 11:53:51
    |
Zsolt Udvari (uzsolt)  Author: Stefan Schlosser |
devel/librashader: Update to 0.4.2
Changes:
https://github.com/SnowflakePowered/librashader/releases/tag/librashader-v0.4.0
https://github.com/SnowflakePowered/librashader/releases/tag/librashader-v0.4.1
https://github.com/SnowflakePowered/librashader/releases/tag/librashader-v0.4.2
PR: 281331
Approved by: submitter is maintainer |
0.3.3 26 Aug 2024 08:20:18
    |
Yuri Victorovich (yuri)  Author: Stefan Schlosser |
devel/librashader: New port: RetroArch shaders for all
PR: 280470 |