mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-05 17:37:43 +00:00
webrtc-audio-processing: refactor architecture dependency as a blind option
In preparation to the addition of a webrtc GStreamer plugin that will have to select the webrtc-audio-processing package (and therefore inherits its dependencies), this commits adds a BR2_PACKAGE_WEBRTC_AUDIO_PROCESSING_ARCH_SUPPORTS blind option to avoid duplicating the architecture dependencies of this package. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
0d45e57a12
commit
8ea3a3b9c3
@ -1,6 +1,10 @@
|
|||||||
|
config BR2_PACKAGE_WEBRTC_AUDIO_PROCESSING_ARCH_SUPPORTS
|
||||||
|
bool
|
||||||
|
default y if BR2_arm || BR2_i386 || BR2_x86_64
|
||||||
|
|
||||||
config BR2_PACKAGE_WEBRTC_AUDIO_PROCESSING
|
config BR2_PACKAGE_WEBRTC_AUDIO_PROCESSING
|
||||||
bool "webrtc-audio-processing"
|
bool "webrtc-audio-processing"
|
||||||
depends on BR2_arm || BR2_i386 || BR2_x86_64
|
depends on BR2_PACKAGE_WEBRTC_AUDIO_PROCESSING_ARCH_SUPPORTS
|
||||||
depends on BR2_INSTALL_LIBSTDCPP
|
depends on BR2_INSTALL_LIBSTDCPP
|
||||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
|
||||||
# pthread_condattr_setclock
|
# pthread_condattr_setclock
|
||||||
@ -12,6 +16,6 @@ config BR2_PACKAGE_WEBRTC_AUDIO_PROCESSING
|
|||||||
http://freedesktop.org/software/pulseaudio/webrtc-audio-processing/
|
http://freedesktop.org/software/pulseaudio/webrtc-audio-processing/
|
||||||
|
|
||||||
comment "webrtc-audio-processing needs a toolchain w/ C++, NPTL, gcc >= 4.8"
|
comment "webrtc-audio-processing needs a toolchain w/ C++, NPTL, gcc >= 4.8"
|
||||||
depends on BR2_arm || BR2_i386 || BR2_x86_64
|
depends on BR2_PACKAGE_WEBRTC_AUDIO_PROCESSING_ARCH_SUPPORTS
|
||||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS_NPTL \
|
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS_NPTL \
|
||||||
|| !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
|
|| !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
|
||||||
|
Loading…
x
Reference in New Issue
Block a user