Diff mathematica-13.2.1 with a mathematica-13.3.1

/usr/portage/sci-mathematics/mathematica/mathematica-13.3.1.ebuild 2023-10-09 14:52:35.116368492 +0300
21 21
# Mathematica comes with a lot of bundled stuff. We should place here only what we
22 22
# explicitly override with LD_PRELOAD.
23 23
# RLink (libjri.so) requires dev-lang/R
24
# FFmpegTools (FFmpegToolsSystem-5.0.so) requires media-video/ffmpeg
24
# FFmpegTools (FFmpegToolsSystem-6.0.so) requires media-video/ffmpeg-6.0
25
# FFmpegTools (FFmpegToolsSystem-4.4.so) requires media-video/ffmpeg-4.4
25 26
RDEPEND="
26
	cuda? ( dev-util/nvidia-cuda-toolkit )
27
	dev-qt/qt5compat:6
28
	dev-qt/qtbase:6[eglfs,wayland]
29
	dev-qt/qtsvg:6
30
	dev-qt/qtwayland:6[compositor]
27 31
	media-libs/freetype
28
	ffmpeg? ( <media-video/ffmpeg-5 )
29
	R? ( dev-lang/R )
30 32
	virtual/libcrypt
33
	cuda? (
34
		>=dev-util/nvidia-cuda-toolkit-11
35
		<dev-util/nvidia-cuda-toolkit-13
36
		)
37
	ffmpeg? ( || (
38
		media-video/ffmpeg:0/56.58.58
39
		media-video/ffmpeg:0/58.60.60
40
		) )
41
	R? ( dev-lang/R )
31 42
"
32 43

  
33 44
DEPEND="
......
62 73
	sed -e "s|xdg-mime|xdg-dummy-command|g" -i "Unix/Installer/MathInstaller" || die
63 74
	# fix ACCESS DENIED issue when installer check the avahi-daemon
64 75
	sed -e "s|avahi-daemon -c|true|g" -i "Unix/Installer/MathInstaller" || die
76
	# fix ACCESS DENIED issue when installing documentation
77
	sed -e "s|\(exec ./MathInstaller\) -noprompt|\1 -auto -targetdir=${S}/${M_TARGET}/Documentation -noexec|" -i "Unix/Installer/MathInstaller" || die
78

  
65 79
	/bin/sh "Unix/Installer/MathInstaller" -auto "-targetdir=${S}/${M_TARGET}" "-execdir=${S}/opt/bin" || die
66 80
	popd > /dev/null || die
67 81

  
......
82 96

  
83 97
	if ! use cuda; then
84 98
		einfo 'Removing cuda support'
85
		rm -r "${S}/${M_TARGET}/SystemFiles/Components/CUDACompileTools/LibraryResources/Linux-x86-64/CUDAExtensions.so" || die
99
		rm -r "${S}/${M_TARGET}/SystemFiles/Components/CUDACompileTools/LibraryResources/Linux-x86-64/CUDAExtensions"*.so || die
86 100
	fi
87 101

  
88 102
	# Linux-x86-64/AllVersions is the supported version, other versions remove
Thank you!