multimedia/aom: update to 3.13.0

Changes:	https://aomedia.googlesource.com/aom/+log/v3.12.1..v3.13.0
Reported by:	Repology, portscout
This commit is contained in:
Jan Beich 2025-09-02 22:59:58 +02:00
parent 7bceb0c8cb
commit ec0fd20989
4 changed files with 23 additions and 12 deletions

View File

@ -1,5 +1,5 @@
PORTNAME= aom
DISTVERSION= 3.12.1
DISTVERSION= 3.13.0
CATEGORIES= multimedia
MASTER_SITES= https://storage.googleapis.com/${PORTNAME}-releases/
DISTNAME= lib${PORTNAME}-${DISTVERSION}

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1744403869
SHA256 (libaom-3.12.1.tar.gz) = 9e9775180dec7dfd61a79e00bda3809d43891aee6b2e331ff7f26986207ea22e
SIZE (libaom-3.12.1.tar.gz) = 5497367
TIMESTAMP = 1756846798
SHA256 (libaom-3.13.0.tar.gz) = 5fe4453a8ffba138a6705a2f6d07666146a706342ef835ee82bf9e70bf9a77d6
SIZE (libaom-3.13.0.tar.gz) = 6253910

View File

@ -1,21 +1,27 @@
- Implement VSX detection on FreeBSD
--- aom_ports/ppc_cpudetect.c.orig 2021-07-20 22:23:15 UTC
--- aom_ports/ppc_cpudetect.c.orig 2025-09-02 20:59:58 UTC
+++ aom_ports/ppc_cpudetect.c
@@ -9,12 +9,6 @@
@@ -9,18 +9,11 @@
* PATENTS file, you can obtain it at www.aomedia.org/license/patent.
*/
-#include <fcntl.h>
-#include <unistd.h>
-#include <stdint.h>
-#include <asm/cputable.h>
-#include <linux/auxvec.h>
-
#include "config/aom_config.h"
#include "aom_ports/ppc.h"
@@ -37,6 +31,13 @@ static int cpu_env_mask(void) {
#if CONFIG_RUNTIME_CPU_DETECT
-#include <asm/cputable.h>
-#include <linux/auxvec.h>
-
static int cpu_env_flags(int *flags) {
char *env;
env = getenv("AOM_SIMD_CAPS");
@@ -38,6 +31,13 @@ static int cpu_env_mask(void) {
return env && *env ? (int)strtol(env, NULL, 0) : ~0;
}
@ -29,7 +35,7 @@
int ppc_simd_caps(void) {
int flags;
int mask;
@@ -75,6 +76,34 @@ out_close:
@@ -76,7 +76,35 @@ out_close:
close(fd);
return flags & mask;
}
@ -56,11 +62,12 @@
+
+ return flags & mask;
+}
+#else
#else
+#error \
+ "--enable-runtime-cpu-detect selected, but no CPU detection method " \
+"available for your platform. Reconfigure with --disable-runtime-cpu-detect."
+#endif /* end __FreeBSD__ */
#else
+#else
// If there is no RTCD the function pointers are not used and can not be
// changed.
int ppc_simd_caps(void) { return 0; }

View File

@ -10,6 +10,10 @@ include/aom/aom_image.h
include/aom/aom_integer.h
include/aom/aomcx.h
include/aom/aomdx.h
lib/cmake/AOM/AOMConfig.cmake
lib/cmake/AOM/AOMConfigVersion.cmake
lib/cmake/AOM/AOMTargets-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/AOM/AOMTargets.cmake
lib/libaom.a
lib/libaom.so
lib/libaom.so.3