mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-09-29 15:25:24 +00:00
src: meson.build: remove librem5-hack option and depend on libcallaudio
This commit is contained in:
parent
088c693374
commit
8308e1dbbf
2 changed files with 1 additions and 7 deletions
|
@ -9,7 +9,3 @@ option('tests',
|
||||||
option('wayland',
|
option('wayland',
|
||||||
type: 'feature', value: 'enabled',
|
type: 'feature', value: 'enabled',
|
||||||
description: 'Whether to support Wayland lockscreen interaction')
|
description: 'Whether to support Wayland lockscreen interaction')
|
||||||
|
|
||||||
option('librem5-hack',
|
|
||||||
type: 'boolean', value: true,
|
|
||||||
description: 'Whether to use hacky code to support audio output switching (Speaker)')
|
|
||||||
|
|
|
@ -36,6 +36,7 @@ calls_deps = [ dependency('gobject-2.0', version: '>= 2.58'),
|
||||||
dependency('gom-1.0'),
|
dependency('gom-1.0'),
|
||||||
dependency('libebook-contacts-1.2'),
|
dependency('libebook-contacts-1.2'),
|
||||||
dependency('folks'),
|
dependency('folks'),
|
||||||
|
dependency('libcallaudio-0'),
|
||||||
]
|
]
|
||||||
|
|
||||||
if wl_scanner.found()
|
if wl_scanner.found()
|
||||||
|
@ -95,9 +96,6 @@ calls_config_data = config_data
|
||||||
calls_config_data.set_quoted('VCS_TAG', '@VCS_TAG@')
|
calls_config_data.set_quoted('VCS_TAG', '@VCS_TAG@')
|
||||||
calls_config_data.set10('WL_SCANNER_FOUND', wl_scanner.found())
|
calls_config_data.set10('WL_SCANNER_FOUND', wl_scanner.found())
|
||||||
|
|
||||||
use_l5_hacks = get_option('librem5-hack')
|
|
||||||
calls_config_data.set('CALLS_USE_UGLY_CODE', use_l5_hacks)
|
|
||||||
|
|
||||||
config_h_in = configure_file(
|
config_h_in = configure_file(
|
||||||
output: 'config.h.in',
|
output: 'config.h.in',
|
||||||
configuration: calls_config_data
|
configuration: calls_config_data
|
||||||
|
|
Loading…
Reference in a new issue