public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [flatpaks/flatpak-runtime] f45: Add openh264 extension
@ 2026-09-11 14:43 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-09-11 14:43 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : flatpaks/flatpak-runtime
            Branch : f45
            Commit : 4d34171d0ccc765639f7ff5d35f748e2b38f1296
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2026-03-02T21:12:38-05:00
            Stats  : +12/-2 in 2 file(s)
            URL    : https://src.fedoraproject.org/flatpaks/flatpak-runtime/c/4d34171d0ccc765639f7ff5d35f748e2b38f1296?branch=f45

            Log:
            Add openh264 extension

This allows an already installed freedesktop openh264 extension (which
downloads the implementation from Cisco as extra data), to override the
noopenh264 dummy implementation on x86_64 and aarch64 (a ppc64le extension
is not available).

---
diff --git a/container-sdk.in.yaml b/container-sdk.in.yaml
index cf1eb76..9a9a943 100644
--- a/container-sdk.in.yaml
+++ b/container-sdk.in.yaml
@@ -26,6 +26,10 @@ flatpak:
         --extension=org.freedesktop.Platform.GL=download-if=active-gl-driver
         --extension=org.freedesktop.Platform.GL=enable-if=active-gl-driver
         --extension=org.freedesktop.Platform.GL=autoprune-unless=active-gl-driver
+        --extension=org.freedesktop.Platform.openh264=version=2.4.1
+        --extension=org.freedesktop.Platform.openh264=directory=lib64/openh264
+        --extension=org.freedesktop.Platform.openh264=add-ld-path=extra
+        --extension=org.freedesktop.Platform.openh264=no-autodownload=true
 
     # For applications, appstream-compose is run automatically along with other processing
     # of the tree. For runtimes, we have to run it manually. flatpak-module-tools local
@@ -41,8 +45,9 @@ flatpak:
         mv -f /usr/bin/flatpak-xdg-email /usr/bin/xdg-email
         mv -f /usr/bin/flatpak-xdg-open /usr/bin/xdg-open
 
-        # Create a directory for mounting org.freedesktop.Platform.GL extension point
+        # Create a directory for mounting extension points
         mkdir -p /usr/lib64/GL
+        mkdir -p /usr/lib64/openh264
 
         rm -r /etc/glvnd
         ln -s ../lib64/GL/glvnd /etc/glvnd

diff --git a/container.in.yaml b/container.in.yaml
index ceb071a..487e896 100644
--- a/container.in.yaml
+++ b/container.in.yaml
@@ -25,6 +25,10 @@ flatpak:
         --extension=org.freedesktop.Platform.GL=download-if=active-gl-driver
         --extension=org.freedesktop.Platform.GL=enable-if=active-gl-driver
         --extension=org.freedesktop.Platform.GL=autoprune-unless=active-gl-driver
+        --extension=org.freedesktop.Platform.openh264=version=2.4.1
+        --extension=org.freedesktop.Platform.openh264=directory=lib64/openh264
+        --extension=org.freedesktop.Platform.openh264=add-ld-path=extra
+        --extension=org.freedesktop.Platform.openh264=no-autodownload=true
 
     # For applications, appstream-compose is run automatically along with other processing
     # of the tree. For runtimes, we have to run it manually. flatpak-module-tools local
@@ -42,8 +46,9 @@ flatpak:
 
         rm -rf /etc/flatpak-builder/
 
-        # Create a directory for mounting org.freedesktop.Platform.GL extension point
+        # Create a directory for mounting extension points
         mkdir -p /usr/lib64/GL
+        mkdir -p /usr/lib64/openh264
 
         rm -r /etc/glvnd
         ln -s ../lib64/GL/glvnd /etc/glvnd

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

only message in thread, other threads:[~2026-09-11 14:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-11 14:43 [flatpaks/flatpak-runtime] f45: Add openh264 extension Yaakov Selkowitz

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