summaryrefslogtreecommitdiff
path: root/multimedia/aom
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/aom')
-rw-r--r--multimedia/aom/Makefile2
-rw-r--r--multimedia/aom/distinfo6
-rw-r--r--multimedia/aom/files/patch-aom__ports_ppc__cpudetect.c23
-rw-r--r--multimedia/aom/pkg-plist4
4 files changed, 23 insertions, 12 deletions
diff --git a/multimedia/aom/Makefile b/multimedia/aom/Makefile
index c7fa819d6008..b5dde536cff5 100644
--- a/multimedia/aom/Makefile
+++ b/multimedia/aom/Makefile
@@ -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}
diff --git a/multimedia/aom/distinfo b/multimedia/aom/distinfo
index 1e9af09f01fe..86c297daf08f 100644
--- a/multimedia/aom/distinfo
+++ b/multimedia/aom/distinfo
@@ -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
diff --git a/multimedia/aom/files/patch-aom__ports_ppc__cpudetect.c b/multimedia/aom/files/patch-aom__ports_ppc__cpudetect.c
index 271e41579143..91461196c7ba 100644
--- a/multimedia/aom/files/patch-aom__ports_ppc__cpudetect.c
+++ b/multimedia/aom/files/patch-aom__ports_ppc__cpudetect.c
@@ -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; }
diff --git a/multimedia/aom/pkg-plist b/multimedia/aom/pkg-plist
index fca3d5c5c228..9a08e39953a4 100644
--- a/multimedia/aom/pkg-plist
+++ b/multimedia/aom/pkg-plist
@@ -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