Compare commits

..

40 commits

Author SHA1 Message Date
Dominik 'Rathann' Mierzejewski
a6b34154ea stop exporting AOM_STATIC_LIBRARIES in CMake config
The variable references the AOM::aom_static target which we're patching
out.

Resolves rhbz#2426269 .
2026-01-05 16:14:37 +01:00
Dominik 'Rathann' Mierzejewski
2f8edd40b3 drop aom_static from installed .cmake files
We don't ship it anyway, and it breaks AOM detection using cmake.

- libaom-devel: add explicit dependency on main package for aomdec
  binary expected by cmake files
2025-12-30 21:19:36 +01:00
Dominik 'Rathann' Mierzejewski
37f6454cc9 fix nasm detection with nasm 3
Backports upstream fix.
2025-10-14 11:08:23 +02:00
Fabio Valentini
2026b73ed4
Update to version 3.13.1 2025-09-07 16:16:59 +02:00
Fabio Valentini
292315b7c1
Update to version 3.13.0; Fixes RHBZ#2359193 2025-09-03 20:49:39 +02:00
Fedora Release Engineering
253d0108a9 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-23 17:04:42 +00:00
Dominik 'Rathann' Mierzejewski
a1460a438a use nasm instead of unmaintained yasm
See https://fedoraproject.org/wiki/Changes/DeprecateYASM for details.
2025-07-22 09:19:48 +02:00
Robert-André Mauchin
7b6a27395f Update to 3.12.0
Close: rhbz#2344781
2025-02-11 02:38:48 +01:00
Robert-André Mauchin
7298adf6e7 Update to 3.11
Close: rhbz#2291234
2025-02-05 19:58:08 +01:00
Robert-André Mauchin
fecf8cb936 Fix FTBFS with GCC15
The issue was within third party libwebm mkvparser module.

It was fixed upstream in https://aomedia.issues.chromium.org/issues/357622679
by adding a missing <cstdint> include to `mkvparser/mkvparser.cc`

Fix: rhbz#2339894
2025-01-30 06:18:01 +01:00
Fedora Release Engineering
6d7cfa16db Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-16 11:13:23 +00:00
Fedora Release Engineering
30700c9ae5 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-17 17:08:56 +00:00
Nicolas Chauvet
3223257faa Rebuild for vmaf 2024-07-16 19:35:41 +02:00
Fabio Valentini
0d352aae9a
Update to version 3.9.0; Fixes RHBZ#2274372 2024-05-15 22:23:22 +02:00
Sérgio M. Basto
78268a2012 jpegxl-0.10.x did not land on F40 2024-04-18 15:34:51 +01:00
Sérgio M. Basto
a8328c6e2a Fix build for eln 2024-04-18 13:33:09 +01:00
Fabio Valentini
466ada492d
Update to version 3.8.2; Fixes RHBZ#2258897 2024-03-14 17:51:09 +01:00
Sérgio M. Basto
25efcdccdf Rebuild for jpegxl (libjxl) 0.10.2 2024-03-13 01:51:06 +00:00
Sérgio M. Basto
77b1b94192 fix previous commit 2024-02-14 01:53:30 +00:00
Sérgio M. Basto
866ca0946e Disable jpegxl on Fedora 40+ jpegxl 0.9 removed butteraugli api 2024-02-14 01:45:08 +00:00
Sérgio M. Basto
f854aac5ad Rebuild for jpegxl (libjxl) 0.9.2 with soname bump 2024-02-14 01:37:21 +00:00
Fedora Release Engineering
914f16777d Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-22 23:11:43 +00:00
Fedora Release Engineering
ec2b97e0f4 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-19 13:09:06 +00:00
Fabio Valentini
ef9b0cdb25
Update to version 3.8.0; Fixes RHBZ#2252498 2023-12-28 14:59:37 +01:00
Fabio Valentini
d10cd72734
Update to version 3.7.1; Fixes RHBZ#2250720 2023-11-29 16:06:16 +01:00
Fabio Valentini
fe0a0f7b93
Update to version 3.7.0; Fixes RHBZ#2236624 2023-09-01 21:26:03 +02:00
Fedora Release Engineering
b5440d6e1d Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-19 13:26:24 +00:00
Fabio Valentini
40f771cc93
Update to version 3.6.1; Fixes RHBZ#2193518 2023-06-20 10:21:28 +02:00
Sérgio M. Basto
9a6c91a157 Mass rebuild for jpegxl-0.8.1 2023-06-18 20:34:37 +01:00
Robert-André Mauchin
c26ee404fc Update to 3.6.0
Close: rhbz#2162146
2023-03-18 18:53:09 +01:00
Fedora Release Engineering
47b04c2460 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-18 21:52:19 +00:00
Robert-André Mauchin
a1960ad98b Enable JPEGXL dependency 2022-11-19 22:24:06 +01:00
Robert-André Mauchin
bcfaeddf2f Update to 3.5.0
Close: rhbz#2132949
2022-10-09 21:19:27 +02:00
Fedora Release Engineering
ef388c8553 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-20 20:57:22 +00:00
Robert-André Mauchin
06ebe4eb56 Fix aom_version variable 2022-06-19 22:37:13 +02:00
Robert-André Mauchin
9ef1e07ce9 Update to 3.4.0 Close: rhbz#2049182, rhbz#2083009 2022-06-19 18:58:49 +02:00
Fedora Release Engineering
2de29037ff - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-19 21:22:59 +00:00
Robert-André Mauchin
2319ca1c90 Adapt for EPEL9 2021-12-17 18:45:33 +01:00
Robert-André Mauchin
eec59769aa Remove old source archive 2021-12-17 15:31:13 +01:00
Björn Esser
d498adfc69
Rebuild (jpegxl) 2021-11-22 00:59:42 +01:00
5 changed files with 117 additions and 21 deletions

