git: 7c11e53ddb85 - main - multimedia/aom: update to 3.10.0

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sat, 31 Aug 2024 00:58:20 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7c11e53ddb85dda188fee6c741f7b25bece780e8

commit 7c11e53ddb85dda188fee6c741f7b25bece780e8
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-08-27 18:17:57 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-08-31 00:57:58 +0000

    multimedia/aom: update to 3.10.0
    
    Changes:        https://aomedia.googlesource.com/aom/+log/v3.9.1..v3.10.0
    Reported by:    Repology, portscout
---
 multimedia/aom/Makefile                                     |  2 +-
 multimedia/aom/distinfo                                     |  6 +++---
 multimedia/aom/files/patch-CMakeLists.txt                   |  6 +++---
 multimedia/aom/files/patch-build_cmake_aom__configure.cmake | 12 ++++++------
 4 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/multimedia/aom/Makefile b/multimedia/aom/Makefile
index 9b5d6508a170..799f356ab651 100644
--- a/multimedia/aom/Makefile
+++ b/multimedia/aom/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	aom
-DISTVERSION=	3.9.1
+DISTVERSION=	3.10.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 a553424c0d01..2a85e3406231 100644
--- a/multimedia/aom/distinfo
+++ b/multimedia/aom/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1717625991
-SHA256 (libaom-3.9.1.tar.gz) = dba99fc1c28aaade28dda59821166b2fa91c06162d1bc99fde0ddaad7cecc50e
-SIZE (libaom-3.9.1.tar.gz) = 5524048
+TIMESTAMP = 1724782677
+SHA256 (libaom-3.10.0.tar.gz) = 55ccb6816fb4b7d508d96a95b6e9cc3d2c0ae047f9f947dbba03720b56d89631
+SIZE (libaom-3.10.0.tar.gz) = 5445319
diff --git a/multimedia/aom/files/patch-CMakeLists.txt b/multimedia/aom/files/patch-CMakeLists.txt
index 91b299b29a9d..f70950e398d8 100644
--- a/multimedia/aom/files/patch-CMakeLists.txt
+++ b/multimedia/aom/files/patch-CMakeLists.txt
@@ -1,13 +1,13 @@
 - Drop unused static libhwy dependency when using shared libjxl
 
---- CMakeLists.txt.orig	2022-06-16 19:13:50 UTC
+--- CMakeLists.txt.orig	2024-08-27 18:17:57 UTC
 +++ CMakeLists.txt
-@@ -565,13 +565,6 @@ if(CONFIG_AV1_ENCODER)
+@@ -588,13 +588,6 @@ if(CONFIG_AV1_ENCODER)
        if(LIBJXL_CFLAGS)
          append_compiler_flag("${LIBJXL_CFLAGS}")
        endif()
 -      pkg_check_modules(LIBHWY REQUIRED libhwy)
--      target_link_libraries(aom PRIVATE ${LIBHWY_LDFLAGS} ${LIBHWY_LIBRARIES})
+-      target_link_libraries(aom PRIVATE ${LIBHWY_LDFLAGS})
 -      target_include_directories(aom_dsp_encoder
 -                                 PRIVATE ${LIBLIBHWY_INCLUDE_DIRS})
 -      if(LIBHWY_CFLAGS)
diff --git a/multimedia/aom/files/patch-build_cmake_aom__configure.cmake b/multimedia/aom/files/patch-build_cmake_aom__configure.cmake
index 4670783ec104..084689c6b170 100644
--- a/multimedia/aom/files/patch-build_cmake_aom__configure.cmake
+++ b/multimedia/aom/files/patch-build_cmake_aom__configure.cmake
@@ -1,7 +1,7 @@
 - FreeBSD and NetBSD powerpc* targets don't abbreviate to ppc*
 - ARM uses compiler intrinsics, so don't require GNU as
 
---- build/cmake/aom_configure.cmake.orig	2024-01-17 20:24:28 UTC
+--- build/cmake/aom_configure.cmake.orig	2024-08-27 18:17:57 UTC
 +++ build/cmake/aom_configure.cmake
 @@ -73,7 +73,7 @@ if(NOT AOM_TARGET_CPU)
      set(AOM_TARGET_CPU "${cpu_lowercase}")
@@ -12,11 +12,10 @@
      set(AOM_TARGET_CPU "ppc")
    else()
      message(WARNING "The architecture ${CMAKE_SYSTEM_PROCESSOR} is not "
-@@ -181,35 +181,6 @@ if(AOM_TARGET_CPU STREQUAL "x86" OR AOM_TARGET_CPU STR
-         "To build without optimizations, add -DAOM_TARGET_CPU=generic to "
+@@ -182,35 +182,6 @@ if(AOM_TARGET_CPU STREQUAL "x86" OR AOM_TARGET_CPU STR
          "your cmake command line.")
    endif()
--  string(STRIP "${AOM_AS_FLAGS}" AOM_AS_FLAGS)
+   string(STRIP "${AOM_AS_FLAGS}" AOM_AS_FLAGS)
 -elseif(AOM_TARGET_CPU MATCHES "arm")
 -  if(AOM_TARGET_SYSTEM STREQUAL "Darwin")
 -    if(NOT CMAKE_ASM_COMPILER)
@@ -25,7 +24,7 @@
 -    set(AOM_AS_FLAGS -arch ${AOM_TARGET_CPU} -isysroot ${CMAKE_OSX_SYSROOT})
 -  elseif(AOM_TARGET_SYSTEM STREQUAL "Windows")
 -    if(NOT CMAKE_ASM_COMPILER)
--      set(CMAKE_ASM_COMPILER ${CMAKE_C_COMPILER} -c -mimplicit-it=always)
+-      set(CMAKE_ASM_COMPILER ${CMAKE_C_COMPILER} "-c -mimplicit-it=always")
 -    endif()
 -  else()
 -    if(NOT CMAKE_ASM_COMPILER)
@@ -45,6 +44,7 @@
 -        "cmake command line.")
 -  endif()
 -  enable_language(ASM)
-   string(STRIP "${AOM_AS_FLAGS}" AOM_AS_FLAGS)
+-  string(STRIP "${AOM_AS_FLAGS}" AOM_AS_FLAGS)
  endif()
  
+ if(CONFIG_ANALYZER)