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: Accept Codecs extensions
Date: Fri, 11 Sep 2026 14:43:36 GMT	[thread overview]
Message-ID: <178913781622.1.2711400094822273577.flatpaks-flatpak-runtime-6c6940a4216b@fedoraproject.org> (raw)

            A new commit has been pushed.

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

            Log:
            Accept Codecs extensions

The GStreamer extension point was never used.

---
diff --git a/container-sdk.in.yaml b/container-sdk.in.yaml
index 74f84da..c93325d 100644
--- a/container-sdk.in.yaml
+++ b/container-sdk.in.yaml
@@ -48,8 +48,10 @@ flatpak:
         @ID_PREFIX@.Platform.Locale:
             directory: share/runtime/locale
             autodelete: true
-        @ID_PREFIX@.Platform.GStreamer:
-            directory: lib64/extensions/gstreamer-1.0
+        @ID_PREFIX@.Platform.Codecs:
+            directory: lib64/codecs
+            add-ld-path: lib
+            merge-dirs: bin;lib/dri;lib/gstreamer-1.0;lib/libheif;share/gstreamer-1.0/presets
             subdirectories: true
             no-autodownload: true
         org.freedesktop.Platform.openh264:
@@ -76,11 +78,13 @@ flatpak:
         --env=ALSA_CONFIG_DIR=/usr/share/alsa
         --env=ALSA_CONFIG_PATH=/usr/share/alsa/alsa.conf
         --env=GI_TYPELIB_PATH=/app/lib64/girepository-1.0
-        --env=GST_PLUGIN_SYSTEM_PATH=/app/lib64/gstreamer-1.0:/usr/lib64/extensions/gstreamer-1.0:/usr/lib64/gstreamer-1.0
-        --env=LIBVA_DRIVERS_PATH=/usr/lib64/dri-intel-vaapi:/usr/lib64/dri-nvidia-vaapi:/usr/lib64/GL/lib/dri
+        --env=GST_PLUGIN_SYSTEM_PATH=/app/lib64/gstreamer-1.0:/usr/lib64/codecs/lib/gstreamer-1.0:/usr/lib64/gstreamer-1.0
+        --env=GST_PRESET_PATH=/usr/lib64/codecs/share/gstreamer-1.0/presets
+        --env=LIBHEIF_PLUGIN_PATH=/usr/lib64/codecs/lib/libheif:/usr/lib64/libheif
+        --env=LIBVA_DRIVERS_PATH=/usr/lib64/codecs/lib/dri:/usr/lib64/dri-intel-vaapi:/usr/lib64/dri-nvidia-vaapi:/usr/lib64/GL/lib/dri
         --env=LUA_PATH="/app/share/lua/5.4/?.lua;/app/share/lua/5.4/?/init.lua;/app/lib64/lua/5.4/?.lua;/app/lib64/lua/5.4/?/init.lua;;"
         --env=LUA_CPATH="/app/lib64/lua/5.4/?.so;;"
-        --env=PATH=/app/bin:/app/sbin:/usr/bin
+        --env=PATH=/app/bin:/app/sbin:/usr/lib64/codecs/bin:/usr/bin
         --env=PINENTRY_BINARY=/usr/bin/pinentry-gnome3
         --env=PYTHONUSERBASE=/var/data/python
         --env=TCLLIBPATH=/app/lib64/tcl8.6

diff --git a/container.in.yaml b/container.in.yaml
index b1b23ac..f8e8daf 100644
--- a/container.in.yaml
+++ b/container.in.yaml
@@ -48,8 +48,10 @@ flatpak:
         @ID_PREFIX@.Platform.Locale:
             directory: share/runtime/locale
             autodelete: true
-        @ID_PREFIX@.Platform.GStreamer:
-            directory: lib64/extensions/gstreamer-1.0
+        @ID_PREFIX@.Platform.Codecs:
+            directory: lib64/codecs
+            add-ld-path: lib
+            merge-dirs: bin;lib/dri;lib/gstreamer-1.0;lib/libheif;share/gstreamer-1.0/presets
             subdirectories: true
             no-autodownload: true
         org.freedesktop.Platform.openh264:
@@ -71,11 +73,13 @@ flatpak:
         --env=ALSA_CONFIG_DIR=/usr/share/alsa
         --env=ALSA_CONFIG_PATH=/usr/share/alsa/alsa.conf
         --env=GI_TYPELIB_PATH=/app/lib64/girepository-1.0
-        --env=GST_PLUGIN_SYSTEM_PATH=/app/lib64/gstreamer-1.0:/usr/lib64/extensions/gstreamer-1.0:/usr/lib64/gstreamer-1.0
-        --env=LIBVA_DRIVERS_PATH=/usr/lib64/dri-intel-vaapi:/usr/lib64/dri-nvidia-vaapi:/usr/lib64/GL/lib/dri
+        --env=GST_PLUGIN_SYSTEM_PATH=/app/lib64/gstreamer-1.0:/usr/lib64/codecs/lib/gstreamer-1.0:/usr/lib64/gstreamer-1.0
+        --env=GST_PRESET_PATH=/usr/lib64/codecs/share/gstreamer-1.0/presets
+        --env=LIBHEIF_PLUGIN_PATH=/usr/lib64/codecs/lib/libheif:/usr/lib64/libheif
+        --env=LIBVA_DRIVERS_PATH=/usr/lib64/codecs/lib/dri:/usr/lib64/dri-intel-vaapi:/usr/lib64/dri-nvidia-vaapi:/usr/lib64/GL/lib/dri
         --env=LUA_PATH="/app/share/lua/5.4/?.lua;/app/share/lua/5.4/?/init.lua;/app/lib64/lua/5.4/?.lua;/app/lib64/lua/5.4/?/init.lua;;"
         --env=LUA_CPATH="/app/lib64/lua/5.4/?.so;;"
-        --env=PATH=/app/bin:/app/sbin:/usr/bin
+        --env=PATH=/app/bin:/app/sbin:/usr/lib64/codecs/bin:/usr/bin
         --env=PINENTRY_BINARY=/usr/bin/pinentry-gnome3
         --env=PYTHONUSERBASE=/var/data/python
         --env=TCLLIBPATH=/app/lib64/tcl8.6

                 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=178913781622.1.2711400094822273577.flatpaks-flatpak-runtime-6c6940a4216b@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