sci-mathematics/scilab-bin: add 2025.0.0

Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
Alfred Wingate 2024-10-24 23:58:45 +03:00
parent ea717b0967
commit fdd04ce1ad
No known key found for this signature in database
GPG Key ID: A12750536B5E7010
2 changed files with 66 additions and 0 deletions

View File

@ -1,2 +1,3 @@
DIST scilab-2024.0.0.bin.x86_64-linux-gnu.tar.xz 207084340 BLAKE2B d5334eac77882165119484163588a4db0bb871ff7f1142b2059e0dbe5a6e76c37d530f9432bf14c3bec307ae8ed2c8af2564920994ca3455f428f76b790f45c4 SHA512 1c7bcfa7c00be4838f9a38c56fb4b792f7b024decf987869ed0752c23b453173fce762fea697659991db9c2c140fa66e7093a748d4fb52c043137cfa27b68d75 DIST scilab-2024.0.0.bin.x86_64-linux-gnu.tar.xz 207084340 BLAKE2B d5334eac77882165119484163588a4db0bb871ff7f1142b2059e0dbe5a6e76c37d530f9432bf14c3bec307ae8ed2c8af2564920994ca3455f428f76b790f45c4 SHA512 1c7bcfa7c00be4838f9a38c56fb4b792f7b024decf987869ed0752c23b453173fce762fea697659991db9c2c140fa66e7093a748d4fb52c043137cfa27b68d75
DIST scilab-2024.1.0.bin.x86_64-linux-gnu.tar.xz 208137512 BLAKE2B 5158d4e1c39179e0ccd6c2160ae31653dc3df47f6d3255dde9799f87cca099d4e685ef63c35ccb72017419412fe9ddb1871fe2415d4e879012b4a56746301182 SHA512 f3cea9bba6c6ccc1c220355b75e8fd814a94bca924c42eb78179ee532d1a0c44de6db07b0cde0219cdc083dff5b8dc40fd81fcd89510cd270a1867cc1a8045c3 DIST scilab-2024.1.0.bin.x86_64-linux-gnu.tar.xz 208137512 BLAKE2B 5158d4e1c39179e0ccd6c2160ae31653dc3df47f6d3255dde9799f87cca099d4e685ef63c35ccb72017419412fe9ddb1871fe2415d4e879012b4a56746301182 SHA512 f3cea9bba6c6ccc1c220355b75e8fd814a94bca924c42eb78179ee532d1a0c44de6db07b0cde0219cdc083dff5b8dc40fd81fcd89510cd270a1867cc1a8045c3
DIST scilab-2025.0.0.bin.x86_64-linux-gnu.tar.xz 236499356 BLAKE2B d64c3d0f66c7f7a4462ae187c0b85f8a22548cc0bab08e7fc9753d0d7a3e1ccacdc6113d1f305574379a07e13ff957cb5bee0df593a1c3cea35f402210b1fa24 SHA512 f34aa56452ead1fbdeb1bc2545f72851280251ea9786d646d97af55397e5ed3589b83da2a700f42ac80aa640bc39faea44c95b909a5991b91bbee2782bf27a31

View File

@ -0,0 +1,65 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit xdg
DESCRIPTION="Scientific software package for numerical computations"
HOMEPAGE="https://www.scilab.org/"
SRC_URI="https://www.scilab.org/download/${PV}/scilab-${PV}.bin.x86_64-linux-gnu.tar.xz"
S="${WORKDIR}/scilab-${PV}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-* ~amd64"
RESTRICT="mirror strip test"
RDEPEND="
media-libs/alsa-lib
media-libs/freetype
media-libs/mesa
sci-libs/lapack
sys-libs/zlib
x11-libs/libX11
x11-libs/libXcursor
x11-libs/libXext
x11-libs/libXi
x11-libs/libXrandr
x11-libs/libXrender
x11-libs/libXtst
x11-libs/libXxf86vm
x11-libs/libdrm
"
DESTDIR="/opt/scilab-bin"
QA_PREBUILT="${DESTDIR}/.*"
DOCS=( ACKNOWLEDGEMENTS COPYING CHANGES.md README.md )
src_prepare() {
default
# bug #709450
mv share/appdata share/metainfo || die
}
src_install() {
insinto "${DESTDIR}"
doins -r bin include lib thirdparty
for executable in {modelica{c,t},scilab{{,-bin},-adv-cli,-cli{,-bin}},scinotes,xcos,XML2Modelica}; do
fperms +x "${DESTDIR}/bin/${executable}"
# Only symlink shellscript if there is an option
if ! [[ ${executable} =~ *-bin ]]; then
dosym "${DESTDIR}/bin/${executable}" "/usr/bin/${executable}"
fi
done
insinto "${DESTDIR}/share"
doins -r share/{locale,scilab}
insinto /usr/share
doins -r share/{applications,icons,locale,metainfo,mime}
einstalldocs
}