1
Fork 0

[Meson] Change jack-devel option to be boolean

This commit is contained in:
Nils Tonnätt 2021-08-01 17:54:09 +02:00 committed by Wim Taymans
parent 8dc8fb55f2
commit a5e3d3f7a7
3 changed files with 4 additions and 4 deletions

View File

@ -52,8 +52,8 @@ option('pipewire-jack',
value: 'enabled')
option('jack-devel',
description: 'Install jack development files',
type: 'feature',
value: 'disabled')
type: 'boolean',
value: 'false')
option('libjack-path',
description: 'Where to install the libjack.so library',
type: 'string')

View File

@ -1,5 +1,5 @@
jack_inc = include_directories('.')
if get_option('jack-devel').enabled()
if get_option('jack-devel') == true
install_subdir('jack', install_dir: get_option('includedir'), strip_directory: false)
endif
subdir('src')

View File

@ -68,7 +68,7 @@ pipewire_jackserver = shared_library('jacknet',
install_dir : libjack_path,
)
if get_option('jack-devel').enabled()
if get_option('jack-devel') == true
pkgconfig.generate(filebase : 'jack',
libraries : [pipewire_jack, pipewire_jackserver],
name : 'jack',