From 8277bb18db21848a9d6dd05a31b0edf7d9363be1 Mon Sep 17 00:00:00 2001 From: Anton Kolesov Date: Sun, 17 Aug 2014 21:29:48 +0200 Subject: [PATCH] pulseaudio: add dependency on atomic operations This fixes: http://autobuild.buildroot.net/results/d463f3bf730a600a07ed6cd33695bf45e9fd3540/ Signed-off-by: Anton Kolesov [yann.morin.1998@free.fr: use the new symbol; remove comment strings] Signed-off-by: "Yann E. MORIN" Signed-off-by: Peter Korsgaard --- package/gstreamer/gst-plugins-good/Config.in | 6 ++++++ package/gstreamer1/gst1-plugins-good/Config.in | 6 ++++++ package/mpd/Config.in | 2 ++ package/pulseaudio/Config.in | 2 ++ 4 files changed, 16 insertions(+) diff --git a/package/gstreamer/gst-plugins-good/Config.in b/package/gstreamer/gst-plugins-good/Config.in index 36b15a8c01..3e2582032b 100644 --- a/package/gstreamer/gst-plugins-good/Config.in +++ b/package/gstreamer/gst-plugins-good/Config.in @@ -209,9 +209,15 @@ config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_PULSE depends on BR2_TOOLCHAIN_HAS_THREADS # pulseaudio depends on BR2_LARGEFILE # pulseaudio -> libsndfile depends on BR2_USE_MMU # pulseaudio + depends on BR2_ARCH_HAS_ATOMICS # pulseaudio select BR2_PACKAGE_PULSEAUDIO bool "pulseaudio" +comment "pulseaudio support needs a toolchain w/ largefile, threads" + depends on BR2_USE_MMU + depends on BR2_ARCH_HAS_ATOMICS + depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS + config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_SOUPHTTPSRC bool "souphttpsrc (http client)" depends on BR2_USE_WCHAR # libsoup -> glib2 diff --git a/package/gstreamer1/gst1-plugins-good/Config.in b/package/gstreamer1/gst1-plugins-good/Config.in index f44690cd90..22980dcd34 100644 --- a/package/gstreamer1/gst1-plugins-good/Config.in +++ b/package/gstreamer1/gst1-plugins-good/Config.in @@ -309,11 +309,17 @@ config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_PULSE depends on BR2_TOOLCHAIN_HAS_THREADS # pulseaudio depends on BR2_LARGEFILE # pulseaudio -> libsndfile depends on BR2_USE_MMU # pulseaudio + depends on BR2_ARCH_HAS_ATOMICS # pulseaudio select BR2_PACKAGE_PULSEAUDIO bool "pulseaudio" help PulseAudio plugin library +comment "pulseaudio support needs a toolchain w/ largefile, threads" + depends on BR2_USE_MMU + depends on BR2_ARCH_HAS_ATOMICS + depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS + config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_SOUPHTTPSRC bool "souphttpsrc (http client)" depends on BR2_USE_WCHAR # libsoup -> glib2 diff --git a/package/mpd/Config.in b/package/mpd/Config.in index f5f5b34dfa..b8a56b75dd 100644 --- a/package/mpd/Config.in +++ b/package/mpd/Config.in @@ -45,11 +45,13 @@ config BR2_PACKAGE_MPD_AUDIOFILE config BR2_PACKAGE_MPD_PULSEAUDIO bool "pulseaudio" depends on BR2_LARGEFILE # pulseaudio -> libsndfile + depends on BR2_ARCH_HAS_ATOMICS # pulseaudio select BR2_PACKAGE_PULSEAUDIO help Enable pulseaudio output support. comment "pulseaudio support needs a toolchain w/ largefile" + depends on BR2_ARCH_HAS_ATOMICS depends on !BR2_LARGEFILE config BR2_PACKAGE_MPD_BZIP2 diff --git a/package/pulseaudio/Config.in b/package/pulseaudio/Config.in index ac6222c59a..4bf64c2067 100644 --- a/package/pulseaudio/Config.in +++ b/package/pulseaudio/Config.in @@ -8,6 +8,7 @@ config BR2_PACKAGE_PULSEAUDIO select BR2_PACKAGE_SPEEX depends on BR2_LARGEFILE depends on BR2_USE_MMU # fork() + depends on BR2_ARCH_HAS_ATOMICS help PulseAudio is a sound system for POSIX OSes, meaning that it is a proxy for your sound applications. It allows you to do @@ -32,4 +33,5 @@ endif comment "pulseaudio needs a toolchain w/ wchar, largefile, threads" depends on BR2_USE_MMU + depends on BR2_ARCH_HAS_ATOMICS depends on !BR2_USE_WCHAR || !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS -- 2.30.2