From f39d326885ca2864141ad05a0bb046f40cd04451 Mon Sep 17 00:00:00 2001 From: Olaf Mersmann Date: Tue, 5 Jan 2021 00:16:17 +0100 Subject: [PATCH] octave: update to 6.1.0. --- srcpkgs/octave/template | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/srcpkgs/octave/template b/srcpkgs/octave/template index faac10a9818..4dc6335909e 100644 --- a/srcpkgs/octave/template +++ b/srcpkgs/octave/template @@ -1,19 +1,33 @@ # Template file for 'octave' pkgname=octave -version=5.2.0 -revision=2 +version=6.1.0 +revision=1 build_style=gnu-configure -configure_args=" --with-blas=openblas --with-lapack=openblas" hostmakedepends="perl gcc-fortran pkg-config gnuplot" makedepends="pcre-devel openblas-devel readline-devel libSM-devel libltdl-devel - lcms2-devel glpk-devel" + lcms2-devel glpk-devel texinfo" depends="$(vopt_if gui qt5-plugin-sqlite) texinfo" +checkdepends="texlive-dvi tar zip unzip" short_desc="High-level language, primarily intended for numerical computations" maintainer="Diogo Leal " license="GPL-3.0-or-later" homepage="https://gnu.org/software/octave/" +changelog="https://www.gnu.org/software/octave/NEWS-6.1.html" distfiles="${GNU_SITE}/octave/octave-${version}.tar.gz" -checksum=2fea62b3c78d6f38e9451da8a4d26023840725977dffee5250d3d180f56595e1 +checksum=6ff34e401658622c44094ecb67e497672e4337ca2d36c0702d0403ecc60b0a57 + +# Use OpenBLAS on platforms where it is available and fallback to regular BLAS +# on all others. +case "$XBPS_TARGET_MACHINE" in + # List of supported architectures copied from openblas. + armv[67]*|aarch64*|i686*|x86_64*|ppc64*) + makedepends+=" openblas-devel" + configure_args=" --with-blas=openblas --with-lapack=openblas" + ;; + *) + makedepends+=" blas-devel lapack-devel" + ;; +esac # Package build options # TODO: some options are still missing, such as