This has some advantages: - Removes the conditional compilation requirement, which makes testing easier. - Allows all distributed versions of Settings to have snap support without them supporting snapd-glib. - Makes it faster to update Settings for Snap features without waiting on snapd-glib releases. Note that the snap support is only invoked if you have snaps installed. Downsides: - Some additional code in Settings. This is manageable as Settings doesn't need much snap information. libsoup2 didn't support HTTP over Unix domain sockets and would have been too much to support in Settings. libsoup3 does support this which makes this possible. - We no longer share code with snapd-glib, so any future changes will have to be made in multiple places. snapd has a stable API and multiple active clients so this is not likely to be a major concern.
10 lines
964 B
Meson
10 lines
964 B
Meson
option('documentation', type: 'boolean', value: false, description: 'build documentation')
|
|
option('ibus', type: 'boolean', value: true, description: 'build with IBus support')
|
|
option('privileged_group', type: 'string', value: 'wheel', description: 'name of group that has elevated permissions')
|
|
option('snap', type: 'boolean', value: true, description: 'build with Snap support')
|
|
option('tests', type: 'boolean', value: true, description: 'build tests')
|
|
option('wayland', type: 'boolean', value: true, description: 'build with Wayland support')
|
|
option('profile', type: 'combo', choices: ['default','development'], value: 'default')
|
|
option('malcontent', type: 'boolean', value: false, description: 'build with malcontent support')
|
|
option('distributor_logo', type: 'string', description: 'absolute path to distributor logo for the About panel')
|
|
option('dark_mode_distributor_logo', type: 'string', description: 'absolute path to distributor logo dark mode variant')
|