{ "app-id": "com.github.wxmaxima-developers", "branch": "23.05.0", "runtime": "org.gnome.Platform", "runtime-version": "41", "sdk": "org.gnome.Sdk", "finish-args": [ "--device=dri", "--share=ipc", "--socket=x11", "--socket=wayland", "--filesystem=home" ], "command": "wxmaxima", "cleanup": [ "/include", "/lib/pkgconfig", "/share/aclocal", "/share/man", "/bin/ecl-config", "/bin/xmaxima", "/share/maxima/*/src/xmaxima_def.lisp", "/share/maxima/*/xmaxima", "/share/applications/xmaxima.desktop", "/share/info/xmaxima.info", "/lib/wx", "/app/share/bakefile", "*.la", "*.a" ], "build-options": { "strip": true, "no-debuginfo": true }, "modules": [ "../shared-modules/glu/glu-9.json", { "name": "wxwidgets", "buildsystem": "autotools", "config-opts": [ "--enable-monolithic", "--enable-stl", "--with-libpng", "--with-libjpeg", "--with-libtiff", "--with-liblzma", "--with-zlib", "--with-opengl", "--enable-stc", "--enable-webview", "--enable-webviewwebkit", "--disable-ribbon" ], "sources": [ { "type": "archive", "url": "https://github.com/wxWidgets/wxWidgets/releases/download/v3.2.2.1/wxWidgets-3.2.2.1.tar.bz2", "sha512": "289d61ea2abd75a329aafcbd347ab84b136f31fca01dd902593f661691ecd30a4416286ff501c4257baa6765cf356ade3087eb8609af9a44599cfdc20e2f03a6" } ] }, { "name": "ecl", "no-parallel-make": true, "buildsystem": "autotools", "config-opts": [ "--with-sse", "--enable-c99complex", "--enable-threads" ], "sources": [ { "type": "archive", "url": "https://common-lisp.net/project/ecl/static/files/release/ecl-21.2.1.tgz", "sha512": "0849bebe1a8073ea8027cfb172c1d7781d43adb6a8b80585bd08d5674b80422d1648b6fbf718cc17a51c5de6c696514523b4d13a82e8113bf9365c95d3c28648" } ] }, { "name": "gnuplot", "buildsystem": "autotools", "sources": [ { "type": "archive", "url": "https://deac-fra.dl.sourceforge.net/project/gnuplot/gnuplot/5.4.8/gnuplot-5.4.8.tar.gz", "sha512": "3fe0ed783db85d95bdbc13e24ec5dc9bb6b2d85b3571cc87d3c17c94f4463fb6e681376394e0918cf3915f8f53896e6423ce76cb8b6fdbefcd6ec3e1b3b80125" } ] }, { "name": "maxima", "buildsystem": "autotools", "config-opts": [ "--enable-ecl", "--enable-mathjax", "--enable-gettext" ], "sources": [ { "type": "archive", "url": "https://nav.dl.sourceforge.net/project/maxima/Maxima-source/5.46.0-source/maxima-5.46.0.tar.gz", "sha512": "6c76292ac270b9d8e91d13035733d12038a69ef3510e70a28793b6116208eccd7bf6387e246e9e8c0a22a2e793b948f1233a56fc863ad8712a35e5b1b92fbeef" } ] }, { "name": "jsmath-fonts", "buildsystem": "simple", "build-commands": [ "find . -type f -name jsMath\\*.ttf -exec install -p -D -m 0664 {} -t ${FLATPAK_DEST}/share/fonts \\;" ], "sources": [ { "type": "archive", "url": "https://www.mpim-bonn.mpg.de/webfm_send/38", "dest-filename": "jsmath-fonts-all.zip", "sha512": "f390d34a4dd5f0fe5fac7587ff69ccf44ca48210a60f86f8cd707c8051c9ae49ddc537e2c4bdf7e4bfc9324f1b77ef110af3777da0fb900d101142e2ccbf40e1" } ] }, { "name": "wxmaxima", "buildsystem": "cmake-ninja", "builddir": true, "sources": [ { "type": "archive", "url": "https://github.com/wxMaxima-developers/wxmaxima/archive/refs/tags/Version-23.05.0.tar.gz", "sha512": "068e8ca93150b9b4649cbc57e375d526060095da4fff0a7217451febd478aff3be78c86d72d60fcee530a6c2d78c2b5e8c41cb3b5b85c9858813be79e18a83d5" } ] }, { "name": "wxmaxima-desktop-integration", "buildsystem": "simple", "build-commands": [ "echo Installing desktop integration files" ], "post-install": [ "install -Dm644 ${FLATPAK_DEST}/share/applications/io.github.wxmaxima_developers.wxMaxima.desktop ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop", "install -Dm644 ${FLATPAK_DEST}/share/pixmaps/io.github.wxmaxima_developers.wxMaxima.svg ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.svg", "desktop-file-edit --set-key=Icon --set-value=${FLATPAK_ID} ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop" ] } ] }