From 173a38e0e7cd5d4cd73fcabdda324b1b8b504a1c Mon Sep 17 00:00:00 2001 From: WyattBlue Date: Tue, 5 May 2026 01:26:44 -0400 Subject: [PATCH 1/2] Skip building nasm on non-x86 archs --- scripts/build-ffmpeg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build-ffmpeg.py b/scripts/build-ffmpeg.py index 621bf715..0047eee1 100644 --- a/scripts/build-ffmpeg.py +++ b/scripts/build-ffmpeg.py @@ -207,7 +207,7 @@ def main(): ) packages = [] - if plat != "Darwin" and "nasm" not in available_tools and machine not in {"arm64", "aarch64"}: + if plat != "Darwin" and "nasm" not in available_tools and machine in {"x86_64", "amd64", "i686", "i386"}: packages.append(nasm_package) if use_alsa: packages += [alsa_package] From bba73439a34774f48ed43355acd700f8b1128528 Mon Sep 17 00:00:00 2001 From: WyattBlue Date: Thu, 7 May 2026 19:06:02 -0400 Subject: [PATCH 2/2] Try this --- patches/ffmpeg.patch | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/patches/ffmpeg.patch b/patches/ffmpeg.patch index 1b108b0d..17db0765 100644 --- a/patches/ffmpeg.patch +++ b/patches/ffmpeg.patch @@ -20,14 +20,3 @@ index 8f9fb04115..a70c24378d 100755 gmp libaribb24 liblensfun -diff --git a/libavutil/riscv/cpu.c b/libavutil/riscv/cpu.c -index 8cc91625c7..481d63a39f 100644 ---- a/libavutil/riscv/cpu.c -+++ b/libavutil/riscv/cpu.c -@@ -36,6 +36,7 @@ - #include - #elif HAVE_ASM_HWPROBE_H - #include -+#include - #include - #include