[gnome-mahjongg] flatpak: replace yaml file with json file



commit cc44c07a1e8c10293fdbc7a2bfb32cd67c381ea4
Author: Günther Wagner <info gunibert de>
Date:   Sun Feb 6 10:37:09 2022 +0100

    flatpak: replace yaml file with json file
    
    This should make it easier to contribute with GNOME Builder.

 .gitlab-ci.yml                  |  2 +-
 flatpak/org.gnome.Mahjongg.json | 29 +++++++++++++++++++++++++++++
 flatpak/org.gnome.Mahjongg.yaml | 22 ----------------------
 3 files changed, 30 insertions(+), 23 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6a3c810..08112f2 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -6,7 +6,7 @@ variables:
 flatpak:
     image: 'registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:master'
     variables:
-        MANIFEST_PATH: "flatpak/org.gnome.Mahjongg.yaml"
+        MANIFEST_PATH: "flatpak/org.gnome.Mahjongg.json"
         FLATPAK_MODULE: "gnome-mahjongg"
         RUNTIME_REPO: "https://sdk.gnome.org/gnome-nightly.flatpakrepo";
         APP_ID: "org.gnome.Mahjongg"
diff --git a/flatpak/org.gnome.Mahjongg.json b/flatpak/org.gnome.Mahjongg.json
new file mode 100644
index 0000000..29320d4
--- /dev/null
+++ b/flatpak/org.gnome.Mahjongg.json
@@ -0,0 +1,29 @@
+{
+    "app-id" : "org.gnome.Mahjongg",
+    "runtime" : "org.gnome.Platform",
+    "sdk" : "org.gnome.Sdk",
+    "runtime-version" : "master",
+    "command" : "gnome-mahjongg",
+    "finish-args" : [
+        "--share=ipc",
+        "--socket=fallback-x11",
+        "--socket=wayland",
+        "--device=dri",
+        "--share=network"
+    ],
+    "modules" : [
+        {
+            "name" : "gnome-mahjongg",
+            "buildsystem" : "meson",
+            "sources" : [
+                {
+                    "type" : "git",
+                    "url" : "https://gitlab.gnome.org/GNOME/gnome-mahjongg.git";
+                }
+            ]
+        }
+    ],
+    "cleanup" : [
+        "/share/man"
+    ]
+}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]