Skip to content

Commit

Permalink
maxima: update to 5.46.0.
Browse files Browse the repository at this point in the history
Also:
 - disable sbcl on aarch64
 - don't makedepends on emacs (avoid a nocross build dep)
 - move maxima-emacs files to main pkg
 - adopt
  • Loading branch information
tornaria committed May 21, 2023
1 parent ee7a1b0 commit 3607f99
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 34 deletions.

This file was deleted.

20 changes: 10 additions & 10 deletions srcpkgs/maxima/template
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
# Template file for 'maxima'
pkgname=maxima
version=5.45.1
revision=4
version=5.46.0
revision=1
build_style=gnu-configure
configure_args="$(vopt_enable clisp) $(vopt_enable sbcl sbcl-exec) $(vopt_enable ecl)"
hostmakedepends="python3 perl emacs texinfo patchelf"
hostmakedepends="python3 perl texinfo patchelf $(vopt_if ecl ecl)"
makedepends="$(vopt_if clisp clisp) $(vopt_if sbcl sbcl) $(vopt_if ecl ecl)"
depends="$(vopt_if clisp clisp) rlwrap"
checkdepends="gnuplot"
short_desc="Computer Algebra System"
maintainer="Bosco Garcia <[email protected]>"
maintainer="Gonzalo Tornaría <[email protected]>"
license="GPL-2.0-only"
homepage="http://maxima.sourceforge.net"
changelog="https://sourceforge.net/p/maxima/code/ci/master/tree/changelogs/ChangeLog-${version%.*}.md?format=raw"
distfiles="${SOURCEFORGE_SITE}/maxima/maxima-${version}.tar.gz"
checksum=fe9016276970bef214a1a244348558644514d7fdfaa4fc8b9d0e87afcbb4e7dc
checksum=7390f06b48da65c9033e8b2f629b978b90056454a54022db7de70e2225aa8b07
nocross=yes

# maxima-sbcl is nopie and should NOT be stripped or it won't work
nostrip_files=/usr/lib/maxima/$version/binary-sbcl/maxima
Expand All @@ -32,7 +34,7 @@ build_options_default="ecl"

# sbcl is only available for these architectures
case "$XBPS_TARGET_MACHINE" in
i686|x86_64*|armv7l|aarch64|ppc64le*)
i686|x86_64*|armv7l|ppc64le*)
build_options_default+=" sbcl"
;;
esac
Expand Down Expand Up @@ -113,11 +115,9 @@ maxima-src_package() {
}

maxima-emacs_package() {
short_desc+=" - Emacs interface"
short_desc+=" - transitional dummy package"
depends="${sourcepkg}-${version}_${revision} virtual?emacs"
pkg_install() {
vmove usr/share/emacs
}
build_style=meta
}

xmaxima_package() {
Expand Down

0 comments on commit 3607f99

Please sign in to comment.