media-libs/libebur128: Fix build w/ cmake-4

Closes: https://bugs.gentoo.org/952797
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner 2025-11-27 19:54:26 +01:00
parent 19e3406b7f
commit 921c8b362b
No known key found for this signature in database
GPG Key ID: AE591BBC73E4DD5E
2 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,15 @@
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.16...3.31)
project(libebur128 C)
option(BUILD_SHARED_LIBS
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -1,4 +1,3 @@
-cmake_minimum_required(VERSION 2.8.12)
set(ENABLE_TESTS OFF CACHE BOOL "Build test binaries, needs libsndfile")
set(ENABLE_FUZZER OFF CACHE BOOL "Build fuzzer binary")

View File

@ -24,6 +24,8 @@ DEPEND="
)
"
PATCHES=( "${FILESDIR}/${P}-cmake4.patch" ) # bug 952797
multilib_src_configure() {
local mycmakeargs=(
-DENABLE_INTERNAL_QUEUE_H=OFF