From 6295f390f12f6ea34df62ebf64901868357c97c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Paul=20Grandsire?= Date: Tue, 6 Aug 2024 13:45:50 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20format=20flatpak=20and=20build?= =?UTF-8?q?=20file?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- io.github.andrepg.httpcodes.json | 38 ++++++++++++++++---------------- meson.build | 2 -- 2 files changed, 19 insertions(+), 21 deletions(-) diff --git a/io.github.andrepg.httpcodes.json b/io.github.andrepg.httpcodes.json index 0c3a7ec..9c96fc8 100644 --- a/io.github.andrepg.httpcodes.json +++ b/io.github.andrepg.httpcodes.json @@ -1,24 +1,24 @@ { - "app-id" : "io.github.andrepg.httpcodes", - "runtime" : "org.gnome.Platform", - "runtime-version" : "45", - "sdk" : "org.gnome.Sdk", - "sdk-extensions" : [ + "id": "io.github.andrepg.httpcodes", + "runtime": "org.gnome.Platform", + "runtime-version": "45", + "sdk": "org.gnome.Sdk", + "sdk-extensions": [ "org.freedesktop.Sdk.Extension.node18", "org.freedesktop.Sdk.Extension.typescript" ], - "command" : "io.github.andrepg.httpcodes", - "finish-args" : [ + "command": "io.github.andrepg.httpcodes", + "finish-args": [ "--share=network", "--share=ipc", "--socket=fallback-x11", "--device=dri", "--socket=wayland" ], - "build-options" : { - "append-path" : "/usr/lib/sdk/typescript/bin:/usr/lib/sdk/node18/bin" + "build-options": { + "append-path": "/usr/lib/sdk/typescript/bin:/usr/lib/sdk/node18/bin" }, - "cleanup" : [ + "cleanup": [ "/include", "/lib/pkgconfig", "/man", @@ -29,18 +29,18 @@ "*.la", "*.a" ], - "modules" : [ + "modules": [ { - "name" : "http-codes", - "builddir" : true, - "buildsystem" : "meson", - "sources" : [ + "name": "http-codes", + "builddir": true, + "buildsystem": "meson", + "sources": [ { - "type" : "git", - "url" : "https://github.com/andrepg/http-codes.git", - "branch": "main" + "type": "git", + "url": "https://github.com/andrepg/http-codes.git", + "branch": "main" } ] } ] -} +} \ No newline at end of file diff --git a/meson.build b/meson.build index 054780b..42bc596 100644 --- a/meson.build +++ b/meson.build @@ -7,8 +7,6 @@ project('http-codes', i18n = import('i18n') gnome = import('gnome') - - subdir('data') subdir('src') subdir('po')