remove share vala from cleanup
[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         "*.la",
39         "*.a"
40     ],
41     "modules": [
42         {
43             "name" : "jsonrpc-glib",
44             "config-opts" : [
45                 "--buildtype=debugoptimized",
46                 "-Denable_tests=false",
47                 "-Denable_gtk_doc=true"
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                     "branch" : "master"
66
67                 }
68             ]
69         },
70         {
71             "name": "intltool",
72             "cleanup": [ "*" ],
73             "sources": [
74                 {
75                     "type": "archive",
76                     "url": "https://launchpad.net/intltool/trunk/0.51.0/+download/intltool-0.51.0.tar.gz",
77                     "sha256": "67c74d94196b153b774ab9f89b2fa6c6ba79352407037c8c14d5aeb334e959cd"
78                 }
79             ]
80         },
81             {
82             "name" : "gtksourceview",
83             "buildsystem" : "meson",
84             "config-opts" : [
85                 "--buildtype=debugoptimized",
86                 "-Dsysprof=false"
87             ],
88             "sources" : [
89                 {
90                     "type" : "git",
91                     "url" : "https://gitlab.gnome.org/GNOME/gtksourceview.git",
92                     "branch" : "master"
93                 }
94             ]
95         },
96         {
97             "name": "roobuilder",
98             "builddir": true,
99             "buildsystem": "meson",
100             "sources": [
101                 {
102                     "type": "git",
103                     "tag": "master",
104                     "url": "https://github.com/roojs/roobuilder.git"
105                         }
106             ],
107             "post-install": [
108                     "cp -a /usr/lib/sdk/vala/bin/. /app/bin/",
109                     "cp -a /usr/lib/sdk/vala/lib/. /app/lib/",
110                     "cp -a /usr/lib/sdk/vala/share/. /app/share/"
111                 ]
112         }
113     ]
114 }