BSD Ports

devel/librashader 0.12.1 FreeBSD

RetroArch shaders for all

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
2435a0d9e6
License
GPLv3, MIT, MPL20
Categories
devel
Package size
6434.0 KiB, 35367.7 KiB installed

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.

In the other systems

SystemPortVersion
FreeBSDdevel/librashader0.12.1
DragonFlydevel/librashader0.6.2_3

Install

Binary package:

pkg install librashader

From the ports tree:

cd /usr/ports/devel/librashader/ && make install clean

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

RUN_DEPENDS=	librashader>0:devel/librashader
LIB_DEPENDS=	librashader.so:devel/librashader

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:latest0.12.0_20.12.0_3-0.8.1_10.12.1
FreeBSD:14:quarterly0.12.0_20.12.0_2n/a0.8.10.12.0_2
FreeBSD:15:latest0.12.0_30.12.1n/a0.8.1_10.8.1_1
FreeBSD:15:quarterly0.12.0_20.12.0_2n/an/an/a
FreeBSD:16:latest0.12.0_20.12.1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

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

Build dependencies 20
Required by 1

Configuration

Options name: devel_librashader

OptionDefaultDescription
DOCSoffBuild and/or install documentation
EXAMPLESoffBuild and/or install examples
USES
cargo
Service scripts
none

Message after installing

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

Files

pkg-plist 10
  • include/librashader/librashader.h
  • include/librashader/librashader_ld.h
  • lib/librashader.a
  • lib/librashader.so
  • lib/librashader.so.2
  • libdata/pkgconfig/librashader.pc
  • share/doc/librashader/BROKEN_SHADERS.md
  • share/doc/librashader/MIGRATION-ABI2.md
  • share/doc/librashader/README.md
  • share/examples/librashader/README.md
distinfo 461
FileSizeSHA256
rust/crates/ab_glyph-0.2.32.crate2096701c0457472c38ea5bd1c3b5ada5e368271cb550be7a4ca4a0b4634e9913f6cc2
rust/crates/ab_glyph_rasterizer-0.1.10.crate11206366ffbaa4442f4684d91e2cd7c5ea7c4ed8add41959a31447066e279e432b618
rust/crates/adler2-2.0.1.crate13366320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa
rust/crates/ahash-0.7.8.crate38550891477e0c6a8957309ee5c45a6368af3ae14bb510732d2684ffa19af310920f9
rust/crates/ahash-0.8.12.crate434135a15f179cd60c4584b8a8c596927aadc462e27f2ca70c04e0071964a73ba7a75
rust/crates/aho-corasick-1.1.4.crate184015ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301
rust/crates/allocator-api2-0.2.21.crate63622683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923
rust/crates/android-activity-0.5.2.crate258406ee91c0c2905bae44f84bfa4e044536541df26b7703fd0888deeb9060fcc44289
rust/crates/android-properties-0.2.2.crate4563fc7eb209b1518d6bb87b283c20095f5228ecda460da70b44f0802523dea6da04
rust/crates/android_system_properties-0.1.5.crate5243819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311
rust/crates/anstream-0.3.2.crate195040ca84f3628370c59db74ee214b3263d58f9aadd9b4fe7e711fd87dc452b7f163
rust/crates/anstyle-1.0.14.crate17787940b3a0ca603d1eade50a4846a2afffd5ef57a9feac2c0e2ec2e14f9ead76000
rust/crates/anstyle-parse-0.2.7.crate217074e7644824f0aa2c7b9384579234ef10eb7efb6a0deb83f9630a49594dd9c15c2
rust/crates/anstyle-query-1.1.5.crate1026440c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc
rust/crates/anstyle-wincon-1.0.2.crate11712c677ab05e09154296dd37acecd46420c17b9713e8366facafa8fc0885167cf4c
rust/crates/anyhow-1.0.102.crate486587f202df86484c868dbad7eaa557ef785d5c66295e41b460ef922eca0723b842c
rust/crates/arc-swap-1.9.1.crate813676a3a1fd6f75306b68087b831f025c712524bcb19aad54e557b1129cfa0a2b207
rust/crates/array-concat-0.5.5.crate4379de9067cfeb22d851858da2a5af9a82e385d363623094efa61cef7a45e651fc81
rust/crates/array-init-2.1.0.crate119273d62b7694a562cdf5a74227903507c56ab2cc8bdd1f781ed5cb4cf9c9f810bfc
rust/crates/arrayref-0.3.9.crate918676a2e8124351fda1ef8aaaa3bbd7ebbcb486bbcd4225aca0aa0d84bb2db8fecb

Commit history 6

DateCommitCreditsLog message
2435a0d9e6 Stefan Schlosser devel/librashader: Update 0.12.0 => 0.12.1
Changelog: https://github.com/SnowflakePowered/librashader/releases/tag/librashader-v0.12.1 PR: 299328 Approved by: osa, vvd (Mentors, implicit)
9c878207a1 Mikael Urankar lang/rust: Bump revisions after 1.99.0
PR: 299016
7316461925 Mikael Urankar lang/rust: Bump revisions after 1.98.1
PR: 298139
9c892d2601 Mikael Urankar lang/rust: Bump revisions after 1.97.1
PR: 296645
08b6319eff Stefan Schlosser devel/librashader: Update 0.11.3 to 0.12.0
Changelogs: https://github.com/SnowflakePowered/librashader/releases/tag/librashader-v0.11.4 https://github.com/SnowflakePowered/librashader/releases/tag/librashader-v0.12.0 PR: 296551

The latest 5 of 6 in the history this site was built from.