diff --git a/sci-biology/uchime/files/CMakeLists.patch b/sci-biology/uchime/files/CMakeLists.patch index c33af8c7e827c..36b2b39ca5c64 100644 --- a/sci-biology/uchime/files/CMakeLists.patch +++ b/sci-biology/uchime/files/CMakeLists.patch @@ -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) diff --git a/sci-biology/uchime/uchime-4.2.40-r1.ebuild b/sci-biology/uchime/uchime-4.2.40-r1.ebuild index 9742ee2575fc1..348d8106d2708 100644 --- a/sci-biology/uchime/uchime-4.2.40-r1.ebuild +++ b/sci-biology/uchime/uchime-4.2.40-r1.ebuild @@ -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 )