mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-31 15:07:43 +00:00
package/libsamplerate: add optional dependency to alsa-lib
Configure summary without this patch and without alsa-lib built before: Extra tools required for testing and examples : [...] Have ALSA : ................... no and with this patch Extra tools required for testing and examples : [...] Have ALSA : ................... yes Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
2cb312f963
commit
5b679d7806
@ -12,6 +12,10 @@ LIBSAMPLERATE_CONF_OPTS = --disable-fftw --program-transform-name=''
|
|||||||
LIBSAMPLERATE_LICENSE = BSD-2-Clause
|
LIBSAMPLERATE_LICENSE = BSD-2-Clause
|
||||||
LIBSAMPLERATE_LICENSE_FILES = COPYING
|
LIBSAMPLERATE_LICENSE_FILES = COPYING
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_ALSA_LIB),y)
|
||||||
|
LIBSAMPLERATE_DEPENDENCIES += alsa-lib
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_LIBSNDFILE),y)
|
ifeq ($(BR2_PACKAGE_LIBSNDFILE),y)
|
||||||
LIBSAMPLERATE_DEPENDENCIES += libsndfile
|
LIBSAMPLERATE_DEPENDENCIES += libsndfile
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user