app-emulation/winetricks-zh: raise cmake_minimum_required to 3.10

CMakeLists.txt declares cmake_minimum_required(VERSION 2.6), which CMake 4 no longer
supports, so raise it in src_prepare of both the release and the live ebuild.

Bug: https://bugs.gentoo.org/951350
Signed-off-by: Zakk <zakk@gentoozh.org>
This commit is contained in:
Zakk committed 2026-10-21 15:37:07 +11:00
1 parent bf540e1423
commit 123b449318
2 files changed
+12

No files matched your search

@@ -15,3 +15,9 @@ SLOT="0"
KEYWORDS="~amd64"
RDEPEND="app-emulation/winetricks"
src_prepare() {
# ensure cmake_minimum_required >=3.10 (Bug: 951350)
sed -e '/cmake_minimum_required/s/2\.6/3.10/' -i CMakeLists.txt || die
cmake_src_prepare
}
@@ -13,3 +13,9 @@ LICENSE="LGPL-2.1+"
SLOT="0"
RDEPEND="app-emulation/winetricks"
src_prepare() {
# ensure cmake_minimum_required >=3.10 (Bug: 951350)
sed -e '/cmake_minimum_required/s/2\.6/3.10/' -i CMakeLists.txt || die
cmake_src_prepare
}