public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Dominik 'Rathann' Mierzejewski <dominik@greysector.net>
To: git-commits@fedoraproject.org
Subject: [rpms/aom] epel9: stop exporting AOM_STATIC_LIBRARIES in CMake config
Date: Tue, 22 Sep 2026 22:04:39 GMT	[thread overview]
Message-ID: <179011467900.1.5458913496046979485.rpms-aom-a8a6dc87d4b6@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/aom
            Branch : epel9
            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=epel9

            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@)

                 reply	other threads:[~2026-09-22 22:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179011467900.1.5458913496046979485.rpms-aom-a8a6dc87d4b6@fedoraproject.org \
    --to=dominik@greysector.net \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox