git: d47b0c46c281 - main - audio/soundtouch: Switch to MASTER_SITES and fix i386

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Mon, 25 Oct 2021 17:45:02 UTC
The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d47b0c46c281281607be32faacc8f969b1234a62

commit d47b0c46c281281607be32faacc8f969b1234a62
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2021-10-25 17:42:33 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2021-10-25 17:42:36 +0000

    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
---
 audio/soundtouch/Makefile | 20 +++++++++++---------
 audio/soundtouch/distinfo |  6 +++---
 2 files changed, 14 insertions(+), 12 deletions(-)

diff --git a/audio/soundtouch/Makefile b/audio/soundtouch/Makefile
index d9a5889eb146..c0c12222c708 100644
--- a/audio/soundtouch/Makefile
+++ b/audio/soundtouch/Makefile
@@ -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
 
diff --git a/audio/soundtouch/distinfo b/audio/soundtouch/distinfo
index aabf4edb4327..7eaff9c7d400 100644
--- a/audio/soundtouch/distinfo
+++ b/audio/soundtouch/distinfo
@@ -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