I’m working on a snap for mumble, and I’m running into an issue where I need a “recursive” option for qmake. Reading the docs, this is done with the options
directive in the yaml file. I currently have:
parts:
mumble:
source: https://github.com/mumble-voip/mumble.git
source-tag: 1.2.19
# See 'snapcraft plugins'
plugin: qmake
qt-version: qt4
options:
- "CONFIG+=no-server"
- "-recursive"
project-files:
- "main.pro"
And I had tried:
parts:
mumble:
source: https://github.com/mumble-voip/mumble.git
source-tag: 1.2.19
# See 'snapcraft plugins'
plugin: qmake
qt-version: qt4
options:
- "CONFIG+=no-server -recursive"
project-files:
- "main.pro"
But it never seems to make it through. I just want to be sure I am formatting it correctly.
I read the plugin docs:
- options:
(list of strings)
additional options to pass to the qmake invocation.
- qt-version:
(enum, 'qt4' or 'qt5')
Version of Qt to use with qmake.
- project-files:
(list of strings)
list of .pro files to pass to the qmake invocation.
Currently looking for an example YAML to compare (hoping to answer my own question).
Thank you in advance.