audio/soundtouch: Switch to MASTER_SITES and fix i386

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
This commit is contained in:
Daniel Engberg 2021-10-25 19:42:33 +02:00
parent 8dcfe73b5b
commit d47b0c46c2
2 changed files with 14 additions and 12 deletions

View File

@ -3,6 +3,7 @@
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
@ -11,23 +12,24 @@ LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/COPYING.TXT
USES= cmake cpe
USE_GITLAB= yes
GL_COMMIT= e1f315f5358d9db5cee35a7a2886425489fcefe8
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= 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= ${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

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1631831988
SHA256 (soundtouch-soundtouch-e1f315f5358d9db5cee35a7a2886425489fcefe8_GL0.tar.gz) = 633ea27250f465533a5ada4ac0ff276a4be01f43e975e42b8507c50dfbbfd7f9
SIZE (soundtouch-soundtouch-e1f315f5358d9db5cee35a7a2886425489fcefe8_GL0.tar.gz) = 524738
TIMESTAMP = 1634244025
SHA256 (soundtouch-2.3.1.tar.gz) = 6900996607258496ce126924a19fe9d598af9d892cf3f33d1e4daaa9b42ae0b1
SIZE (soundtouch-2.3.1.tar.gz) = 524664