kumquat-buildroot/package/spandsp/spandsp.mk
Yann E. MORIN 2e3f0a500e package/spandsp: new package
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[Bernd:
 - bumped version to 20180108
 - removed 0001-fix-msse4.x.patch, applied upstream
 - removed autoreconf after patch removal
 - added license hash (Arnout)
 - added SPDX license codes (Arnout)]
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[Thomas:
 - add entry to DEVELOPERS file]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-10-09 15:11:09 +02:00

28 lines
960 B
Makefile

################################################################################
#
# spandsp
#
################################################################################
SPANDSP_VERSION = 20180108
SPANDSP_SITE = https://www.soft-switch.org/downloads/spandsp/snapshots
SPANDSP_LICENSE = LGPL-2.1 (library), GPL-2.0 (test suite)
SPANDSP_LICENSE_FILES = COPYING
SPANDSP_DEPENDENCIES = tiff
SPANDSP_INSTALL_STAGING = YES
SPANDSP_CONF_OPTS = \
--disable-doc \
--disable-builtin-tiff \
$(if $(BR2_X86_CPU_HAS_MMX),--enable-mmx,--disable-mmx) \
$(if $(BR2_X86_CPU_HAS_SSE),--enable-sse,--disable-sse) \
$(if $(BR2_X86_CPU_HAS_SSE2),--enable-sse2,--disable-sse2) \
$(if $(BR2_X86_CPU_HAS_SSE3),--enable-sse3,--disable-sse3) \
$(if $(BR2_X86_CPU_HAS_SSSE3),--enable-ssse3,--disable-ssse3) \
$(if $(BR2_X86_CPU_HAS_SSE4),--enable-sse4-1,--disable-sse4-1) \
$(if $(BR2_X86_CPU_HAS_SSE42),--enable-sse4-2,--disable-sse4-2)
$(eval $(autotools-package))