building dependencies
A nice trick to hack on flatpak dependencies for a project is to use source type dir:
As an example in project gitg, stored on:
$HOME/projects/vala/gitg
I change gtksourceview dependency stored on:
$HOME/projects/c/gtksourceview
in flatpak manifest:
{
"name" : "gtksourceview",
"config-opts" : [
"-DBUILD_TRIGGER=on"
],
"buildsystem" : "meson",
"sources" : [
{
"type" : "dir",
"path" : "../../projects/c/gtksourceview"
}
]
},
And everything works as expected.
Is it possible to monitor this dir dependencies to build from here. Right now I use a trick to trigger build, modify that config-opts.
I understand that this really lies on mimic what flatpak does when detects a change in manifest, but not sure how that happens. Can we affect that (touch something to trigger build a dependency as I'm doing manually?
If so, monitor this source type dir, could make hack on dependencies really pleasant.