git: 14f3ab655760 - main - math/kfr: update 6.2.0 → 6.3.0

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 05 Aug 2025 16:28:59 UTC
The branch main has been updated by yuri:

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

commit 14f3ab6557603c3731f9e16532070d42c6250ca0
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2025-08-05 16:28:36 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-08-05 16:28:56 +0000

    math/kfr: update 6.2.0 → 6.3.0
    
    PR:     288643
---
 math/kfr/Makefile  | 15 ++++++++++-----
 math/kfr/distinfo  |  6 +++---
 math/kfr/pkg-plist |  1 +
 3 files changed, 14 insertions(+), 8 deletions(-)

diff --git a/math/kfr/Makefile b/math/kfr/Makefile
index cc5f84755155..d314966dedcb 100644
--- a/math/kfr/Makefile
+++ b/math/kfr/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	kfr
-DISTVERSION=	6.2.0
+DISTVERSION=	6.3.0
 CATEGORIES=	math
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -18,7 +18,7 @@ USES=		cmake:testing compiler:c++17-lang
 USE_GITHUB=	yes
 GH_ACCOUNT=	kfrlib
 
-CMAKE_ON=	BUILD_SHARED_LIBS
+CMAKE_ON=	BUILD_SHARED_LIBS ENABLE_EXAMPLES
 CMAKE_TESTING_ON=	ENABLE_TESTS
 CMAKE_TESTING_TARGET=	${ALL_TARGET}
 
@@ -27,7 +27,7 @@ CMAKE_ARGS_armv6=	-DCMT_FORCE_GENERIC_CPU=1 # to fix: ARM builds require NEON su
 
 .include <bsd.port.options.mk>
 
-.if ${ARCH} == amd64 || ${ARCH} == i386
+.ifndef CPUTYPE && (${ARCH} == amd64 || ${ARCH} == i386)
 PLIST_FILES=	lib/libkfr_dft_avx.so \
 		lib/libkfr_dft_avx2.so \
 		lib/libkfr_dft_avx512.so \
@@ -38,12 +38,17 @@ PLIST_FILES=	lib/libkfr_dft_avx.so \
 		lib/libkfr_dsp_avx512.so \
 		lib/libkfr_dsp_sse2.so \
 		lib/libkfr_dsp_sse41.so
+.else
+CMAKE_OFF=	KFR_ENABLE_MULTIARCH
+PLIST_FILES=	lib/libkfr_dft.so \
+		lib/libkfr_dsp.so
 .endif
 
+post-install:
+	${INSTALL_PROGRAM} ${BUILD_WRKSRC}/bin/sample_rate_converter ${STAGEDIR}${PREFIX}/bin/kfr_src
+
 post-test: # see https://github.com/kfrlib/kfr/issues/164
 	@cd ${BUILD_WRKSRC} && \
 		${BUILD_WRKSRC}/bin/all_tests
 
-# tests as of 6.2.0: [--SUCCESS--] 199/199 tests 2810450/2810450 checks
-
 .include <bsd.port.mk>
diff --git a/math/kfr/distinfo b/math/kfr/distinfo
index 459794fc51c3..a5fdbd4e47ac 100644
--- a/math/kfr/distinfo
+++ b/math/kfr/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1751181730
-SHA256 (kfrlib-kfr-6.2.0_GH0.tar.gz) = bc9507e1dde17a86b68fb045404b66c5c486e61e324d9209468ea1e6cac7173c
-SIZE (kfrlib-kfr-6.2.0_GH0.tar.gz) = 11281340
+TIMESTAMP = 1754130652
+SHA256 (kfrlib-kfr-6.3.0_GH0.tar.gz) = 3b2eb54edb9c1ba6d30648b47d11bd445cda4883052d592801bd5482f837162c
+SIZE (kfrlib-kfr-6.3.0_GH0.tar.gz) = 11284158
diff --git a/math/kfr/pkg-plist b/math/kfr/pkg-plist
index 1ea587a3ec63..f3458a431250 100644
--- a/math/kfr/pkg-plist
+++ b/math/kfr/pkg-plist
@@ -1,3 +1,4 @@
+bin/kfr_src
 include/kfr/all.hpp
 include/kfr/base.hpp
 include/kfr/base/basic_expressions.hpp