gentoo-ebuilds/games-arcade/performous/files/performous-1.3.1-cblas.patch
Nicolas PARLANT 8b1d7e8869
games-arcade/performous: add 1.3.1_p20250723
use a snapshot to fix few issues

update SRC_URI's songs (redirect)

add xdg to update cache

deps :
add gtest for testsuite
add [blas] for aubio (target patched to cblas instead of openblas)
add [cxx] for portaudio
ad dev-cpp/nlohmann_json for json support
add dev-libs/spdlog
add dev-libs/libfmt (used for log with spdlog)
add virtual/pkgconfig for detection

remove locale per lang

update compile definitions to avoid 3rd party and bundle CED (not in
tree)

patches :
use cblas instead of openblas for aubio. It seems to work fine as it.
avoid gzip for manpages

Closes: https://bugs.gentoo.org/942642
Closes: https://bugs.gentoo.org/956689
Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
Part-of: https://github.com/gentoo/gentoo/pull/43255
Closes: https://github.com/gentoo/gentoo/pull/43255
Signed-off-by: Sam James <sam@gentoo.org>
2025-07-31 07:59:27 +01:00

22 lines
795 B
Diff

Use cblas implementation instead of restricting openblas
--- a/cmake/Modules/FindAubio.cmake
+++ b/cmake/Modules/FindAubio.cmake
@@ -4,17 +4,9 @@ include(LibFetchMacros)
set(Aubio_GIT_VERSION "master")
#set(BLA_VENDOR OpenBLAS)
-set(BLA_PKGCONFIG_BLAS openblas)
+set(BLA_PKGCONFIG_BLAS cblas)
find_package(BLAS REQUIRED)
-# also Accelerate.framework for mac
-
-if (NOT APPLE AND NOT BLAS_LIBRARIES MATCHES "openblas")
- message(FATAL_ERROR "BLAS vendor is not OpenBLAS. Found: ${BLAS_LIBRARIES}")
-elseif (APPLE AND NOT BLAS_LIBRARIES MATCHES "Accelerate.framework")
- message(FATAL_ERROR "BLAS vendor is not Accelerate.framework. Found: ${BLAS_LIBRARIES}")
-endif()
-
if(SELF_BUILT_AUBIO STREQUAL "ALWAYS")
message(STATUS "aubio forced to build from source")
libfetch_git_pkg(Aubio