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