sync flatpak file with submitted one
[roobuilder] / org.roojs.roobuilder.json
1 {
2     "app-id": "org.roojs.roobuilder",
3     "runtime": "org.gnome.Sdk",
4     "runtime-version": "45",
5     "sdk": "org.gnome.Sdk",
6     "sdk-extensions": [
7         "org.freedesktop.Sdk.Extension.vala"
8     ],
9     "build-options" : {
10         "append-path" : "/usr/lib/sdk/vala/bin",
11         "prepend-ld-library-path" : "/usr/lib/sdk/vala/lib"
12     },
13     "command": "roobuilder",
14     "finish-args": [
15         "--device=dri",
16         "--share=ipc",
17         "--share=network",
18         "--socket=fallback-x11",
19         "--socket=pulseaudio",
20         "--socket=wayland",
21         "--filesystem=home",    
22         "--filesystem=xdg-download:ro",
23         "--filesystem=xdg-music:ro",
24         "--filesystem=xdg-run/gvfsd",
25         "--filesystem=xdg-run/pipewire-0:ro"
26     ],
27     "cleanup": [
28         "/include",
29         "/lib/pkgconfig",
30         "/man",
31         "/share/doc",
32         "/share/gtk-doc",
33         "/share/man",
34         "/share/pkgconfig",
35         "*.la",
36         "*.a"
37     ],
38     "modules": [
39        "shared-modules/intltool/intltool-0.51.json",
40         {
41             "name" : "jsonrpc-glib",
42             "config-opts" : [
43                 "--buildtype=debugoptimized",
44                 "-Denable_tests=false",
45                 "-Denable_gtk_doc=true"
46             ],
47             "buildsystem" : "meson",
48             "builddir" : true,
49             "sources" : [
50                 {
51                     "type" : "git",
52                     "url" : "https://gitlab.gnome.org/GNOME/jsonrpc-glib.git",
53                     "tag" : "3.44.0"
54                 }
55             ]
56         },
57         {
58             "name": "gnome-common",
59             "sources": [
60                 {
61                     "type": "git",
62                     "url": "https://gitlab.gnome.org/GNOME/gnome-common.git",
63                     "tag" : "3.18.0"
64
65                 }
66             ]
67         },
68         
69             {
70             "name" : "gtksourceview",
71             "buildsystem" : "meson",
72             "config-opts" : [
73                 "--buildtype=debugoptimized",
74                 "-Dsysprof=false"
75             ],
76             "sources" : [
77                 {
78                     "type" : "git",
79                     "url" : "https://gitlab.gnome.org/GNOME/gtksourceview.git",
80                     "tag" : "5.11.1?"
81                 }
82             ]
83         },
84         {
85             "name": "roobuilder",
86             "builddir": true,
87             "buildsystem": "meson",
88             "sources": [
89                 {
90                     "type": "git",
91                     "tag": "master",
92                     "url": "https://github.com/roojs/roobuilder.git",
93                     "commit" : "c9e3306f3a430ed15155ac45ef097f9d7dbafe03"
94                         }
95             ],
96             "post-install": [
97                     "cp -a /usr/lib/sdk/vala/bin/. /app/bin/",
98                     "cp -a /usr/lib/sdk/vala/lib/. /app/lib/",
99                     "cp -a /usr/lib/sdk/vala/share/. /app/share/"
100                 ]
101         }
102     ]
103 }