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

            A new commit has been pushed.

            Repo   : flatpaks/flatpak-runtime
            Branch : f45
            Commit : a42079e8e4c511ec1f673e39386fcd9e911ea67b
            Author : Owen W. Taylor <otaylor@fishsoup.net>
            Date   : 2020-03-20T21:51:58+01:00
            Stats  : +36/-0 in 2 file(s)
            URL    : https://src.fedoraproject.org/flatpaks/flatpak-runtime/c/a42079e8e4c511ec1f673e39386fcd9e911ea67b?branch=f45

            Log:
            Add flatpak metadata section

Add a flatpak: xmd section to allow tooling, when building a
Flatpak from a module that buildrequires flatpak-runtime, to figure
out the right runtime reference to embed into the Flatpak.

---
diff --git a/flatpak-runtime.in.yaml b/flatpak-runtime.in.yaml
index 8d67abe..07cbd21 100644
--- a/flatpak-runtime.in.yaml
+++ b/flatpak-runtime.in.yaml
@@ -38,3 +38,23 @@ data:
             flatpak-runtime-config:
                 rationale: Runtime configuration files
                 ref: master
+    xmd:
+        # This is used when building applications against this module so that
+        # the resulting Flatpak will embed a reference to the correct runtime
+        flatpak:
+            branch: f28
+            runtimes:
+                # Map from profile name to pre-profile information - the
+                # profile named 'runtime' is the default.
+                runtime:
+                    id: org.fedoraproject.Platform
+                    sdk: org.fedoraproject.Sdk
+                sdk:
+                    id: org.fedoraproject.Sdk
+                    sdk: org.fedoraproject.Platform
+                runtime-base:
+                    id: org.fedoraproject.BasePlatform
+                    sdk: org.fedoraproject.BaseSdk
+                sdk-base:
+                    id: org.fedoraproject.BaseSdk
+                    sdk: org.fedoraproject.BasePlatform

diff --git a/flatpak-runtime.yaml b/flatpak-runtime.yaml
index 935a0e6..3194e5d 100644
--- a/flatpak-runtime.yaml
+++ b/flatpak-runtime.yaml
@@ -2843,3 +2843,19 @@ data:
       flatpak-runtime-config:
         rationale: Runtime configuration files
         ref: master
+  xmd:
+    flatpak:
+      branch: f28
+      runtimes:
+        runtime:
+          id: org.fedoraproject.Platform
+          sdk: org.fedoraproject.Sdk
+        sdk:
+          id: org.fedoraproject.Sdk
+          sdk: org.fedoraproject.Platform
+        runtime-base:
+          id: org.fedoraproject.BasePlatform
+          sdk: org.fedoraproject.BaseSdk
+        sdk-base:
+          id: org.fedoraproject.BaseSdk
+          sdk: org.fedoraproject.BasePlatform

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

only message in thread, other threads:[~2026-09-11 14:40 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:40 [flatpaks/flatpak-runtime] f45: Add flatpak metadata section Owen W. Taylor

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