1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-06-25 05:09:30 +00:00

src: meson.build: remove librem5-hack option and depend on libcallaudio

This commit is contained in:
Arnaud Ferraris 2020-10-13 02:44:47 +02:00
parent 088c693374
commit 8308e1dbbf
2 changed files with 1 additions and 7 deletions

View file

@ -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)')

View file

@ -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