kumquat-buildroot/package/libsoxr/libsoxr.mk
Fabrice Fontaine 9ad4322dd6 package/libsoxr: add optional ffmpeg dependency
avutil is used if (WITH_AVFFT OR (CMAKE_SYSTEM_PROCESSOR MATCHES "^arm"
AND SIMD32_FOUND AND WITH_CR32))

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-11-24 18:33:50 +01:00

26 lines
697 B
Makefile

################################################################################
#
# libsoxr
#
################################################################################
LIBSOXR_VERSION = 0.1.3
LIBSOXR_SOURCE = soxr-$(LIBSOXR_VERSION)-Source.tar.xz
LIBSOXR_SITE = http://downloads.sourceforge.net/project/soxr
LIBSOXR_LICENSE = LGPL-2.1+
LIBSOXR_LICENSE_FILES = LICENCE COPYING.LGPL
LIBSOXR_INSTALL_STAGING = YES
LIBSOXR_CONF_OPTS = -DWITH_OPENMP=OFF
ifeq ($(call qstrip,$(BR2_ENDIAN)),BIG)
LIBSOXR_CONF_OPTS += -DHAVE_WORDS_BIGENDIAN=1
else
LIBSOXR_CONF_OPTS += -DHAVE_WORDS_BIGENDIAN=0
endif
ifeq ($(BR2_PACKAGE_FFMPEG),y)
LIBSOXR_DEPENDENCIES += ffmpeg
endif
$(eval $(cmake-package))