[Spice-devel] [PATCH spice-gtk 34/34] build-sys: deprecate the pulseaudio backend

marcandre.lureau at redhat.com marcandre.lureau at redhat.com
Mon Jan 7 08:01:03 UTC 2019


From: Marc-André Lureau <marcandre.lureau at redhat.com>

Signed-off-by: Marc-André Lureau <marcandre.lureau at redhat.com>
---
 configure.ac | 3 +++
 meson.build  | 1 +
 2 files changed, 4 insertions(+)

diff --git a/configure.ac b/configure.ac
index a23f861..fdfdd5a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -549,3 +549,6 @@ AC_MSG_NOTICE([
 
 ])
 SPICE_PRINT_MESSAGES
+
+AS_IF([test "x$enable_pulse" = "xyes"],
+  AC_MSG_WARN([PulseAudio backend is deprecated and will be removed in a future release]))
diff --git a/meson.build b/meson.build
index 7e0c68d..34e22fd 100644
--- a/meson.build
+++ b/meson.build
@@ -155,6 +155,7 @@ endif
 spice_gtk_has_pulse = false
 d = dependency('libpulse-mainloop-glib', required: get_option('pulse'))
 if d.found()
+  warning('PulseAudio backend is deprecated and will be removed in a future release')
   spice_glib_deps += d
   spice_gtk_config_data.set('HAVE_PULSE', '1')
   spice_gtk_has_pulse = true
-- 
2.20.1.2.gb21ebb671b



More information about the Spice-devel mailing list