Fix #8011 - add resources
[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         "--socket=session-bus",
22         "--filesystem=home",
23         "--filesystem=xdg-download:ro",
24         "--filesystem=xdg-music:ro",
25         "--filesystem=xdg-run/gvfsd",
26         "--filesystem=xdg-run/pipewire-0:ro"
27     ],
28     "cleanup": [
29         "/include",
30         "/lib/pkgconfig",
31         "/man",
32         "/share/doc",
33         "/share/gtk-doc",
34         "/share/man",
35         "/share/pkgconfig",
36         "/share/vala",
37         "*.la",
38         "*.a"
39     ],
40     "modules": [
41         {
42             "name" : "jsonrpc-glib",
43             "config-opts" : [
44                 "--buildtype=debugoptimized",
45                 "-Denable_tests=false"
46             ],
47             "buildsystem" : "meson",
48             "builddir" : true,
49             "sources" : [
50                 {
51                     "type" : "git",
52                     "url" : "https://gitlab.gnome.org/GNOME/jsonrpc-glib.git",
53                     "branch" : "main"
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                 }
64             ]
65         },
66         {
67             "name": "intltool",
68             "cleanup": [ "*" ],
69             "sources": [
70                 {
71                     "type": "archive",
72                     "url": "https://launchpad.net/intltool/trunk/0.51.0/+download/intltool-0.51.0.tar.gz",
73                     "sha256": "67c74d94196b153b774ab9f89b2fa6c6ba79352407037c8c14d5aeb334e959cd"
74                 }
75             ]
76         },
77             {
78             "name" : "gtksourceview",
79             "buildsystem" : "meson",
80             "config-opts" : [
81                 "--buildtype=debugoptimized",
82                 "-Dsysprof=false"
83             ],
84             "sources" : [
85                 {
86                     "type" : "git",
87                     "url" : "https://gitlab.gnome.org/GNOME/gtksourceview.git",
88                     "branch" : "master"
89                 }
90             ]
91         },
92         {
93             "name": "roobuilder",
94             "builddir": true,
95             "buildsystem": "meson",
96             "sources": [
97                 {
98                     "type": "git",
99                     "tag": "master",
100                     "url": "https://github.com/roojs/roobuilder.git"
101                         }
102             ],
103             "post-install": [
104                     "cp -a /usr/lib/sdk/vala/bin/. /app/bin/",
105                     "cp -a /usr/lib/sdk/vala/lib/. /app/lib/",
106                     "cp -a /usr/lib/sdk/vala/share/. /app/share/"
107                 ]
108         }
109     ]
110 }