Flatpak make-args and make-install-args ignored
I am trying to develop Tuxpaint in a Flatpak environment, using Builder. (Specifically I want to teach it to use the print portal.) Having lifted the manifest from Flathub and adjusted it to fit being used in-tree, I'm left with the following as the final module:
{
"name": "tuxpaint",
"no-autogen": true,
"no-parallel-make": true,
"make-args": [
"LDFLAGS=-L/app/lib",
"PREFIX=/app"
],
"make-install-args": [
"LDFLAGS=-L/app/lib",
"PREFIX=/app"
],
"sources": [
{
"type": "git",
"url": "https://git.code.sf.net/p/tuxpaint/tuxpaint"
}
]
}
Tuxpaint does not have a configure
script, so PREFIX=/app
and LDFLAGS=-L/app/lib
must be passed as an argument to make
. This does not seem to be supported by Builder; so build fails when linking.
I tried to work out how this would be plumbed from gbp-flatpak-manifest.c
to make_plugin.py
but failed. :(