mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
[Meson] Change jack-devel option to be boolean
This commit is contained in:
parent
8dc8fb55f2
commit
a5e3d3f7a7
3 changed files with 4 additions and 4 deletions
|
|
@ -52,8 +52,8 @@ option('pipewire-jack',
|
||||||
value: 'enabled')
|
value: 'enabled')
|
||||||
option('jack-devel',
|
option('jack-devel',
|
||||||
description: 'Install jack development files',
|
description: 'Install jack development files',
|
||||||
type: 'feature',
|
type: 'boolean',
|
||||||
value: 'disabled')
|
value: 'false')
|
||||||
option('libjack-path',
|
option('libjack-path',
|
||||||
description: 'Where to install the libjack.so library',
|
description: 'Where to install the libjack.so library',
|
||||||
type: 'string')
|
type: 'string')
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
jack_inc = include_directories('.')
|
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)
|
install_subdir('jack', install_dir: get_option('includedir'), strip_directory: false)
|
||||||
endif
|
endif
|
||||||
subdir('src')
|
subdir('src')
|
||||||
|
|
|
||||||
|
|
@ -68,7 +68,7 @@ pipewire_jackserver = shared_library('jacknet',
|
||||||
install_dir : libjack_path,
|
install_dir : libjack_path,
|
||||||
)
|
)
|
||||||
|
|
||||||
if get_option('jack-devel').enabled()
|
if get_option('jack-devel') == true
|
||||||
pkgconfig.generate(filebase : 'jack',
|
pkgconfig.generate(filebase : 'jack',
|
||||||
libraries : [pipewire_jack, pipewire_jackserver],
|
libraries : [pipewire_jack, pipewire_jackserver],
|
||||||
name : 'jack',
|
name : 'jack',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue