src: meson.build: remove librem5-hack option and depend on libcallaudio
This commit is contained in:
@@ -9,7 +9,3 @@ option('tests',
|
||||
option('wayland',
|
||||
type: 'feature', value: 'enabled',
|
||||
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('libebook-contacts-1.2'),
|
||||
dependency('folks'),
|
||||
dependency('libcallaudio-0'),
|
||||
]
|
||||
|
||||
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.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(
|
||||
output: 'config.h.in',
|
||||
configuration: calls_config_data
|
||||
|
Reference in New Issue
Block a user