15
.gitignore vendored
View file

@ -8,3 +8,18 @@
/aom-7fadc0e.tar.gz
/aom-ae2be80.tar.gz
/aom-287164d.tar.gz
/aom-f9babb6.tar.gz
/aom-87460ce.tar.gz
/aom-fc430c5.tar.gz
/aom-3.5.0.tar.gz
/aom-3.6.0.tar.gz
/aom-3.6.1.tar.gz
/aom-3.7.0.tar.gz
/aom-3.7.1.tar.gz
/aom-3.8.0.tar.gz
/aom-3.8.2.tar.gz
/aom-3.9.0.tar.gz
/aom-3.11.0.tar.gz
/aom-3.12.0.tar.gz
/aom-3.13.0.tar.gz
/aom-3.13.1.tar.gz

View file

@ -0,0 +1,41 @@
From 6d2b7f71b98bfa28e372b1f2d85f137280bdb3de Mon Sep 17 00:00:00 2001
From: James Zern <jzern@google.com>
Date: Tue, 7 Oct 2025 14:08:44 -0700
Subject: [PATCH] cmake: fix nasm detection w/3.0
nasm 3.0 separated Oflags (-Ox) output to `-hO` which is used to
validate the nasm binary. This change is compatible with older versions
(tested with NASM version 2.16.03 & 2.13.02).
Bug: aomedia:448994065
Fixed: aomedia:448994065
Change-Id: I704dcfe39ac6e68bc4d5b9e409fb59a0d277170e
---
build/cmake/aom_optimization.cmake | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/build/cmake/aom_optimization.cmake b/build/cmake/aom_optimization.cmake
index 9cc34de362..2750a0be41 100644
--- a/build/cmake/aom_optimization.cmake
+++ b/build/cmake/aom_optimization.cmake
@@ -212,7 +212,7 @@ endfunction()
# Currently checks only for presence of required object formats and support for
# the -Ox argument (multipass optimization).
function(test_nasm)
- execute_process(COMMAND ${CMAKE_ASM_NASM_COMPILER} -hf
+ execute_process(COMMAND ${CMAKE_ASM_NASM_COMPILER} -hO
OUTPUT_VARIABLE nasm_helptext)
if(NOT "${nasm_helptext}" MATCHES "-Ox")
@@ -220,6 +220,8 @@ function(test_nasm)
FATAL_ERROR "Unsupported nasm: multipass optimization not supported.")
endif()
+ execute_process(COMMAND ${CMAKE_ASM_NASM_COMPILER} -hf
+ OUTPUT_VARIABLE nasm_helptext)
if("${AOM_TARGET_CPU}" STREQUAL "x86")
if("${AOM_TARGET_SYSTEM}" STREQUAL "Darwin")
if(NOT "${nasm_helptext}" MATCHES "macho32")
--
2.51.0

29
aom-nostatic.patch Normal file
View file

