{
 "app_id": "io.github.wxmaxima_developers.wxMaxima",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.wxmaxima_developers.wxMaxima/master/io.github.wxmaxima_developers.wxMaxima.yml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--filesystem=home"
 ],
 "module_count": 4,
 "fetched_at": "2026-09-17T16:12:35.930751+00:00",
 "manifest": {
  "app-id": "io.github.wxmaxima_developers.wxMaxima",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "command": "wxmaxima",
  "finish-args": [
   "--share=ipc",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--filesystem=home:rw",
   "--share=network",
   "--env=PATH=/usr/bin:/app/bin:/app/plugins/maxima/bin"
  ],
  "add-extensions": {
   "io.github.wxmaxima_developers.wxMaxima.Plugin": {
    "versions": "stable;test;master",
    "directory": "plugins",
    "subdirectories": true,
    "no-autodownload": false,
    "autodelete": true,
    "add-ld-path": "lib"
   }
  },
  "cleanup-commands": [
   "rm -r /app/include"
  ],
  "modules": [
   {
    "name": "extensions",
    "buildsystem": "simple",
    "build-commands": [
     "install -d /app/plugins"
    ]
   },
   {
    "name": "wxwidgets",
    "buildsystem": "autotools",
    "no-autogen": true,
    "config-opts": [
     "--with-gtk=3",
     "--enable-webview",
     "--enable-webviewwebkit"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/wxWidgets/wxWidgets/releases/download/v3.3.3/wxWidgets-3.3.3.tar.bz2",
      "sha256": "81b09d6dd9f1ed9301f8c55a968a488d0491f264dc2bab19a7e407ac67009482",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 5150,
       "stable-only": true,
       "url-template": "https://github.com/wxWidgets/wxWidgets/releases/download/v$version/wxWidgets-$version.tar.bz2"
      }
     }
    ]
   },
   {
    "name": "gnuplot",
    "buildsystem": "autotools",
    "no-autogen": true,
    "config-opts": [
     "--with-qt=no",
     "--with-wx=/app/bin",
     "--without-latex"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://prdownloads.sourceforge.net/gnuplot/6.0.5/gnuplot-6.0.5.tar.gz",
      "sha256": "73237f37f03306d68bfae133a9a50d5e9341384e198d5ab37eeca9ab534deed8",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 1216,
       "url-template": "https://prdownloads.sourceforge.net/gnuplot/$version/gnuplot-$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "wxmaxima",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DwxWidgets_INCLUDE_DIRS=/app/include/wx-3.2",
     "-DwxWidgets_LIBRARIES=/app/lib",
     "-DWXM_DISABLE_WEBVIEW=OFF",
     "-DCMAKE_BUILD_TYPE=Release"
    ],
    "post-install": [
     "rm -r /app/share/icons/hicolor/1024x1024"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/wxMaxima-developers/wxmaxima.git",
      "tag": "Version-26.08.0",
      "commit": "5b19f06d2469e8b8c59a489c85c41489568eb51f",
      "x-checker-data": {
       "type": "git",
       "is-main-source": true,
       "tag-pattern": "^Version-([\\d.]+)$"
      }
     }
    ]
   }
  ]
 }
}