commit:     67d125dc0333e62fccb360f5918b044aa4bdf978
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 28 20:14:22 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Sep 29 15:57:45 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67d125dc

media-libs/libcue: update EAPI 7 -> 8

Closes: https://bugs.gentoo.org/957239
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 media-libs/libcue/files/libcue-2.3.0-cmake4.patch | 34 +++++++++++++++++++++++
 media-libs/libcue/libcue-2.3.0.ebuild             |  6 ++--
 2 files changed, 38 insertions(+), 2 deletions(-)

diff --git a/media-libs/libcue/files/libcue-2.3.0-cmake4.patch 
b/media-libs/libcue/files/libcue-2.3.0-cmake4.patch
new file mode 100644
index 000000000000..605845119d84
--- /dev/null
+++ b/media-libs/libcue/files/libcue-2.3.0-cmake4.patch
@@ -0,0 +1,34 @@
+From bc0ee8957153e64c712f529e28ab7a509b1b95b5 Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <[email protected]>
+Date: Sun, 28 Sep 2025 22:12:39 +0200
+Subject: [PATCH] Raise CMake minimum version to 3.10
+
+Signed-off-by: Andreas Sturmlechner <[email protected]>
+---
+ CMakeLists.txt | 8 ++++++--
+ 1 file changed, 6 insertions(+), 2 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 2cc46a5..b6ab271 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1,10 +1,14 @@
++CMAKE_MINIMUM_REQUIRED(VERSION 3.10 FATAL_ERROR)
++
++if (POLICY CMP0145)
++      cmake_policy(SET CMP0145 OLD) # since 3.27
++endif()
++
+ SET(PACKAGE libcue)
+ SET(PACKAGE_NAME libcue)
+ SET(PACKAGE_VERSION 2.3.0)
+ SET(PACKAGE_SOVERSION 2)
+ 
+-CMAKE_MINIMUM_REQUIRED(VERSION 2.8 FATAL_ERROR)
+-
+ PROJECT(libcue C)
+ 
+ include(GNUInstallDirs)
+-- 
+2.51.0
+

diff --git a/media-libs/libcue/libcue-2.3.0.ebuild 
b/media-libs/libcue/libcue-2.3.0.ebuild
index ec171ae83891..7046bf064e70 100644
--- a/media-libs/libcue/libcue-2.3.0.ebuild
+++ b/media-libs/libcue/libcue-2.3.0.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit cmake
 
@@ -15,6 +15,8 @@ KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 
~riscv ~sparc x86"
 IUSE=""
 
 BDEPEND="
-       app-alternatives/yacc
        app-alternatives/lex
+       app-alternatives/yacc
 "
+
+PATCHES=( "${FILESDIR}/${P}-cmake4.patch" )

Reply via email to