From 72efe7c3da705d3273bfdc951e19c888da89ce91 Mon Sep 17 00:00:00 2001 From: Funda Wang Date: Wed, 28 May 2025 10:05:36 +0800 Subject: [PATCH] use nasm instead of yasm --- aom.spec | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/aom.spec b/aom.spec index b196c94..154569a 100644 --- a/aom.spec +++ b/aom.spec @@ -12,11 +12,11 @@ Name: aom Version: 3.8.3 -Release: 1 +Release: 2 Summary: Royalty-free next-generation video format License: BSD-3-Clause -URL: http://aomedia.org/ +URL: https://aomedia.org/ Source0: https://aomedia.googlesource.com/%{name}/+archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Patch01: Fix-integer-overflows-in-calc-of-stride_in_bytes.patch @@ -24,7 +24,8 @@ Patch02: Avoid-integer-overflows-in-align_image_dimension.patch BuildRequires: gcc-c++ gcc cmake BuildRequires: doxygen git-core -BuildRequires: perl-interpreter perl(Getopt::Long) perl-interpreter python3-devel yasm +BuildRequires: perl-interpreter perl(Getopt::Long) perl-interpreter python3-devel +BuildRequires: nasm >= 2.14 %if %{with jpegxl} BuildRequires: pkgconfig(libjxl) BuildRequires: pkgconfig(libhwy) @@ -80,6 +81,7 @@ sed -i "s@GENERATE_LATEX = YES@GENERATE_LATEX = NO@" libs.doxy_t %cmake -DENABLE_CCACHE=1 \ -DCMAKE_SKIP_RPATH=1 \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DENABLE_NASM=ON \ -DCONFIG_WEBM_IO=1 \ -DENABLE_DOCS=1 \ -DCONFIG_ANALYZER=0 \ @@ -115,6 +117,9 @@ rm -rvf %{buildroot}%{_libdir}/libaom.a %{_libdir}/pkgconfig/%{name}.pc %changelog +* Fri May 16 2025 Funda Wang - 3.8.3-2 +- use nasm instead of yasm + * Wed Aug 07 2024 Funda Wang - 3.8.3-1 - update to 3.8.3 - force out-of-source build -- Gitee