sci-biology/uchime: Fix build w/ cmake-4

Raise cmake_minimum_required to 3.31

Closes: https://bugs.gentoo.org/957440
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner 2025-10-05 16:12:29 +02:00
parent e6df65f21a
commit f527c122d4
No known key found for this signature in database
GPG Key ID: AE591BBC73E4DD5E
2 changed files with 5 additions and 4 deletions

View File

@ -1,7 +1,7 @@
--- /dev/null
+++ b/CMakeLists.txt
@@ -0,0 +1,18 @@
+cmake_minimum_required(VERSION 2.8.12)
+cmake_minimum_required(VERSION 3.31)
+project(UCHIME LANGUAGES CXX)
+
+include(GNUInstallDirs)

View File

@ -1,11 +1,10 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
MY_P="${PN}${PV}_src"
inherit cmake
DESCRIPTION="Fast, accurate chimera detection"
HOMEPAGE="https://www.drive5.com/usearch/manual/uchime_algo.html"
@ -16,4 +15,6 @@ LICENSE="public-domain"
SLOT="0"
KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
BDEPEND=">=dev-build/cmake-3.31"
PATCHES=( "${FILESDIR}"/CMakeLists.patch )