We should use `variables:` instead overwrite the `configure-commands:`
I think is cleaner in this way, so for example for pulseaudio (https://github.com/flatpak/freedesktop-sdk-images/blob/9995653f1bcc3c57351da0cd80af63fbc29ad57e/org.freedesktop.Sdk.json.in#L1423) we will have:
variables:
conf-local: |
--disable-rpath \
--with-system-user=pulse \
--with-system-group=pulse \
--with-access-group=pulse-access \
--disable-oss-output \
--disable-oss-output \
--disable-jack \
--disable-lirc \
--disable-bluez4 \
--disable-bluez5 \
--disable-systemd
instead
config:
configure-commands:
- '%{configure} \ --disable-static \ --disable-rpath \ --with-system-user=pulse
\ --with-system-group=pulse \ --with-access-group=pulse-access \ --disable-oss-output
\ --disable-jack \ --disable-lirc \ --disable-bluez4 \ --disable-bluez5 \ --disable-systemd'
Edited by Javier Jardón