Local build, build dependencies

Dear Forum Wizards,

I have a flatpak manifest which successfully builds my app org.opencpn.OpenCPN at flathub. So far, so good.

However, I like make a local build to avoid pushing silly errors (which I of course don’t do, but if). The local build fails though, due to missing build time dependencies. The actual culprit seems to be the lines

 modules:
   shared-modules/glu/glu-9.json

I suppose there is a way to make this available also locally, but have no idea how. Any clue out there?

Use git clone.
git clone git://github.com/flathub/shared-modules.git

You also need to checkout the submodule as well. git submodule update --init should do the trick.