[pulseaudio-commits] [Git][pulseaudio/pulseaudio][master] build-sys: meson: Require xice, xsm and xtst for daemon only

PulseAudio Marge Bot (@pulseaudio-merge-bot) gitlab at gitlab.freedesktop.org
Wed Aug 11 15:14:05 UTC 2021



PulseAudio Marge Bot pushed to branch master at PulseAudio / pulseaudio


Commits:
42af3ee0 by Igor V. Kovalenko at 2021-08-11T15:09:43+00:00
build-sys: meson: Require xice, xsm and xtst for daemon only

Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/613>

- - - - -


1 changed file:

- meson.build


Changes:

=====================================
meson.build
=====================================
@@ -681,9 +681,9 @@ endif
 x11_dep = dependency('x11-xcb', required : get_option('x11'))
 if x11_dep.found()
   xcb_dep  = dependency('xcb',  required : true, version : '>= 1.6')
-  ice_dep  = dependency('ice',  required : true)
-  sm_dep   = dependency('sm',   required : true)
-  xtst_dep = dependency('xtst', required : true)
+  ice_dep  = dependency('ice',  required : get_option('daemon'))
+  sm_dep   = dependency('sm',   required : get_option('daemon'))
+  xtst_dep = dependency('xtst', required : get_option('daemon'))
   cdata.set('HAVE_X11', 1)
   if cc.has_function('XSetIOErrorExitHandler', dependencies: x11_dep)
     cdata.set('HAVE_XSETIOERROREXITHANDLER', 1)



View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/42af3ee08381faa5807fde68d4c8ec0d7ad5e9a5

-- 
View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/42af3ee08381faa5807fde68d4c8ec0d7ad5e9a5
You're receiving this email because of your account on gitlab.freedesktop.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-commits/attachments/20210811/c10c5623/attachment.htm>


More information about the pulseaudio-commits mailing list