It used to required to add org.freedesktop.Sdk.Extension.vala to compile Vala project on GNOME runtimes, like the first example.
With runtime 49, the second example also apperas to be working.
I’m I missing an important change?
{
"id": "org.gnome.baobab",
"runtime": "org.gnome.Platform",
"runtime-version": "48",
"sdk": "org.gnome.Sdk",
"sdk-extensions": [
"org.freedesktop.Sdk.Extension.vala"
],
"build-options": {
"prepend-path": "/usr/lib/sdk/vala/bin/",
"prepend-ld-library-path": "/usr/lib/sdk/vala/lib"
},
"command": "baobab",
"finish-args": [
"--device=dri",
"--share=ipc",
"--socket=fallback-x11",
"--socket=wayland",
"--filesystem=host",
"--filesystem=~/.var/app",
"--metadata=X-DConf=migrate-path=/org/gnome/baobab/",
"--talk-name=org.gtk.vfs.*",
"--system-talk-name=org.freedesktop.hostname1",
"--filesystem=xdg-run/gvfs",
"--filesystem=xdg-run/gvfsd"
],
"cleanup": [
"/share/man"
],
"modules": [
{
"name": "baobab",
"buildsystem": "meson",
"sources": [
{
"type": "archive",
"url": "https://download.gnome.org/sources/baobab/49/baobab-49.1.tar.xz",
"sha256": "6243c92002be7e91f5decd249612face2a4a12d3742afd88b086a94b875dffe0",
"x-checker-data": {
"type": "gnome",
"name": "baobab"
}
}
]
}
]
}
{
"id": "org.gnome.baobab",
"runtime": "org.gnome.Platform",
"runtime-version": "49",
"sdk": "org.gnome.Sdk",
"command": "baobab",
"finish-args": [
"--device=dri",
"--share=ipc",
"--socket=fallback-x11",
"--socket=wayland",
"--filesystem=host",
"--filesystem=~/.var/app",
"--metadata=X-DConf=migrate-path=/org/gnome/baobab/",
"--talk-name=org.gtk.vfs.*",
"--system-talk-name=org.freedesktop.hostname1",
"--filesystem=xdg-run/gvfs",
"--filesystem=xdg-run/gvfsd"
],
"cleanup": [
"/share/man"
],
"modules": [
{
"name": "baobab",
"buildsystem": "meson",
"sources": [
{
"type": "archive",
"url": "https://download.gnome.org/sources/baobab/49/baobab-49.1.tar.xz",
"sha256": "6243c92002be7e91f5decd249612face2a4a12d3742afd88b086a94b875dffe0",
"x-checker-data": {
"type": "gnome",
"name": "baobab"
}
}
]
}
]
}