spa/plugins/bluez5/meson: removed some unneeded redefines

As far as I can tell, the code in question was not doing anything there
and was also breaking the new code elsewhere, so it was put on the
chopping block. Don't mind the squirming tentacles.

Signed-off-by: Niklāvs Koļesņikovs <89q1r14hd@relay.firefox.com>
This commit is contained in:
Niklāvs Koļesņikovs 2023-06-26 17:07:04 +03:00 committed by Wim Taymans
parent 4df753d0d7
commit 15ddbfd037

View file

@ -118,16 +118,14 @@ endif
if ldac_dep.found() if ldac_dep.found()
ldac_args = codec_args ldac_args = codec_args
ldac_dep = [ ldac_dep ]
if ldac_abr_dep.found() if ldac_abr_dep.found()
ldac_args += [ '-DENABLE_LDAC_ABR' ] ldac_args += [ '-DENABLE_LDAC_ABR' ]
ldac_dep += ldac_abr_dep
endif endif
bluez_codec_ldac = shared_library('spa-codec-bluez5-ldac', bluez_codec_ldac = shared_library('spa-codec-bluez5-ldac',
[ 'a2dp-codec-ldac.c', 'media-codecs.c' ], [ 'a2dp-codec-ldac.c', 'media-codecs.c' ],
include_directories : [ configinc ], include_directories : [ configinc ],
c_args : ldac_args, c_args : ldac_args,
dependencies : [ spa_dep, ldac_dep ], dependencies : [ spa_dep, ldac_dep, ldac_abr_dep ],
install : true, install : true,
install_dir : spa_plugindir / 'bluez5') install_dir : spa_plugindir / 'bluez5')
endif endif
@ -144,7 +142,6 @@ endif
if get_option('bluez5-codec-opus').allowed() and opus_dep.found() if get_option('bluez5-codec-opus').allowed() and opus_dep.found()
opus_args = codec_args opus_args = codec_args
opus_dep = [ opus_dep ]
bluez_codec_opus = shared_library('spa-codec-bluez5-opus', bluez_codec_opus = shared_library('spa-codec-bluez5-opus',
[ 'a2dp-codec-opus.c', 'media-codecs.c' ], [ 'a2dp-codec-opus.c', 'media-codecs.c' ],
include_directories : [ configinc ], include_directories : [ configinc ],