@ -0,0 +1,29 @@
diff -up aom-3.13.1/build/cmake/aom_install.cmake.orig aom-3.13.1/build/cmake/aom_install.cmake
--- aom-3.13.1/build/cmake/aom_install.cmake.orig 2025-09-07 16:11:27.789000000 +0200
+++ aom-3.13.1/build/cmake/aom_install.cmake 2025-12-30 21:08:54.594005985 +0100
@@ -79,7 +79,7 @@ macro(setup_aom_install_targets)
endif()
if(BUILD_SHARED_LIBS)
- set(AOM_INSTALL_LIBS aom aom_static)
+ set(AOM_INSTALL_LIBS aom)
else()
set(AOM_INSTALL_LIBS aom)
endif()
diff -up aom-3.13.1/build/cmake/config.cmake.in.orig aom-3.13.1/build/cmake/config.cmake.in
--- aom-3.13.1/build/cmake/config.cmake.in.orig 2025-09-07 16:11:27.791000000 +0200
+++ aom-3.13.1/build/cmake/config.cmake.in 2026-01-05 15:35:24.588489147 +0100
@@ -10,13 +10,6 @@ include("${CMAKE_CURRENT_LIST_DIR}/@AOM_
set_and_check(@PROJECT_NAME@_INCLUDE_DIRS "@PACKAGE_CMAKE_INSTALL_INCLUDEDIR@")
-# @PROJECT_NAME@::aom_static is defined only if BUILD_SHARED_LIBS=1 when libaom
-# was configured. When it is false, @PROJECT_NAME@::aom is a static library.
-if(TARGET @PROJECT_NAME@::aom_static)
- set(@PROJECT_NAME@_STATIC_LIBRARIES "@PROJECT_NAME@::aom_static")
-else()
- set(@PROJECT_NAME@_STATIC_LIBRARIES "@PROJECT_NAME@::aom")
-endif()
set(@PROJECT_NAME@_LIBRARIES "@PROJECT_NAME@::aom")
check_required_components(@PROJECT_NAME@)

View file

@ -1,27 +1,29 @@
%global sover 3
# git describe
%global aom_version v3.2.0
%global aom_version v3.13.1
# Use commit with updated changelog for correct versioning
%global commit 287164de79516c25c8c84fd544f67752c170082a
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global snapshotdate 20211013
%if 0%{?fedora}
%if 0%{?fedora} || 0%{?rhel} >= 9
%ifarch x86_64
%bcond_without vmaf
%endif
%if 0%{?fedora} > 40 || 0%{?rhel} > 9
%bcond_with jpegxl
%else
%bcond_without jpegxl
%endif
%endif
Name: aom
Version: 3.2.0
Version: 3.13.1
Release: %autorelease
Summary: Royalty-free next-generation video format
License: BSD
License: BSD-3-Clause
URL: http://aomedia.org/
Source0: https://aomedia.googlesource.com/%{name}/+archive/%{commit}.tar.gz#/%{name}-%{shortcommit}.tar.gz
Source: https://aomedia.googlesource.com/%{name}/+archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
# https://aomedia.issues.chromium.org/issues/448994065
Patch: 0001-cmake-fix-nasm-detection-w-3.0.patch
# Building static library breaks .cmake files if we don't ship it, so drop it
Patch: aom-nostatic.patch
BuildRequires: gcc-c++
BuildRequires: gcc
@ -32,7 +34,7 @@ BuildRequires: git-core
BuildRequires: perl-interpreter
BuildRequires: perl(Getopt::Long)
BuildRequires: python3-devel
BuildRequires: yasm
BuildRequires: nasm
%if %{with jpegxl}
BuildRequires: pkgconfig(libjxl)
BuildRequires: pkgconfig(libhwy)
@ -67,22 +69,30 @@ video format.
%package -n libaom-devel
Summary: Development files for aom
# cmake files assume /usr/bin/aomdec is present
Requires: aom%{?_isa} = %{version}-%{release}
Requires: libaom%{?_isa} = %{version}-%{release}
%description -n libaom-devel
Development files for aom, the royalty-free next-generation
video format.
%package -n libaom-devel-docs
Summary: Documentation for libaom
Requires: libaom-devel%{?_isa} = %{version}-%{release}
%description -n libaom-devel-docs
Documentation for libaom, the royalty-free next-generation
video format.
%prep
%autosetup -p1 -c %{name}-%{commit}
%autosetup -p1 -c %{name}-%{version}
# Set GIT revision in version
sed -i 's@set(aom_version "")@set(aom_version "%{aom_version}")@' build/cmake/version.cmake
# Disable PDF generation which is buggy
sed -i "s@GENERATE_LATEX = YES@GENERATE_LATEX = NO@" libs.doxy_template
%build
%ifarch %{arm}
%global optflags %{__global_compiler_flags} -march=armv7-a -mfpu=neon -mtune=cortex-a8 -mabi=aapcs-linux -mfloat-abi=hard
%endif
%cmake3 -DENABLE_CCACHE=1 \
-DCMAKE_SKIP_RPATH=1 \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
@ -102,7 +112,6 @@ sed -i 's@set(aom_version "")@set(aom_version "%{aom_version}")@' build/cmake/ve
%install
%cmake3_install
rm -rvf %{buildroot}%{_libdir}/libaom.a
%files
%doc AUTHORS CHANGELOG README.md
@ -115,10 +124,13 @@ rm -rvf %{buildroot}%{_libdir}/libaom.a
%{_libdir}/libaom.so.%{sover}*
%files -n libaom-devel
%doc %{_vpath_builddir}/docs/html/
%{_includedir}/%{name}
%{_libdir}/libaom.so
%{_libdir}/cmake/AOM/
%{_libdir}/pkgconfig/%{name}.pc
%files -n libaom-devel-docs
%doc %{_vpath_builddir}/docs/html/
%changelog
%autochangelog

View file

@ -1,2 +1 @@
SHA512 (aom-287164d.tar.gz) = f4681f2ec0292baa8862992c9dd875e17189de3880275745fdd2a6bc8ec3130701beb60036c3f7f23d0241cb89dec04af791b220c032a2d23a397e0854e47d39
SHA512 (aom-ae2be80.tar.gz) = f8bebe9e23bee99c2c76093bd6ee2c0eb2d99420aa768bb87820051fa6990ee392a29e36c837252bfa2811c21d6e97a72245820bc182ca9398e23a2316d9d682
SHA512 (aom-3.13.1.tar.gz) = 20cdde0fc4304ba0056e4dac55838587a3671112ec74274f8dcb1588549a524ed9a8e702d1f068c46833dfb93f565eb5a03ab610b0222a6f137d3cd8a8866de7