{
 "app_id": "io.github.veusz.Veusz",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.veusz.Veusz/master/io.github.veusz.Veusz.yaml",
 "runtime": "org.kde.Sdk",
 "runtime_version": "6.1",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--device=dri",
  "--filesystem=xdg-config/kdeglobals:ro",
  "--talk-name=com.canonical.AppMenu.Registrar",
  "--talk-name=org.kde.kconfig.notify",
  "--talk-name=org.kde.KGlobalSettings"
 ],
 "module_count": 11,
 "fetched_at": "2026-09-17T16:12:30.994011+00:00",
 "manifest": {
  "app-id": "io.github.veusz.Veusz",
  "runtime": "org.kde.Sdk",
  "runtime-version": 6.1,
  "sdk": "org.kde.Sdk",
  "base": "com.riverbankcomputing.PyQt.BaseApp",
  "base-version": 6.1,
  "command": "veusz",
  "separate-locales": false,
  "finish-args": [
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--device=dri"
  ],
  "cleanup": [
   "/include",
   "/share/doc",
   "/share/man",
   "/share/sip",
   "*.la",
   "*.a",
   "/bin/f*",
   "/bin/samp_hub",
   "/bin/showtable",
   "/bin/*lint"
  ],
  "cleanup-commands": [
   "/app/cleanup-BaseApp.sh"
  ],
  "build-options": {
   "env": [
    "BASEAPP_REMOVE_WEBENGINE=1"
   ]
  },
  "modules": [
   {
    "name": "OpenBLAS",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DDYNAMIC_ARCH=1",
     "-DDYNAMIC_OLDER=1",
     "-DTARGET=GENERIC"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/xianyi/OpenBLAS/archive/v0.3.33.tar.gz",
      "sha256": "6761af1d9f5d353ab4f0b7497be2643313b36c8f31caec0144bfef198e71e6ab",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 2540,
       "url-template": "https://github.com/xianyi/OpenBLAS/archive/v$version.tar.gz"
      }
     }
    ]
   },
   "python_deps.json",
   {
    "name": "python-numpy",
    "buildsystem": "simple",
    "build-options": {
     "ldflags": "-lgfortran"
    },
    "build-commands": [
     "pip3 install --no-index --find-links=file://${PWD} --prefix=${FLATPAK_DEST} --no-build-isolation ."
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://files.pythonhosted.org/packages/e7/05/3d27272d30698dc0ecb7fdfaa41ad70303b444f81722bb99bce1d818638a/numpy-2.5.0.tar.gz",
      "sha256": "5a129578019311b6e56bdd714250f19b518f7dceeeb8d1af5490f4942d3f891c",
      "x-checker-data": {
       "type": "pypi",
       "name": "numpy"
      }
     }
    ]
   },
   "python3-astropy.json",
   {
    "name": "hdf5",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DBUILD_TESTING:BOOL=ON",
     "-DHDF5_BUILD_EXAMPLES:BOOL=OFF"
    ],
    "cleanup": [
     "/share/hdf5_examples",
     "/bin/*"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/HDFGroup/hdf5/archive/refs/tags/hdf5-1.14.6.tar.gz",
      "sha256": "6df53f84376d87e96eeb255703e3b1a348fc08a48e06e37053f1bfb379970189",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 1303,
       "stable-only": true,
       "url-template": "https://github.com/HDFGroup/hdf5/archive/refs/tags/hdf5-$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "python-h5py",
    "buildsystem": "simple",
    "build-commands": [
     "python3 -mpip install . --no-index --find-links=file://${PWD} --prefix=${FLATPAK_DEST} --no-build-isolation"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/h5py/h5py/archive/refs/tags/3.16.0.tar.gz",
      "sha256": "9c3aa5e1fc0c33ae8501a17987af2f986c8ba3ade25da66c78738a5abefea133",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 6409,
       "stable-only": true,
       "url-template": "https://github.com/h5py/h5py/archive/refs/tags/${version}.tar.gz"
      }
     }
    ]
   },
   {
    "name": "ghostscript",
    "config-opts": [
     "--disable-cups",
     "--disable-dbus",
     "--disable-gtk",
     "--with-system-libtiff",
     "--with-drivers=FILES"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10071/ghostscript-10.07.1.tar.xz",
      "sha256": "1cdb766de8db8f1e589c817f09c5855ea5f65dfc8540e465a69ac14c18416025",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 1157,
       "url-template": "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${major}0$minor$patch/ghostscript-$version.tar.xz"
      }
     },
     {
      "type": "shell",
      "commands": [
       "rm -rf tesseract leptonica gpdl cups/libs jpeg libpng openjpeg tiff zlib"
      ]
     }
    ],
    "cleanup": [
     "/share/doc"
    ]
   },
   {
    "name": "python-pyemf3",
    "buildsystem": "simple",
    "build-commands": [
     "python3 -mpip install . --no-index --find-links=file://${PWD} --prefix=${FLATPAK_DEST} --no-build-isolation"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/jeremysanders/pyemf3",
      "tag": "v3.3",
      "commit": "b9a6824626c451c5a59135d669ab5f79d47632c9",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^v?([\\d.]+)$"
      }
     }
    ]
   },
   {
    "name": "pybind11",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DPYBIND11_INSTALL:BOOL=ON",
     "-DPYBIND11_TEST:BOOL=OFF",
     "-DPYTHON_INCLUDE_DIRS=/usr/include/python3.13"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/pybind/pybind11",
      "tag": "v3.0.4",
      "commit": "d03662f0984f652b60e7ddce53d3868002275197",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^v?([\\d.]+)$"
      }
     }
    ]
   },
   {
    "name": "python3-iminuit",
    "buildsystem": "cmake",
    "sources": [
     {
      "type": "archive",
      "url": "https://files.pythonhosted.org/packages/e8/0d/48a09d00769634930b1bdbf1ea057a2747a81d07825cd6940784d8b6599f/iminuit-2.32.0.tar.gz",
      "sha256": "a32b34d18665959be75ad6bdb1dd80459bb94466c62b455631c00568accdf7d2",
      "x-checker-data": {
       "type": "pypi",
       "name": "iminuit"
      }
     }
    ]
   },
   {
    "name": "Veusz",
    "buildsystem": "simple",
    "build-commands": [
     "python3 setup.py install --prefix=${FLATPAK_DEST} --root=/ --optimize=1",
     "install -Dm644 icons/veusz_128.png ${FLATPAK_DEST}/share/icons/hicolor/128x128/apps/${FLATPAK_ID}.png",
     "install -Dm644 icons/veusz.svg ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.svg",
     "install -Dm644 support/veusz.appdata.xml ${FLATPAK_DEST}/share/appdata/${FLATPAK_ID}.appdata.xml",
     "install -Dm644 support/veusz.desktop ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop",
     "desktop-file-edit --set-key=Icon --set-value=${FLATPAK_ID} ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/veusz/veusz",
      "tag": "veusz-4.2.1",
      "commit": "b637be1018a473fa829d097ce48b8164078dd365",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^(veusz-[\\d.]+)$"
      }
     },
     {
      "type": "patch",
      "path": "fix-qconfig-path.patch"
     },
     {
      "type": "patch",
      "path": "fix-appdata.patch"
     }
    ]
   }
  ]
 }
}