From f964acc0ec3fd127cbc3fb5e9942f4afea882be8 Mon Sep 17 00:00:00 2001 From: Sam James Date: Fri, 16 Dec 2022 01:31:17 +0000 Subject: sci-astronomy/gnuastro: add media-libs/libtiff subslot dep libtiff changed SONAME. Signed-off-by: Sam James --- sci-astronomy/gnuastro/gnuastro-0.16-r1.ebuild | 54 ++++++++++++++++++++++++++ sci-astronomy/gnuastro/gnuastro-0.16.ebuild | 54 -------------------------- 2 files changed, 54 insertions(+), 54 deletions(-) create mode 100644 sci-astronomy/gnuastro/gnuastro-0.16-r1.ebuild delete mode 100644 sci-astronomy/gnuastro/gnuastro-0.16.ebuild diff --git a/sci-astronomy/gnuastro/gnuastro-0.16-r1.ebuild b/sci-astronomy/gnuastro/gnuastro-0.16-r1.ebuild new file mode 100644 index 000000000000..5321d43d4ac3 --- /dev/null +++ b/sci-astronomy/gnuastro/gnuastro-0.16-r1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2022 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 ~amd64-linux ~x86-linux" + +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= + sys-libs/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 +} diff --git a/sci-astronomy/gnuastro/gnuastro-0.16.ebuild b/sci-astronomy/gnuastro/gnuastro-0.16.ebuild deleted file mode 100644 index ca9adb3bb97c..000000000000 --- a/sci-astronomy/gnuastro/gnuastro-0.16.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2022 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 ~amd64-linux ~x86-linux" - -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 - net-misc/curl - sci-astronomy/wcslib:0= - sci-libs/cfitsio:0= - sci-libs/gsl:0= - sys-libs/zlib:= - virtual/jpeg:0= -" -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 -} -- cgit v1.2.3-65-gdbad