{
 "app_id": "pl.nieto.fityk",
 "source_url": "https://raw.githubusercontent.com/flathub/pl.nieto.fityk/master/pl.nieto.fityk.yaml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--device=dri"
 ],
 "module_count": 8,
 "fetched_at": "2026-09-17T16:17:14.401484+00:00",
 "manifest": {
  "id": "pl.nieto.fityk",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "fityk",
  "rename-icon": "fityk",
  "rename-desktop-file": "fityk.desktop",
  "rename-appdata-file": "fityk.appdata.xml",
  "finish-args": [
   "--socket=wayland",
   "--socket=fallback-x11",
   "--device=dri",
   "--share=ipc"
  ],
  "cleanup": [
   "/include",
   "/lib/cmake",
   "/lib/pkgconfig",
   "/share/man",
   "*.la",
   "*.a"
  ],
  "modules": [
   "shared-modules/glu/glu-9.json",
   {
    "name": "wxwidgets",
    "rm-configure": true,
    "config-opts": [
     "--with-gtk=3",
     "--with-opengl",
     "--with-sdl"
    ],
    "cleanup": [
     "/bin",
     "/lib/wx",
     "/share/aclocal",
     "/share/bakefile"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/wxWidgets/wxWidgets/releases/download/v3.3.2/wxWidgets-3.3.2.tar.bz2",
      "sha256": "50a28cb668de47b0e006cd6ebed8cf4f76c1cac6116fb3c978c44478219103f2"
     },
     {
      "type": "script",
      "commands": [
       "cp -p /usr/share/automake-*/config.{sub,guess} .",
       "autoconf -f -B build/autoconf_prepend-include"
      ]
     }
    ]
   },
   {
    "name": "boost",
    "buildsystem": "simple",
    "build-commands": [
     "./bootstrap.sh --prefix=${FLATPAK_DEST} --with-libraries=system",
     "./b2 install -j ${FLATPAK_BUILDER_N_JOBS}"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://archives.boost.io/release/1.90.0/source/boost_1_90_0.tar.bz2",
      "sha256": "49551aff3b22cbc5c5a9ed3dbc92f0e23ea50a0f7325b0d198b705e8ee3fc305"
     }
    ]
   },
   {
    "name": "xylib",
    "buildsystem": "autotools",
    "config-opts": [
     "--disable-static"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/wojdyr/xylib.git",
      "tag": "v1.6",
      "commit": "157f7e6a3bae205557d5d5ce2349fcfb0cd935c9",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^v([\\d.]+)$"
      }
     }
    ]
   },
   "shared-modules/lua5.3/lua-5.3.5.json",
   {
    "name": "nlopt",
    "buildsystem": "cmake-ninja",
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/stevengj/nlopt.git",
      "tag": "v2.10.1",
      "commit": "9e44e525370646def8152e73bb5c53a6531f6f7e"
     }
    ]
   },
   {
    "name": "swig",
    "config-opts": [
     "--without-alllang",
     "--with-python=/usr/bin/python3",
     "--without-pcre"
    ],
    "cleanup": [
     "*"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://sourceforge.net/projects/swig/files/swig/swig-4.4.1/swig-4.4.1.tar.gz",
      "sha256": "40162a706c56f7592d08fd52ef5511cb7ac191f3593cf07306a0a554c6281fcf"
     }
    ]
   },
   {
    "name": "fityk",
    "buildsystem": "autotools",
    "config-opts": [
     "--enable-nlopt"
    ],
    "build-options": {
     "cxxflags": "-std=c++14"
    },
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/wojdyr/fityk.git",
      "tag": "v1.3.2",
      "commit": "e262bcc72adf952f8799d424e7c156d5ec7da055",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^v([\\d.]+)$"
      }
     },
     {
      "type": "patch",
      "path": "0001-Add-missing-developer-name.patch"
     },
     {
      "type": "patch",
      "path": "0002-Shorten-summary.patch"
     }
    ]
   }
  ]
 }
}