public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/aom] epel10.3: stop exporting AOM_STATIC_LIBRARIES in CMake config
@ 2026-09-22 22:10 Dominik 'Rathann' Mierzejewski
  0 siblings, 0 replies; only message in thread
From: Dominik 'Rathann' Mierzejewski @ 2026-09-22 22:10 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/aom
            Branch : epel10.3
            Commit : a8a6dc87d4b63fc2b16dd17393a522e60217607b
            Author : Dominik 'Rathann' Mierzejewski <dominik@greysector.net>
            Date   : 2026-09-22T22:37:49+01:00
            Stats  : +17/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/aom/c/a8a6dc87d4b63fc2b16dd17393a522e60217607b?branch=epel10.3

            Log:
            stop exporting AOM_STATIC_LIBRARIES in CMake config

The variable references the AOM::aom_static target which we're patching
out.

Resolves rhbz#2426269 .

(cherry picked from commit a6b34154ea58813f669470b33fa7d7e4ee1291b9)

---
diff --git a/aom-nostatic.patch b/aom-nostatic.patch
index acd6941..1755b03 100644
--- a/aom-nostatic.patch
+++ b/aom-nostatic.patch
@@ -10,3 +10,20 @@ diff -up aom-3.13.1/build/cmake/aom_install.cmake.orig aom-3.13.1/build/cmake/ao
      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@)

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-22 22:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-22 22:10 [rpms/aom] epel10.3: stop exporting AOM_STATIC_LIBRARIES in CMake config Dominik 'Rathann' Mierzejewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox