[gnome-builder] meson-templates: Format JSON using json-glib-format



commit c012295bb0ac7c14527b273986465b8e4e1b222f
Author: Ricardo Silva Veloso <ricvelozo gmail com>
Date:   Wed Feb 12 15:02:26 2020 -0300

    meson-templates: Format JSON using json-glib-format

 src/plugins/meson-templates/resources/flatpak.json | 142 ++++++++++-----------
 1 file changed, 71 insertions(+), 71 deletions(-)
---
diff --git a/src/plugins/meson-templates/resources/flatpak.json 
b/src/plugins/meson-templates/resources/flatpak.json
index c0aef4a0a..da027479f 100644
--- a/src/plugins/meson-templates/resources/flatpak.json
+++ b/src/plugins/meson-templates/resources/flatpak.json
@@ -1,34 +1,34 @@
 {
-    "app-id": "{{appid}}",
-    "runtime": "org.gnome.Platform",
-    "runtime-version": "3.34",
-    "sdk": "org.gnome.Sdk",
+    "app-id" : "{{appid}}",
+    "runtime" : "org.gnome.Platform",
+    "runtime-version" : "3.34",
+    "sdk" : "org.gnome.Sdk",
 {{if language == "rust"}}
-    "sdk-extensions": [
+    "sdk-extensions" : [
         "org.freedesktop.Sdk.Extension.rust-stable"
     ],
 {{end}}
-    "command": "{{exec_name}}",
-    "finish-args": [
+    "command" : "{{exec_name}}",
+    "finish-args" : [
         "--share=network",
         "--share=ipc",
         "--socket=fallback-x11",
         "--socket=wayland"
     ],
 {{if language == "rust"}}
-    "build-options": {
-        "append-path": "/usr/lib/sdk/rust-stable/bin",
-        "build-args": [
+    "build-options" : {
+        "append-path" : "/usr/lib/sdk/rust-stable/bin",
+        "build-args" : [
             "--share=network"
         ],
-        "env": {
-            "CARGO_HOME": "/run/build/{{name}}/cargo",
-            "RUST_BACKTRACE": "1",
-            "RUST_LOG": "{{name}}=debug"
+        "env" : {
+            "CARGO_HOME" : "/run/build/{{name}}/cargo",
+            "RUST_BACKTRACE" : "1",
+            "RUST_LOG" : "{{name}}=debug"
         }
     },
 {{end}}
-    "cleanup": [
+    "cleanup" : [
         "/include",
         "/lib/pkgconfig",
         "/man",
@@ -42,108 +42,108 @@
         "*.la",
         "*.a"
     ],
-    "modules": [
+    "modules" : [
 {{if template == "gnome-app"}}
 {{if language == "c++"}}
         {
-           "name": "mm-common",
-           "cleanup": [ "/" ],
-           "sources": [
+           "name" : "mm-common",
+           "cleanup" : [ "/" ],
+           "sources" : [
                {
-                   "type": "archive",
-                   "url": "https://download.gnome.org/sources/mm-common/0.9/mm-common-0.9.12.tar.xz";,
-                   "sha256": "ceffdcce1e5b52742884c233ec604bf6fded12eea9da077ce7a62c02c87e7c0b"
+                   "type" : "archive",
+                   "url" : "https://download.gnome.org/sources/mm-common/0.9/mm-common-0.9.12.tar.xz";,
+                   "sha256" : "ceffdcce1e5b52742884c233ec604bf6fded12eea9da077ce7a62c02c87e7c0b"
                }
            ]
         },
         {
-            "name": "sigc++",
-            "config-opts": [ "--disable-documentation" ],
-            "sources": [
+            "name" : "sigc++",
+            "config-opts" : [ "--disable-documentation" ],
+            "sources" : [
                 {
-                    "type": "archive",
-                    "url": "https://download.gnome.org/sources/libsigc++/2.10/libsigc++-2.10.1.tar.xz";,
-                    "sha256": "c9a25f26178c6cbb147f9904d8c533b5a5c5111a41ac2eb781eb734eea446003"
+                    "type" : "archive",
+                    "url" : "https://download.gnome.org/sources/libsigc++/2.10/libsigc++-2.10.1.tar.xz";,
+                    "sha256" : "c9a25f26178c6cbb147f9904d8c533b5a5c5111a41ac2eb781eb734eea446003"
                 }
             ]
         },
         {
-            "name": "sigc++-3",
-            "config-opts": [ "--disable-documentation" ],
-            "sources": [
+            "name" : "sigc++-3",
+            "config-opts" : [ "--disable-documentation" ],
+            "sources" : [
                 {
-                    "type": "archive",
-                    "url": "https://download.gnome.org/sources/libsigc++/2.99/libsigc++-2.99.12.tar.xz";,
-                    "sha256": "d902ae277f5baf2d56025586e2153cc2f158472e382723c67f49049f7c6690a8"
+                    "type" : "archive",
+                    "url" : "https://download.gnome.org/sources/libsigc++/2.99/libsigc++-2.99.12.tar.xz";,
+                    "sha256" : "d902ae277f5baf2d56025586e2153cc2f158472e382723c67f49049f7c6690a8"
                 }
             ]
         },
         {
-            "name": "glibmm",
-            "config-opts": [ "--disable-documentation" ],
-            "sources": [
+            "name" : "glibmm",
+            "config-opts" : [ "--disable-documentation" ],
+            "sources" : [
                 {
-                    "type": "archive",
-                    "url": "https://download.gnome.org/sources/glibmm/2.60/glibmm-2.60.0.tar.xz";,
-                    "sha256": "a3a1b1c9805479a16c0018acd84b3bfff23a122aee9e3c5013bb81231aeef2bc"
+                    "type" : "archive",
+                    "url" : "https://download.gnome.org/sources/glibmm/2.60/glibmm-2.60.0.tar.xz";,
+                    "sha256" : "a3a1b1c9805479a16c0018acd84b3bfff23a122aee9e3c5013bb81231aeef2bc"
                 }
             ]
         },
         {
-            "name": "cairomm",
-            "config-opts": [ "--disable-documentation" ],
-            "sources": [
+            "name" : "cairomm",
+            "config-opts" : [ "--disable-documentation" ],
+            "sources" : [
                 {
-                    "type": "archive",
-                    "url": "https://download.gnome.org/sources/cairomm/1.12/cairomm-1.12.0.tar.xz";,
-                    "sha256": "a54ada8394a86182525c0762e6f50db6b9212a2109280d13ec6a0b29bfd1afe6"
+                    "type" : "archive",
+                    "url" : "https://download.gnome.org/sources/cairomm/1.12/cairomm-1.12.0.tar.xz";,
+                    "sha256" : "a54ada8394a86182525c0762e6f50db6b9212a2109280d13ec6a0b29bfd1afe6"
                 }
             ]
         },
         {
-            "name": "pangomm",
-            "config-opts": [ "--disable-documentation" ],
-            "sources": [
+            "name" : "pangomm",
+            "config-opts" : [ "--disable-documentation" ],
+            "sources" : [
                 {
-                    "type": "archive",
-                    "url": "https://download.gnome.org/sources/pangomm/2.42/pangomm-2.42.0.tar.xz";,
-                    "sha256": "ca6da067ff93a6445780c0b4b226eb84f484ab104b8391fb744a45cbc7edbf56"
+                    "type" : "archive",
+                    "url" : "https://download.gnome.org/sources/pangomm/2.42/pangomm-2.42.0.tar.xz";,
+                    "sha256" : "ca6da067ff93a6445780c0b4b226eb84f484ab104b8391fb744a45cbc7edbf56"
                 }
             ]
         },
         {
-            "name": "atkmm",
-            "config-opts": [ "--disable-documentation" ],
-            "sources": [
+            "name" : "atkmm",
+            "config-opts" : [ "--disable-documentation" ],
+            "sources" : [
                 {
-                    "type": "archive",
-                    "url": "https://download.gnome.org/sources/atkmm/2.28/atkmm-2.28.0.tar.xz";,
-                    "sha256": "4c4cfc917fd42d3879ce997b463428d6982affa0fb660cafcc0bc2d9afcedd3a"
+                    "type" : "archive",
+                    "url" : "https://download.gnome.org/sources/atkmm/2.28/atkmm-2.28.0.tar.xz";,
+                    "sha256" : "4c4cfc917fd42d3879ce997b463428d6982affa0fb660cafcc0bc2d9afcedd3a"
                 }
             ]
         },
         {
-            "name": "gtkmm",
-            "config-opts": [ "--disable-documentation" ],
-            "build-options": { "cxxflags": "-O2 -g -std=c++11" },
-            "sources": [
+            "name" : "gtkmm",
+            "config-opts" : [ "--disable-documentation" ],
+            "build-options" : { "cxxflags" : "-O2 -g -std=c++11" },
+            "sources" : [
                 {
-                    "type": "archive",
-                    "url": "https://download.gnome.org/sources/gtkmm/3.24/gtkmm-3.24.1.tar.xz";,
-                    "sha256": "ddfe42ed2458a20a34de252854bcf4b52d3f0c671c045f56b42aa27c7542d2fd"
+                    "type" : "archive",
+                    "url" : "https://download.gnome.org/sources/gtkmm/3.24/gtkmm-3.24.1.tar.xz";,
+                    "sha256" : "ddfe42ed2458a20a34de252854bcf4b52d3f0c671c045f56b42aa27c7542d2fd"
                 }
             ]
         },
 {{end}}
 {{end}}
         {
-            "name": "{{name}}",
-            "builddir": true,
-            "buildsystem": "meson",
-            "sources": [
+            "name" : "{{name}}",
+            "builddir" : true,
+            "buildsystem" : "meson",
+            "sources" : [
                 {
-                    "type": "git",
-                    "url": "file://{{project_path}}"
+                    "type" : "git",
+                    "url" : "file://{{project_path}}"
                 }
             ]
         }


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