[packages/firefox] include system aom libs/flags when linking libmozavcodec

atler atler at pld-linux.org
Wed Mar 5 19:20:42 CET 2025


commit 005b2f42d461fefdee40734be722cea66f56f823
Author: Jan Palus <atler at pld-linux.org>
Date:   Wed Mar 5 18:58:53 2025 +0100

    include system aom libs/flags when linking libmozavcodec
    
    ffvpx built with video support only on x86_64, other archs use
    audio-only "profile"

 system-av1-link.patch | 11 +++++++++++
 1 file changed, 11 insertions(+)
---
diff --git a/system-av1-link.patch b/system-av1-link.patch
index ae132d7..62d7ebc 100644
--- a/system-av1-link.patch
+++ b/system-av1-link.patch
@@ -22,3 +22,14 @@
  # libogg symbols
  ogg_calloc_func
  ogg_free_func
+--- firefox-136.0/media/ffvpx/libavcodec/moz.build.orig	2025-02-27 19:17:41.000000000 +0100
++++ firefox-136.0/media/ffvpx/libavcodec/moz.build	2025-03-05 18:57:12.946441934 +0100
+@@ -121,6 +121,8 @@
+     ]
+ 
+     if CONFIG["MOZ_SYSTEM_AV1"]:
++        CFLAGS += CONFIG['MOZ_SYSTEM_LIBAOM_CFLAGS']
++        OS_LIBS += CONFIG['MOZ_SYSTEM_LIBAOM_LIBS']
+         CFLAGS += CONFIG['MOZ_SYSTEM_LIBDAV1D_CFLAGS']
+         OS_LIBS += CONFIG['MOZ_SYSTEM_LIBDAV1D_LIBS']
+     else:
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/firefox.git/commitdiff/005b2f42d461fefdee40734be722cea66f56f823



More information about the pld-cvs-commit mailing list