mixer/meson.build: split libmixer_api from libmixer_glue
This commit is contained in:
parent
eb6c649d47
commit
4b5c8d1f3e
@ -1,15 +1,29 @@
|
|||||||
mixer_api_dep = declare_dependency()
|
mixer_api = static_library(
|
||||||
|
'mixer_api',
|
||||||
|
'Mixer.cxx',
|
||||||
|
'Control.cxx',
|
||||||
|
include_directories: inc,
|
||||||
|
dependencies: [
|
||||||
|
thread_dep,
|
||||||
|
],
|
||||||
|
)
|
||||||
|
|
||||||
|
mixer_api_dep = declare_dependency(
|
||||||
|
link_with: mixer_api,
|
||||||
|
dependencies: [
|
||||||
|
thread_dep,
|
||||||
|
],
|
||||||
|
)
|
||||||
|
|
||||||
subdir('plugins')
|
subdir('plugins')
|
||||||
|
|
||||||
mixer_glue = static_library(
|
mixer_glue = static_library(
|
||||||
'mixer_glue',
|
'mixer_glue',
|
||||||
'Mixer.cxx',
|
|
||||||
'Control.cxx',
|
|
||||||
'Type.cxx',
|
'Type.cxx',
|
||||||
'All.cxx',
|
'All.cxx',
|
||||||
include_directories: inc,
|
include_directories: inc,
|
||||||
dependencies: [
|
dependencies: [
|
||||||
|
mixer_api_dep,
|
||||||
log_dep,
|
log_dep,
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
@ -46,6 +46,7 @@ mixer_plugins = static_library(
|
|||||||
mixer_plugins_sources,
|
mixer_plugins_sources,
|
||||||
include_directories: inc,
|
include_directories: inc,
|
||||||
dependencies: [
|
dependencies: [
|
||||||
|
mixer_api_dep,
|
||||||
alsa_dep,
|
alsa_dep,
|
||||||
pulse_dep,
|
pulse_dep,
|
||||||
libsndio_dep,
|
libsndio_dep,
|
||||||
|
@ -622,7 +622,7 @@ if alsa_dep.found()
|
|||||||
'read_mixer.cxx',
|
'read_mixer.cxx',
|
||||||
include_directories: inc,
|
include_directories: inc,
|
||||||
dependencies: [
|
dependencies: [
|
||||||
mixer_glue_dep,
|
mixer_plugins_dep,
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user