sys-fs/fatcat: EAPI=8 update, cmake-4 compat

Closes: https://bugs.gentoo.org/953850
Closes: https://bugs.gentoo.org/957266
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
This commit is contained in:
Ben Kohler 2025-07-03 09:50:37 -05:00
parent 467c33b10d
commit 2e6bc3b89c
No known key found for this signature in database
GPG Key ID: 7A85BDA4D57605C7

View File

@ -1,7 +1,7 @@
# Copyright 2018-2023 Gentoo Authors
# Copyright 2018-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI=8
inherit cmake
@ -12,7 +12,6 @@ SRC_URI="https://github.com/Gregwar/fatcat/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="!elibc_glibc? ( sys-libs/argp-standalone )"
RDEPEND="${DEPEND}"
@ -21,6 +20,11 @@ PATCHES=(
"${FILESDIR}/fatcat-1.1.1-musl-1.2.4-fixes.patch"
)
src_prepare() {
sed -i -e 's#VERSION 2.8#VERSION 4.0#' CMakeLists.txt || die
cmake_src_prepare
}
src_install() {
cmake_src_install
doman man/${PN}.1