From 5d783347ad2c427aceb9f90a084acd99ce71a7be Mon Sep 17 00:00:00 2001 From: mhmdanas Date: Sat, 15 Apr 2023 21:51:40 +0100 Subject: [PATCH] rav1e: update to 0.6.4. --- srcpkgs/rav1e/template | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/srcpkgs/rav1e/template b/srcpkgs/rav1e/template index e4589a60170e..021d7bbae413 100644 --- a/srcpkgs/rav1e/template +++ b/srcpkgs/rav1e/template @@ -1,21 +1,24 @@ # Template file for 'rav1e' pkgname=rav1e -version=0.6.3 +version=0.6.4 revision=1 build_style=cargo -hostmakedepends="nasm cargo-c" +hostmakedepends="cargo-c" short_desc="Fastest and safest AV1 encoder" maintainer="oreo639 " license="BSD-2-Clause" homepage="https://crates.io/crates/rav1e" distfiles="https://static.crates.io/crates/rav1e/rav1e-${version}.crate" -checksum=277898094f0d03c6a609e491324102daf5080e71c06b4b25e5acf8b89d26c945 +checksum=be22fc799d8dc5573ba290fd436cea91ccfc0c6b7e121750ea5939cc786429ec -if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then - # error: ran out of registers during register allocation - # LLVM ERROR: Cannot emit physreg copy instruction - make_check=no # Tests fail to compile -fi +case "$XBPS_TARGET_MACHINE" in + x86_64*) hostmakedepends+=" nasm" ;; + i686) + # error: ran out of registers during register allocation + # LLVM ERROR: Cannot emit physreg copy instruction + make_check=no # Tests fail to compile + ;; +esac post_build() { cargo auditable cbuild --release --target ${RUST_TARGET} \