{
 "app_id": "io.github.meerk40t.meerk40t",
 "source_url": "https://raw.githubusercontent.com/meerk40t/meerk40t/main/.github/workflows/flatpak/io.github.meerk40t.meerk40t.yaml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "24.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=wayland",
  "--socket=x11",
  "--device=all",
  "--filesystem=home",
  "--env=MEERK40T_DISABLE_UPDATER=1"
 ],
 "module_count": 3,
 "fetched_at": "2026-09-20T13:04:18.219926+00:00",
 "manifest": {
  "app-id": "io.github.meerk40t.meerk40t",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "24.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "meerk40t",
  "finish-args": [
   "--share=network",
   "--share=ipc",
   "--socket=wayland",
   "--socket=x11",
   "--device=all",
   "--filesystem=home",
   "--env=MEERK40T_DISABLE_UPDATER=1"
  ],
  "modules": [
   {
    "name": "python3-deps",
    "buildsystem": "simple",
    "build-options": {
     "build-args": [
      "--share=network"
     ]
    },
    "build-commands": [
     "pip3 install --prefix=${FLATPAK_DEST} --no-cache-dir \\\n  setuptools wheel sip typing_extensions \\\n  Pillow numpy requests \\\n  ezdxf \"opencv-python-headless>=4.10.0.84\" \\\n  pyserial pyusb websocket-client\n",
     "pip3 install --prefix=${FLATPAK_DEST} --no-cache-dir --use-pep517 pyclipr",
     "pip3 install --prefix=${FLATPAK_DEST} --no-cache-dir \\\n  potracer meerk40t-barcodes numba \"scipy>=1.12.0\" vtracer psutil bitarray\n"
    ]
   },
   {
    "name": "python3-wxpython",
    "buildsystem": "simple",
    "build-options": {
     "build-args": [
      "--share=network"
     ]
    },
    "build-commands": [
     "pip3 install --verbose --prefix=${FLATPAK_DEST} --no-deps --no-build-isolation wxpython-4.2.4.tar.gz"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/80/6e/b70e6dbdd7cb4f154b7ca424b4c7799f7b067f7a9f4204b8d16d6464648f/wxpython-4.2.4.tar.gz",
      "sha256": "2eb123979c87bcb329e8a2452269d60ff8f9f651e9bf25c67579e53c4ebbae3c"
     }
    ]
   },
   {
    "name": "meerk40t",
    "buildsystem": "simple",
    "build-commands": [
     "mv meerk40t/external_plugins.py meerk40t/external_plugins.unused",
     "mv meerk40t/external_plugins_build.py meerk40t/external_plugins.py",
     "pip3 install --prefix=${FLATPAK_DEST} --no-deps --no-build-isolation .",
     "install -Dm644 .github/workflows/linux/io.github.meerk40t.meerk40t.desktop ${FLATPAK_DEST}/share/applications/io.github.meerk40t.meerk40t.desktop",
     "sed -i 's/^Icon=meerk40t$/Icon=io.github.meerk40t.meerk40t/' ${FLATPAK_DEST}/share/applications/io.github.meerk40t.meerk40t.desktop",
     "install -Dm644 .github/workflows/linux/meerk40t.appdata.xml ${FLATPAK_DEST}/share/metainfo/io.github.meerk40t.meerk40t.metainfo.xml",
     "install -Dm644 images/meerk40t_simple_transparent.svg ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/io.github.meerk40t.meerk40t.svg",
     "install -Dm644 .github/workflows/linux/io.github.meerk40t.meerk40t.mime.xml ${FLATPAK_DEST}/share/mime/packages/io.github.meerk40t.meerk40t.xml"
    ],
    "sources": [
     {
      "type": "dir",
      "path": "../../.."
     }
    ]
   }
  ]
 }
}