diff options
author | 2022-04-11 14:45:20 +0800 | |
---|---|---|
committer | 2022-04-16 19:34:49 +0200 | |
commit | d2975ebf793475fb14124efed12030fdb6eae48c (patch) | |
tree | 7edd7e7e41325bd7133876632176c66fa8250984 /sci-mathematics/octave | |
parent | dev-python/gpep517: Keyword 3 for ~m68k (diff) | |
download | gentoo-d2975ebf793475fb14124efed12030fdb6eae48c.tar.gz gentoo-d2975ebf793475fb14124efed12030fdb6eae48c.tar.bz2 gentoo-d2975ebf793475fb14124efed12030fdb6eae48c.zip |
sci-mathematics/octave-6.4.0: add missing dependencies
Closes: https://bugs.gentoo.org/837752
Signed-off-by: Haonan Chen <chn@chn.moe>
Closes: https://github.com/gentoo/gentoo/pull/24985
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'sci-mathematics/octave')
-rw-r--r-- | sci-mathematics/octave/octave-6.4.0-r1.ebuild (renamed from sci-mathematics/octave/octave-6.4.0.ebuild) | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/sci-mathematics/octave/octave-6.4.0.ebuild b/sci-mathematics/octave/octave-6.4.0-r1.ebuild index bc0547dacdd3..3ef75b4b879f 100644 --- a/sci-mathematics/octave/octave-6.4.0.ebuild +++ b/sci-mathematics/octave/octave-6.4.0-r1.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 -inherit autotools flag-o-matic fortran-2 java-pkg-opt-2 pax-utils toolchain-funcs xdg-utils +inherit autotools flag-o-matic fortran-2 java-pkg-opt-2 pax-utils qmake-utils toolchain-funcs xdg-utils DESCRIPTION="High-level interactive language for numerical computations" LICENSE="GPL-3" @@ -76,7 +76,7 @@ RDEPEND=" sci-libs/umfpack:0= ) ssl? ( - dev-libs/openssl:0= + dev-libs/openssl:0= ) sundials? ( >=sci-libs/sundials-4:0= ) X? ( x11-libs/libX11:0= )" @@ -92,7 +92,8 @@ DEPEND="${RDEPEND} gui? ( dev-qt/linguist-tools:5 ) java? ( >=virtual/jdk-1.6.0 ) qrupdate? ( app-misc/pax-utils ) - sparse? ( app-misc/pax-utils )" + sparse? ( app-misc/pax-utils ) + || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] )" PATCHES=( "${FILESDIR}"/${PN}-5.1.0-pkgbuilddir.patch @@ -118,6 +119,11 @@ src_configure() { use hdf5 && has_version sci-libs/hdf5[mpi] && \ export CXX=mpicxx CC=mpicc FC=mpif77 F77=mpif77 + # tell autoconf where to find qt binaries, fix bug #837752 + export MOC="$(qt5_get_bindir)/moc" UIC="$(qt5_get_bindir)/uic" RCC="$(qt5_get_bindir)/rcc" \ + LRELEASE="$(qt5_get_bindir)/lrelease" QCOLLECTIONGENERATOR="$(qt5_get_bindir)/qcollectiongenerator" \ + QHELPGENERATOR="$(qt5_get_bindir)/qhelpgenerator" + # Some of these use_with flags are a bit mismatched. The configure # script offers only --without-foo, and detects "foo" automatically # unless --without-foo is specified. Passing --with-foo is not an @@ -187,7 +193,7 @@ src_install() { fi [[ -e test/fntests.log ]] && dodoc test/fntests.log use java && \ - java-pkg_regjar "${ED%/}/usr/share/${PN}/${PV}/m/java/octave.jar" + java-pkg_regjar "${ED}/usr/share/${PN}/${PV}/m/java/octave.jar" echo "LDPATH=${EPREFIX}/usr/$(get_libdir)/${PN}/${PV}" > 99octave || die doenvd 99octave } |