public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [flatpaks/flatpak-runtime] f45: Accept 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 : e193691903dee205086533cb791b54f3a07dc156
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2026-03-02T21:13:16-05:00
            Stats  : +8/-14 in 2 file(s)
            URL    : https://src.fedoraproject.org/flatpaks/flatpak-runtime/c/e193691903dee205086533cb791b54f3a07dc156?branch=f45

            Log:
            Accept openh264 extension

This is a Fedora-specific extension which gets the Fedora builds from
Cisco on the user's machine with extra-data, and automatically takes
precedence over the noopenh264 dummy library in the runtime.

---
diff --git a/container-sdk.in.yaml b/container-sdk.in.yaml
index be03dba..d99477d 100644
--- a/container-sdk.in.yaml
+++ b/container-sdk.in.yaml
@@ -39,6 +39,10 @@ flatpak:
         @ID_PREFIX@.Platform.Locale:
             directory: share/runtime/locale
             autodelete: true
+        @ID_PREFIX@.Platform.openh264:
+            directory: lib64/openh264
+            add-ld-path: extra
+            autodelete: true
         @ID_PREFIX@.Gtk3theme:
             directory: share/runtime/share/themes
             version: '3.22'
@@ -60,10 +64,6 @@ flatpak:
         --env=TCLLIBPATH=/app/lib64/tcl8.6
         --env=XDG_DATA_DIRS=/app/share:/usr/share:/usr/share/runtime/share:/run/host/user-share:/run/host/share
         --env=GPROFNG_SYSCONFDIR=/etc
-        --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
@@ -88,9 +88,6 @@ flatpak:
         # https://gitlab.com/freedesktop-sdk/freedesktop-sdk/-/issues/857
         sed -e '/~\/\.asoundrc/d' -e 's|/alsa/asoundrc|/asound.conf|' /usr/share/alsa/alsa.conf
 
-        # Create a directory for mounting extension points
-        mkdir -p /usr/lib64/openh264
-
         # Create symlinks to expected locations from GL extensions
         rm -fr /etc/{egl,glvnd,OpenCL,vulkan}
         rm -fr /usr/lib64/{clc,d3d,dri,gallium-pipe,gbm,vdpau}/

diff --git a/container.in.yaml b/container.in.yaml
index 0481e62..c7de450 100644
--- a/container.in.yaml
+++ b/container.in.yaml
@@ -39,6 +39,10 @@ flatpak:
         @ID_PREFIX@.Platform.Locale:
             directory: share/runtime/locale
             autodelete: true
+        @ID_PREFIX@.Platform.openh264:
+            directory: lib64/openh264
+            add-ld-path: extra
+            autodelete: true
         @ID_PREFIX@.Gtk3theme:
             directory: share/runtime/share/themes
             version: '3.22'
@@ -59,10 +63,6 @@ flatpak:
         --env=PYTHONUSERBASE=/var/data/python
         --env=TCLLIBPATH=/app/lib64/tcl8.6
         --env=XDG_DATA_DIRS=/app/share:/usr/share:/usr/share/runtime/share:/run/host/user-share:/run/host/share
-        --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
@@ -89,9 +89,6 @@ flatpak:
         # https://gitlab.com/freedesktop-sdk/freedesktop-sdk/-/issues/857
         sed -e '/~\/\.asoundrc/d' -e 's|/alsa/asoundrc|/asound.conf|' /usr/share/alsa/alsa.conf
 
-        # Create a directory for mounting extension points
-        mkdir -p /usr/lib64/openh264
-
         # Create symlinks to expected locations from GL extensions
         rm -fr /etc/{egl,glvnd,OpenCL,vulkan}
         rm -fr /usr/lib64/{clc,d3d,dri,gallium-pipe,gbm,vdpau}/

^ 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: Accept 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