Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jan 2025 20:46:47 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: fc6aa830ce10 - main - multimedia/ossia-score: Fix plist on non-Intel architectures
Message-ID:  <202501082046.508KklIr005143@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

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

commit fc6aa830ce1089971bfd99d868e5ef86a4c52a34
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-01-08 14:01:59 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-01-08 14:01:59 +0000

    multimedia/ossia-score: Fix plist on non-Intel architectures
    
    Reported by:    fallout
---
 multimedia/ossia-score/Makefile  | 17 ++++++++++++++++-
 multimedia/ossia-score/pkg-plist | 10 ----------
 2 files changed, 16 insertions(+), 11 deletions(-)

diff --git a/multimedia/ossia-score/Makefile b/multimedia/ossia-score/Makefile
index 622a8e4524c5..53031a960954 100644
--- a/multimedia/ossia-score/Makefile
+++ b/multimedia/ossia-score/Makefile
@@ -48,4 +48,19 @@ CMAKE_ARGS=	-DSCORE_DISABLED_PLUGINS="score-plugin-pd;score-plugin-vst3" \
 
 CXXFLAGS+=	-fexperimental-library # to fix libossia/src/ossia/detail/jthread.hpp:10:8: error: Rebuild with -fexperimental-library, clang 18 ships headers which are incompatible with this file but hides half of them behind that flag
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "amd64" || ${ARCH} == "i386"
+PLIST_FILES=	lib/libkfr_dft_avx.a \
+		lib/libkfr_dft_avx2.a \
+		lib/libkfr_dft_avx512.a \
+		lib/libkfr_dft_sse2.a \
+		lib/libkfr_dft_sse41.a \
+		lib/libkfr_dsp_avx.a \
+		lib/libkfr_dsp_avx2.a \
+		lib/libkfr_dsp_avx512.a \
+		lib/libkfr_dsp_sse2.a \
+		lib/libkfr_dsp_sse41.a
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/multimedia/ossia-score/pkg-plist b/multimedia/ossia-score/pkg-plist
index 1647e71f4b92..96f6f7d6ed7e 100644
--- a/multimedia/ossia-score/pkg-plist
+++ b/multimedia/ossia-score/pkg-plist
@@ -269,16 +269,6 @@ lib/cmake/kfr/KFRConfigVersion.cmake
 lib/cmake/libartnet/artnet-exports-%%CMAKE_BUILD_TYPE%%.cmake
 lib/cmake/libartnet/artnet-exports.cmake
 lib/libartnet.a
-lib/libkfr_dft_avx.a
-lib/libkfr_dft_avx2.a
-lib/libkfr_dft_avx512.a
-lib/libkfr_dft_sse2.a
-lib/libkfr_dft_sse41.a
-lib/libkfr_dsp_avx.a
-lib/libkfr_dsp_avx2.a
-lib/libkfr_dsp_avx512.a
-lib/libkfr_dsp_sse2.a
-lib/libkfr_dsp_sse41.a
 lib/libkfr_io.a
 share/async-mqtt5/async-mqtt5Config.cmake
 share/async-mqtt5/async-mqtt5ConfigVersion.cmake



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501082046.508KklIr005143>