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

Closes: https://bugs.gentoo.org/957239
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner
2025-09-28 22:14:22 +02:00
parent 83ed5472d5
commit 67d125dc03
2 changed files with 38 additions and 2 deletions

View File

@@ -0,0 +1,34 @@
From bc0ee8957153e64c712f529e28ab7a509b1b95b5 Mon Sep 17 00:00:00 2001
From: Andreas Sturmlechner <asturm@gentoo.org>
Date: Sun, 28 Sep 2025 22:12:39 +0200
Subject: [PATCH] Raise CMake minimum version to 3.10
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
---
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

View File

@@ -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" )