sci-calculators/hcalc: update EAPI 7 -> 8

Closes: https://bugs.gentoo.org/952071
Closes: https://bugs.gentoo.org/957237
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner
2025-09-30 20:08:28 +02:00
parent 09c57db734
commit 160aedda3f
2 changed files with 12 additions and 3 deletions

View File

@@ -0,0 +1,8 @@
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required (VERSION 2.6)
+cmake_minimum_required (VERSION 3.10)
project (hcalc C)
find_package(X11)

View File

@@ -1,12 +1,12 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI=8
inherit cmake
DESCRIPTION="DJ's Hex Calculator"
HOMEPAGE="http://www.delorie.com/store/hcalc/ https://github.com/jlec/hcalc"
HOMEPAGE="https://www.delorie.com/store/hcalc/ https://github.com/jlec/hcalc"
SRC_URI="https://github.com/jlec/hcalc/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="GPL-2"
@@ -21,6 +21,7 @@ DEPEND="${RDEPEND}"
PATCHES=(
"${FILESDIR}"/${P}-fno-common.patch
"${FILESDIR}"/${P}-clang16.patch
"${FILESDIR}"/${P}-cmake4.patch # bug 952071, downstream patch
)
pkg_postinst() {