Install this version:
emerge -a =sci-astronomy/gnuastro-0.16
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =sci-astronomy/gnuastro-0.16
Or alternatively:
emerge --autounmask-write -a =sci-astronomy/gnuastro-0.16
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="GNU Astronomy Utilities"
HOMEPAGE="https://www.gnu.org/software/gnuastro"
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0/1"
KEYWORDS="~amd64 ~x86"
IUSE="static-libs threads"
# jpeg, pdf, and libgit2 are forced deps
# because they are automagically detected.
RDEPEND="
app-text/ghostscript-gpl
dev-libs/libgit2:=
media-libs/tiff:=
media-libs/libjpeg-turbo:=
net-misc/curl
sci-astronomy/wcslib:0=
sci-libs/cfitsio:0=
sci-libs/gsl:0=
virtual/zlib:=
"
DEPEND="${RDEPEND}"
src_prepare() {
default
sed -i -e 's/-O3//' configure.ac || die
eautoreconf
}
src_configure() {
local myeconfargs=(
$(use_enable static-libs static)
$(use_enable threads)
)
econf ${myeconfargs[@]}
}
src_install() {
default
if ! use static-libs; then
find "${ED}" -name '*.la' -delete || die
fi
}
Manage flags for this package:
euse -i <flag> -p sci-astronomy/gnuastro |
euse -E <flag> -p sci-astronomy/gnuastro |
euse -D <flag> -p sci-astronomy/gnuastro
| Mirror Name | URLs |
|---|---|
| gnu |
app-text/ghostscript-gpl dev-libs/libgit2:= media-libs/tiff:= media-libs/libjpeg-turbo:= net-misc/curl sci-astronomy/wcslib:0= sci-libs/cfitsio:0= sci-libs/gsl:0= virtual/zlib:=
app-text/ghostscript-gpl dev-libs/libgit2:= media-libs/tiff:= media-libs/libjpeg-turbo:= net-misc/curl sci-astronomy/wcslib:0= sci-libs/cfitsio:0= sci-libs/gsl:0= virtual/zlib:=
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | gnuastro-0.16.tar.gz | 6089988 bytes | mirror://gnu/gnuastro/gnuastro-0.16.tar.gz |