diff --git a/audio/soundtouch/Makefile b/audio/soundtouch/Makefile index 0ee7cfc2119c..877ee2ce65f2 100644 --- a/audio/soundtouch/Makefile +++ b/audio/soundtouch/Makefile @@ -1,45 +1,46 @@ PORTNAME= soundtouch -DISTVERSION= 2.3.3 +DISTVERSION= 2.4.1 CATEGORIES= audio MASTER_SITES= https://www.surina.net/${PORTNAME}/ MAINTAINER= crees@FreeBSD.org COMMENT= Open-source audio processing library 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 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_DEFINE_riscv64= 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 OPTIONS_DEFAULT_riscv64= 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 +OPTIMIZED_CFLAGS_CFLAGS= -O3 -ffast-math .include 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 @@ -1,15 +1,15 @@ bin/soundstretch include/soundtouch/BPMDetect.h include/soundtouch/FIFOSampleBuffer.h include/soundtouch/FIFOSamplePipe.h include/soundtouch/STTypes.h include/soundtouch/SoundTouch.h include/soundtouch/soundtouch_config.h lib/cmake/SoundTouch/SoundTouchConfig.cmake lib/cmake/SoundTouch/SoundTouchConfigVersion.cmake 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