From e6cc2ca6f0e30f587cd5df3ce4e63d4ec2d09e46 Mon Sep 17 00:00:00 2001 From: Sam James Date: Thu, 5 May 2022 02:00:18 +0100 Subject: [PATCH] sci-mathematics/octave: add rapidjson USE flag Signed-off-by: Sam James --- sci-mathematics/octave/metadata.xml | 1 + sci-mathematics/octave/octave-7.1.0.ebuild | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/sci-mathematics/octave/metadata.xml b/sci-mathematics/octave/metadata.xml index cfb2c2525f7c8..759ec5c83e0f6 100644 --- a/sci-mathematics/octave/metadata.xml +++ b/sci-mathematics/octave/metadata.xml @@ -10,6 +10,7 @@ Add support for sci-mathematics/glpk for linear programming + Allow using jsonencode and jsondecode commands via dev-libs/rapidjson Add support for media-libs/qhull, to allow `delaunay', `convhull', and related functions Add support for sci-libs/qrupdatefor QR and Cholesky update functions Add enhanced support for sparse matrix algebra with SuiteSparse diff --git a/sci-mathematics/octave/octave-7.1.0.ebuild b/sci-mathematics/octave/octave-7.1.0.ebuild index 9d333e018ff1d..0f6f332a685b4 100644 --- a/sci-mathematics/octave/octave-7.1.0.ebuild +++ b/sci-mathematics/octave/octave-7.1.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" LICENSE="GPL-3" SLOT="0/${PV}" -IUSE="curl doc fftw +glpk gnuplot gui hdf5 java opengl +IUSE="curl doc fftw +glpk gnuplot gui hdf5 java json opengl portaudio postscript +qhull +qrupdate readline sndfile +sparse ssl static-libs sundials X zlib" # Issue when building w/ SSL needs investigation @@ -50,6 +50,7 @@ RDEPEND=" ) hdf5? ( sci-libs/hdf5:0= ) java? ( >=virtual/jre-1.6.0:* ) + json? ( dev-libs/rapidjson ) opengl? ( media-libs/freetype:2= media-libs/fontconfig:1.0= @@ -151,6 +152,7 @@ src_configure() { $(use_enable static-libs static) \ $(use_enable doc docs) \ $(use_enable java) \ + $(use_enable json rapidjson) \ $(use_enable readline) \ $(use_with curl) \ $(use_with fftw fftw3) \ @@ -162,7 +164,7 @@ src_configure() { $(use_with opengl fltk) \ $(use_with ssl openssl) \ $(use_with portaudio) \ - $(use_with qhull_r) \ + $(use_with qhull qhull_r) \ $(use_with qrupdate) \ $(use_with gui qt 5) \ $(use_with sndfile) \