mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -05:00
meson: Tighter coupling of XOrg dependencies
If `x11-xcb` is found, then let's force other X11 dependencies to be there as well. That makes things a bit easier, and that's also what is done in the autotools build system. Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
This commit is contained in:
parent
b709c8a14b
commit
6ff3420405
2 changed files with 6 additions and 15 deletions
|
|
@ -182,18 +182,10 @@ endif
|
|||
if x11_dep.found()
|
||||
all_modules += [
|
||||
[ 'module-x11-bell', 'x11/module-x11-bell.c', [], [], [x11_dep] ],
|
||||
[ 'module-x11-cork-request', 'x11/module-x11-cork-request.c', [], [], [x11_dep, xtst_dep] ],
|
||||
[ 'module-x11-publish', 'x11/module-x11-publish.c', [], [], [x11_dep], libprotocol_native ],
|
||||
[ 'module-x11-xsmp', 'x11/module-x11-xsmp.c', [], [], [x11_dep, ice_dep, sm_dep] ],
|
||||
]
|
||||
if xtst_dep.found()
|
||||
all_modules += [
|
||||
[ 'module-x11-cork-request', 'x11/module-x11-cork-request.c', [], [], [x11_dep, xtst_dep] ],
|
||||
]
|
||||
endif
|
||||
if ice_dep.found() and sm_dep.found()
|
||||
all_modules += [
|
||||
[ 'module-x11-xsmp', 'x11/module-x11-xsmp.c', [], [], [x11_dep, ice_dep, sm_dep] ],
|
||||
]
|
||||
endif
|
||||
endif
|
||||
|
||||
# Module echo-cancel is quite modular itself and requires a section of its own
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue