mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-04 06:15:24 +00:00
d47b0c46c2
Switch to static tarball, unbreak i386 builds References: https://codeberg.org/soundtouch/soundtouch https://lists.freebsd.org/archives/freebsd-pkg-fallout/2021-October/124516.html PR: 259173 Approved by: crees (port maintainer), arrowd (mentor) Differential Revision: https://reviews.freebsd.org/D32639
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
|
|
|
|
PORTNAME= soundtouch
|
|
DISTVERSION= 2.3.1
|
|
CATEGORIES= audio
|
|
MASTER_SITES= https://www.surina.net/${PORTNAME}/
|
|
|
|
MAINTAINER= crees@FreeBSD.org
|
|
COMMENT= Open-source audio processing library
|
|
|
|
LICENSE= LGPL21
|
|
LICENSE_FILE= ${WRKSRC}/COPYING.TXT
|
|
|
|
USES= cmake cpe
|
|
USE_LDCONFIG= yes
|
|
|
|
CPE_VENDOR= surina
|
|
|
|
CFLAGS_i386= -DSOUNDTOUCH_DISABLE_X86_OPTIMIZATIONS
|
|
|
|
CMAKE_ON= BUILD_SHARED_LIBS
|
|
|
|
OPTIONS_DEFINE= INTEGER_SAMPLES OPTIMIZED_CFLAGS
|
|
OPTIONS_DEFINE_aarch64= NEON OPENMP
|
|
OPTIONS_DEFINE_amd64= OPENMP
|
|
OPTIONS_DEFINE_armv7= NEON
|
|
OPTIONS_DEFINE_i386= OPENMP
|
|
OPTIONS_DEFINE_powerpc64= OPENMP
|
|
OPTIONS_DEFINE_powerpc64le= OPENMP
|
|
OPTIONS_DEFAULT= ${MACHINE_CPU:Msoftfp:C/.+/INTEGER_SAMPLES/}
|
|
OPTIONS_DEFAULT_aarch64= NEON OPENMP OPTIMIZED_CFLAGS
|
|
OPTIONS_DEFAULT_amd64= OPENMP OPTIMIZED_CFLAGS
|
|
OPTIONS_DEFAULT_powerpc64= OPENMP OPTIMIZED_CFLAGS
|
|
OPTIONS_DEFAULT_powerpc64le= OPENMP OPTIMIZED_CFLAGS
|
|
|
|
INTEGER_SAMPLES_DESC= Use integer sample format
|
|
NEON_DESC= Use NEON instructions
|
|
|
|
INTEGER_SAMPLES_CMAKE_BOOL= INTEGER_SAMPLES
|
|
NEON_CMAKE_BOOL= NEON
|
|
OPENMP_CMAKE_BOOL= OPENMP
|
|
OPTIMIZED_CFLAGS_CFLAGS= -Ofast
|
|
|
|
.include <bsd.port.mk>
|