public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowi@redhat.com>
To: git-commits@fedoraproject.org
Subject: [flatpaks/flatpak-runtime] f45: Add openh264 extension
Date: Fri, 11 Sep 2026 14:43:14 GMT	[thread overview]
Message-ID: <178913779483.1.2498074330806706610.flatpaks-flatpak-runtime-4d34171d0ccc@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-09-11 14:43 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=178913779483.1.2498074330806706610.flatpaks-flatpak-runtime-4d34171d0ccc@fedoraproject.org \
    --to=yselkowi@redhat.com \
    --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