sci-mathematics/octave: add rapidjson USE flag

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2022-05-05 02:07:18 +01:00
parent aac091c1ac
commit e6cc2ca6f0
2 changed files with 5 additions and 2 deletions
+1
View File
@@ -10,6 +10,7 @@
</longdescription>
<use>
<flag name="glpk">Add support for <pkg>sci-mathematics/glpk</pkg> for linear programming</flag>
<flag name="json">Allow using jsonencode and jsondecode commands via <pkg>dev-libs/rapidjson</pkg></flag>
<flag name="qhull">Add support for <pkg>media-libs/qhull</pkg>, to allow `delaunay', `convhull', and related functions</flag>
<flag name="qrupdate">Add support for <pkg>sci-libs/qrupdate</pkg>for QR and Cholesky update functions</flag>
<flag name="sparse">Add enhanced support for sparse matrix algebra with SuiteSparse</flag>
+4 -2
View File
@@ -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) \