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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/librashader | 0.12.1 |
| DragonFly | devel/librashader | 0.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.12.0_2 | 0.12.0_3 | - | 0.8.1_1 | 0.12.1 |
| FreeBSD:14:quarterly | 0.12.0_2 | 0.12.0_2 | n/a | 0.8.1 | 0.12.0_2 |
| FreeBSD:15:latest | 0.12.0_3 | 0.12.1 | n/a | 0.8.1_1 | 0.8.1_1 |
| FreeBSD:15:quarterly | 0.12.0_2 | 0.12.0_2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.12.0_2 | 0.12.1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
patchelf>0: sysutils/patchelf
The full lists below include those, and their dependencies in turn.
Build dependencies 20
Required by 1
Configuration
Options name: devel_librashader
| Option | Default | Description |
|---|---|---|
| DOCS | off | Build and/or install documentation |
| EXAMPLES | off | Build and/or install examples |
- USES
- cargo
- Service scripts
- none
Message after installing
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
| File | Size | SHA256 |
|---|---|---|
| rust/crates/ab_glyph-0.2.32.crate | 20967 | 01c0457472c38ea5bd1c3b5ada5e368271cb550be7a4ca4a0b4634e9913f6cc2 |
| rust/crates/ab_glyph_rasterizer-0.1.10.crate | 11206 | 366ffbaa4442f4684d91e2cd7c5ea7c4ed8add41959a31447066e279e432b618 |
| rust/crates/adler2-2.0.1.crate | 13366 | 320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa |
| rust/crates/ahash-0.7.8.crate | 38550 | 891477e0c6a8957309ee5c45a6368af3ae14bb510732d2684ffa19af310920f9 |
| rust/crates/ahash-0.8.12.crate | 43413 | 5a15f179cd60c4584b8a8c596927aadc462e27f2ca70c04e0071964a73ba7a75 |
| rust/crates/aho-corasick-1.1.4.crate | 184015 | ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301 |
| rust/crates/allocator-api2-0.2.21.crate | 63622 | 683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923 |
| rust/crates/android-activity-0.5.2.crate | 258406 | ee91c0c2905bae44f84bfa4e044536541df26b7703fd0888deeb9060fcc44289 |
| rust/crates/android-properties-0.2.2.crate | 4563 | fc7eb209b1518d6bb87b283c20095f5228ecda460da70b44f0802523dea6da04 |
| rust/crates/android_system_properties-0.1.5.crate | 5243 | 819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311 |
| rust/crates/anstream-0.3.2.crate | 19504 | 0ca84f3628370c59db74ee214b3263d58f9aadd9b4fe7e711fd87dc452b7f163 |
| rust/crates/anstyle-1.0.14.crate | 17787 | 940b3a0ca603d1eade50a4846a2afffd5ef57a9feac2c0e2ec2e14f9ead76000 |
| rust/crates/anstyle-parse-0.2.7.crate | 21707 | 4e7644824f0aa2c7b9384579234ef10eb7efb6a0deb83f9630a49594dd9c15c2 |
| rust/crates/anstyle-query-1.1.5.crate | 10264 | 40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc |
| rust/crates/anstyle-wincon-1.0.2.crate | 11712 | c677ab05e09154296dd37acecd46420c17b9713e8366facafa8fc0885167cf4c |
| rust/crates/anyhow-1.0.102.crate | 48658 | 7f202df86484c868dbad7eaa557ef785d5c66295e41b460ef922eca0723b842c |
| rust/crates/arc-swap-1.9.1.crate | 81367 | 6a3a1fd6f75306b68087b831f025c712524bcb19aad54e557b1129cfa0a2b207 |
| rust/crates/array-concat-0.5.5.crate | 4379 | de9067cfeb22d851858da2a5af9a82e385d363623094efa61cef7a45e651fc81 |
| rust/crates/array-init-2.1.0.crate | 11927 | 3d62b7694a562cdf5a74227903507c56ab2cc8bdd1f781ed5cb4cf9c9f810bfc |
| rust/crates/arrayref-0.3.9.crate | 9186 | 76a2e8124351fda1ef8aaaa3bbd7ebbcb486bbcd4225aca0aa0d84bb2db8fecb |
Commit history 6
The latest 5 of 6 in the history this site was built from.