[Bug 282547] devel/librashader: update to 0.5.1

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 04 Nov 2024 17:01:18 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282547

            Bug ID: 282547
           Summary: devel/librashader: update to 0.5.1
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: bsdcode@disroot.org
 Attachment #254939 maintainer-approval+
             Flags:

Created attachment 254939
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=254939&action=edit
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.


The current version 140 of consumer emulators/ares is incompatible to any
version of librashader >= 0.5.0. The port emulators/ares must be updated to
version 141 after committing this update. I'll provide an updatepatch for
emulators/ares right away.

-- 
You are receiving this mail because:
You are the assignee for the bug.