mirror of
https://github.com/swaywm/sway.git
synced 2026-04-16 08:21:30 -04:00
Add basic scaffolding for including libsfdo in builds
This commit is contained in:
parent
b254527bee
commit
faed98c402
1 changed files with 28 additions and 0 deletions
28
meson.build
28
meson.build
|
|
@ -38,6 +38,34 @@ if is_freebsd
|
|||
add_project_arguments('-D_C11_SOURCE', language: 'c')
|
||||
endif
|
||||
|
||||
# Check for (currrently) optional libsfdo
|
||||
sfdo_basedir = dependency(
|
||||
'libsfdo-basedir',
|
||||
default_options: ['default_library=static', 'examples=false', 'tests=false'],
|
||||
version: '>=0.1.3',
|
||||
required: get_option('sfdo'),
|
||||
)
|
||||
sfdo_desktop = dependency(
|
||||
'libsfdo-desktop',
|
||||
default_options: ['default_library=static', 'examples=false', 'tests=false'],
|
||||
version: '>=0.1.3',
|
||||
required: get_option('sfdo'),
|
||||
)
|
||||
sfdo_desktop_file = dependency(
|
||||
'libsfdo-desktop-file',
|
||||
default_options: ['default_library=static', 'examples=false', 'tests=false'],
|
||||
version: '>=0.1.3',
|
||||
required: get_option('sfdo'),
|
||||
)
|
||||
sfdo_icon = dependency(
|
||||
'libsfdo-icon',
|
||||
default_options: ['default_library=static', 'examples=false', 'tests=false'],
|
||||
version: '>=0.1.3',
|
||||
required: get_option('sfdo'),
|
||||
)
|
||||
have_libsfdo = sfdo_basedir.found() and sfdo_desktop.found() and sfdo_desktop_file.found() and sfdo_icon.found()
|
||||
|
||||
|
||||
# Execute the wlroots subproject, if any
|
||||
wlroots_version = ['>=0.20.0', '<0.21.0']
|
||||
subproject(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue