Diff mathematica-12.1.1-r1 with a mathematica-12.2.0
/usr/portage/sci-mathematics/mathematica/mathematica-12.2.0.ebuild 2023-10-09 14:52:35.116368492 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2020 Gentoo Authors |
|
1 |
# Copyright 1999-2022 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI=7 |
... | ... | |
40 | 40 |
} |
41 | 41 | |
42 | 42 |
src_prepare() { |
43 |
default |
|
44 | ||
45 | 43 |
pushd "${S}/unpack" > /dev/null || die |
46 | ||
47 | 44 |
# fix ACCESS DENIED issue when installer check the avahi-daemon |
48 | 45 |
sed -e "s:avahi-daemon -c:true:g" -i "Unix/Installer/MathInstaller" || die |
49 | ||
50 | 46 |
/bin/sh "Unix/Installer/MathInstaller" -auto "-targetdir=${S}/${M_TARGET}" "-execdir=${S}/opt/bin" || die |
51 | ||
52 | 47 |
popd > /dev/null || die |
48 |
eapply_user |
|
53 | 49 |
} |
54 | 50 | |
55 | 51 |
src_install() { |
... | ... | |
84 | 80 |
done |
85 | 81 | |
86 | 82 |
# fix some embedded paths and install desktop files |
87 |
for filename in $(find "${D}/${M_TARGET}/SystemFiles/Installation" -name "wolfram-mathematica.desktop") ; do |
|
83 |
for filename in $(find "${D}/${M_TARGET}/SystemFiles/Installation" -name "wolfram-mathematica*.desktop") ; do |
|
88 | 84 |
echo Fixing "${filename}" |
89 | 85 |
sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}" |
90 | 86 |
echo "Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}" |