* Drop patches no longer required because they are fixed by upstream cmake changes: mathgl-no-default-qt.patch, mathgl-fix-python-module-path.patch * Drop pinning of numpy to version 1; numpy2 supported now. * Switch to Qt6; obsolete libmgl-qt5-8 package with libmgl-qt-8. * Switch over BuildRequires to pkgconfig based ones where possible. OBS-URL: https://build.opensuse.org/package/show/science/mathgl?expand=0&rev=129
14 lines
619 B
Diff
14 lines
619 B
Diff
Index: mathgl-8.0.3/CMakeLists.txt
|
|
===================================================================
|
|
--- mathgl-8.0.3.orig/CMakeLists.txt
|
|
+++ mathgl-8.0.3/CMakeLists.txt
|
|
@@ -313,7 +313,7 @@ set(MGL_DEF_FONT "STIX2" CACHE STRING "S
|
|
|
|
# set(MGL_CGI_PATH "${CMAKE_INSTALL_PREFIX}/share/mathgl")
|
|
set(MGL_DATA_PATH "${CMAKE_INSTALL_PREFIX}/share/mathgl")
|
|
- set(MGL_DOC_PATH "${CMAKE_INSTALL_PREFIX}/share/doc/mathgl")
|
|
+ set(MGL_DOC_PATH "${CMAKE_INSTALL_PREFIX}/share/doc/packages/mathgl")
|
|
set(MGL_MAN_PATH "${CMAKE_INSTALL_PREFIX}/share/man")
|
|
set(MGL_INFO_PATH "${CMAKE_INSTALL_PREFIX}/share/info")
|
|
if(NOT WIN32)
|