From 3b7289bec60f3c65047149317659baac74599fcc Mon Sep 17 00:00:00 2001 From: Sam James Date: Wed, 2 Jun 2021 21:30:20 +0000 Subject: sci-mathematics/gsl-shell: subscribe to sci-libs/gsl subslot Signed-off-by: Sam James --- .../gsl-shell/gsl-shell-2.3.0_beta1-r1.ebuild | 64 ++++++++++++++++++++++ .../gsl-shell/gsl-shell-2.3.0_beta1.ebuild | 64 ---------------------- 2 files changed, 64 insertions(+), 64 deletions(-) create mode 100644 sci-mathematics/gsl-shell/gsl-shell-2.3.0_beta1-r1.ebuild delete mode 100644 sci-mathematics/gsl-shell/gsl-shell-2.3.0_beta1.ebuild (limited to 'sci-mathematics/gsl-shell') diff --git a/sci-mathematics/gsl-shell/gsl-shell-2.3.0_beta1-r1.ebuild b/sci-mathematics/gsl-shell/gsl-shell-2.3.0_beta1-r1.ebuild new file mode 100644 index 000000000000..2ee665f06083 --- /dev/null +++ b/sci-mathematics/gsl-shell/gsl-shell-2.3.0_beta1-r1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs + +MY_P=${P/_/-} +DESCRIPTION="Lua interactive shell for sci-libs/gsl" +HOMEPAGE="http://www.nongnu.org/gsl-shell/" +SRC_URI="http://download.savannah.gnu.org/releases/${PN}/${MY_P}.tar.gz" + +SLOT="0" +LICENSE="GPL-3" +KEYWORDS="~amd64 ~x86" +IUSE="doc fox" + +RDEPEND=" + >=sci-libs/gsl-1.14:= + virtual/blas + >=x11-libs/agg-2.5 + >=media-libs/freetype-2.4.10 + sys-libs/readline:0= + || ( media-fonts/ubuntu-font-family media-fonts/freefont media-fonts/dejavu ) + fox? ( x11-libs/fox:1.6 )" +DEPEND="${RDEPEND} + virtual/pkgconfig + doc? ( dev-python/sphinx[latex] )" + +S="${WORKDIR}"/${MY_P} + +PATCHES=( + "${FILESDIR}"/${PN}-font.patch + "${FILESDIR}"/${PN}-strip.patch + "${FILESDIR}"/${PN}-usr.patch + "${FILESDIR}"/${PN}-2.2.0-pkg-config.patch + "${FILESDIR}"/${P/_beta*/}-gdt-cflags.patch +) + +src_prepare() { + tc-export PKG_CONFIG + use fox || PATCHES+=( "${FILESDIR}"/${PN}-nogui.patch ) + default +} + +src_compile() { + local BLAS=$($(tc-getPKG_CONFIG) --libs blas) + + if use fox; then + local FOX_INCLUDES="$(WANT_FOX=1.6 fox-config --cflags)" + local FOX_LIBS="$(WANT_FOX=1.6 fox-config --libs)" + emake -j1 CFLAGS="${CFLAGS}" GSL_LIBS="$($(tc-getPKG_CONFIG) --libs gsl) ${BLAS}" \ + FOX_INCLUDES="${FOX_INCLUDES}" FOX_LIBS="${FOX_LIBS}" + else + emake -j1 CFLAGS="${CFLAGS}" GSL_LIBS="$($(tc-getPKG_CONFIG) --libs gsl) ${BLAS}" + fi + + use doc && emake -C doc/user-manual -j1 html +} + +src_install() { + use doc && HTML_DOCS+=( doc/user-manual/_build/html/. ) + default +} diff --git a/sci-mathematics/gsl-shell/gsl-shell-2.3.0_beta1.ebuild b/sci-mathematics/gsl-shell/gsl-shell-2.3.0_beta1.ebuild deleted file mode 100644 index f182d5168c48..000000000000 --- a/sci-mathematics/gsl-shell/gsl-shell-2.3.0_beta1.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit toolchain-funcs - -MY_P=${P/_/-} -DESCRIPTION="Lua interactive shell for sci-libs/gsl" -HOMEPAGE="http://www.nongnu.org/gsl-shell/" -SRC_URI="http://download.savannah.gnu.org/releases/${PN}/${MY_P}.tar.gz" - -SLOT="0" -LICENSE="GPL-3" -KEYWORDS="~amd64 ~x86" -IUSE="doc fox" - -RDEPEND=" - >=sci-libs/gsl-1.14 - virtual/blas - >=x11-libs/agg-2.5 - >=media-libs/freetype-2.4.10 - sys-libs/readline:0= - || ( media-fonts/ubuntu-font-family media-fonts/freefont media-fonts/dejavu ) - fox? ( x11-libs/fox:1.6 )" -DEPEND="${RDEPEND} - virtual/pkgconfig - doc? ( dev-python/sphinx[latex] )" - -S="${WORKDIR}"/${MY_P} - -PATCHES=( - "${FILESDIR}"/${PN}-font.patch - "${FILESDIR}"/${PN}-strip.patch - "${FILESDIR}"/${PN}-usr.patch - "${FILESDIR}"/${PN}-2.2.0-pkg-config.patch - "${FILESDIR}"/${P/_beta*/}-gdt-cflags.patch -) - -src_prepare() { - tc-export PKG_CONFIG - use fox || PATCHES+=( "${FILESDIR}"/${PN}-nogui.patch ) - default -} - -src_compile() { - local BLAS=$($(tc-getPKG_CONFIG) --libs blas) - - if use fox; then - local FOX_INCLUDES="$(WANT_FOX=1.6 fox-config --cflags)" - local FOX_LIBS="$(WANT_FOX=1.6 fox-config --libs)" - emake -j1 CFLAGS="${CFLAGS}" GSL_LIBS="$($(tc-getPKG_CONFIG) --libs gsl) ${BLAS}" \ - FOX_INCLUDES="${FOX_INCLUDES}" FOX_LIBS="${FOX_LIBS}" - else - emake -j1 CFLAGS="${CFLAGS}" GSL_LIBS="$($(tc-getPKG_CONFIG) --libs gsl) ${BLAS}" - fi - - use doc && emake -C doc/user-manual -j1 html -} - -src_install() { - use doc && HTML_DOCS+=( doc/user-manual/_build/html/. ) - default -} -- cgit v1.2.3-65-gdbad