gentoo-ebuilds/sci-libs/stellarsolver/stellarsolver-2.7.ebuild
Andreas Sturmlechner 058b4ff690
sci-libs/stellarsolver: Raise CMake minimum to >=3.10
Closes: https://bugs.gentoo.org/965002
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2025-10-23 14:18:47 +02:00

40 lines
864 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake flag-o-matic
DESCRIPTION="Cross-platform Sextractor and Astrometry.net-Based internal astrometric solver"
HOMEPAGE="https://github.com/rlancaste/stellarsolver"
SRC_URI="https://github.com/rlancaste/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD GPL-3"
SLOT="0"
KEYWORDS="amd64 ~x86"
IUSE=""
RDEPEND="
dev-qt/qtbase:6[concurrent,gui,network,widgets]
sci-libs/cfitsio:=
sci-libs/gsl:=
sci-astronomy/wcslib:=
"
DEPEND="${RDEPEND}"
PATCHES=(
"${FILESDIR}/${P}-file-descriptor-leak.patch" # git master
"${FILESDIR}/${P}-cmake-minreqver-3.10.patch" # bug #965002
)
src_configure() {
# bug #862930
filter-lto
local mycmakeargs=(
-DUSE_QT5=OFF
-DBUILD_CLI=OFF # nothing is installed (yet?)
)
cmake_src_configure
}