git: 6d72fbd4e792 - main - audio/soundtouch: Update to 4.0.1

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Thu, 16 Apr 2026 20:10:00 UTC
The branch main has been updated by diizzy:

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

commit 6d72fbd4e792591b9c59e7da00b5555ad65df92f
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2026-04-16 19:40:15 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2026-04-16 20:09:09 +0000

    audio/soundtouch: Update to 4.0.1
    
    * Add USES= pathfix to fix install location of pkgconfig file and
      make build logs consistent
    * Change CFLAGS to CXXFLAGS for i386
    
    PR:             294149
    Approved by:    maintainer timeout, 2+ weeks
---
 audio/soundtouch/Makefile                   |  9 +++++----
 audio/soundtouch/distinfo                   |  6 +++---
 audio/soundtouch/files/patch-CMakeLists.txt | 10 +++++-----
 audio/soundtouch/pkg-plist                  |  2 +-
 4 files changed, 14 insertions(+), 13 deletions(-)

diff --git a/audio/soundtouch/Makefile b/audio/soundtouch/Makefile
index 0ee7cfc2119c..877ee2ce65f2 100644
--- a/audio/soundtouch/Makefile
+++ b/audio/soundtouch/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	soundtouch
-DISTVERSION=	2.3.3
+DISTVERSION=	2.4.1
 CATEGORIES=	audio
 MASTER_SITES=	https://www.surina.net/${PORTNAME}/
 
@@ -10,13 +10,14 @@ WWW=		https://www.surina.net/soundtouch/
 LICENSE=	LGPL21
 LICENSE_FILE=	${WRKSRC}/COPYING.TXT
 
-USES=		cmake compiler:c++17-lang cpe
+USES=		cmake compiler:c++17-lang cpe pathfix
 CPE_VENDOR=	surina
 USE_LDCONFIG=	yes
 
 WRKSRC=		${WRKDIR}/${PORTNAME}
-CFLAGS_i386=	-DSOUNDTOUCH_DISABLE_X86_OPTIMIZATIONS
+CXXFLAGS_i386=	-DSOUNDTOUCH_DISABLE_X86_OPTIMIZATIONS
 
+CMAKE_OFF=	NEON
 CMAKE_ON=	BUILD_SHARED_LIBS
 
 OPTIONS_DEFINE=			INTEGER_SAMPLES OPTIMIZED_CFLAGS
@@ -40,6 +41,6 @@ NEON_DESC=		Use NEON instructions
 INTEGER_SAMPLES_CMAKE_BOOL=	INTEGER_SAMPLES
 NEON_CMAKE_BOOL=		NEON
 OPENMP_CMAKE_BOOL=		OPENMP
-OPTIMIZED_CFLAGS_CFLAGS=	-Ofast
+OPTIMIZED_CFLAGS_CFLAGS=	-O3 -ffast-math
 
 .include <bsd.port.mk>
diff --git a/audio/soundtouch/distinfo b/audio/soundtouch/distinfo
index 7ab14a3ce09f..0e9e572ec9ec 100644
--- a/audio/soundtouch/distinfo
+++ b/audio/soundtouch/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1712001624
-SHA256 (soundtouch-2.3.3.tar.gz) = 43b23dfac2f64a3aff55d64be096ffc7b73842c3f5665caff44975633a975a99
-SIZE (soundtouch-2.3.3.tar.gz) = 606780
+TIMESTAMP = 1774831385
+SHA256 (soundtouch-2.4.1.tar.gz) = e07abf20ce8f95850c280132e1f61ad400fc1f4011b7fac698a503de6aab6733
+SIZE (soundtouch-2.4.1.tar.gz) = 607365
diff --git a/audio/soundtouch/files/patch-CMakeLists.txt b/audio/soundtouch/files/patch-CMakeLists.txt
index 8c2e26cab1a5..ae86fb756226 100644
--- a/audio/soundtouch/files/patch-CMakeLists.txt
+++ b/audio/soundtouch/files/patch-CMakeLists.txt
@@ -1,11 +1,11 @@
---- CMakeLists.txt.orig	2024-04-01 20:14:00 UTC
+--- CMakeLists.txt.orig	2026-03-30 00:43:18 UTC
 +++ CMakeLists.txt
-@@ -13,7 +13,7 @@ else()
-   if(EMSCRIPTEN)
+@@ -14,7 +14,7 @@ else()
      list(APPEND COMPILE_OPTIONS -O3)
    else()
--    list(APPEND COMPILE_OPTIONS -Ofast)
-+#    list(APPEND COMPILE_OPTIONS -Ofast)
+     # Apply -ffast-math to allow compiler autovectorization generate effective SIMD code for arm compilation
+-    list(APPEND COMPILE_OPTIONS -O3 -ffast-math)
++    # list(APPEND COMPILE_OPTIONS -O3 -ffast-math)
    endif()
  endif()
  
diff --git a/audio/soundtouch/pkg-plist b/audio/soundtouch/pkg-plist
index 8f1a113b975d..02e7a12c2970 100644
--- a/audio/soundtouch/pkg-plist
+++ b/audio/soundtouch/pkg-plist
@@ -11,5 +11,5 @@ lib/cmake/SoundTouch/SoundTouchTargets-%%CMAKE_BUILD_TYPE%%.cmake
 lib/cmake/SoundTouch/SoundTouchTargets.cmake
 lib/libSoundTouch.so
 lib/libSoundTouch.so.2
-lib/libSoundTouch.so.2.3.3
+lib/libSoundTouch.so.2.4.1
 libdata/pkgconfig/soundtouch.pc