{
 "app_id": "org.pymol.PyMOL",
 "source_url": "https://raw.githubusercontent.com/flathub/org.pymol.PyMOL/master/org.pymol.PyMOL.yaml",
 "runtime": "org.kde.Platform",
 "runtime_version": "5.15-25.08",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=x11",
  "--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": 10,
 "fetched_at": "2026-09-17T16:16:21.270126+00:00",
 "manifest": {
  "app-id": "org.pymol.PyMOL",
  "runtime": "org.kde.Platform",
  "sdk": "org.kde.Sdk",
  "runtime-version": "5.15-25.08",
  "base": "com.riverbankcomputing.PyQt.BaseApp",
  "base-version": "5.15-25.08",
  "build-options": {
   "env": [
    "BASEAPP_REMOVE_WEBENGINE=1"
   ]
  },
  "command": "pymol",
  "finish-args": [
   "--share=ipc",
   "--socket=x11",
   "--device=dri",
   "--share=network"
  ],
  "modules": [
   "shared-modules/glew/glew.json",
   {
    "name": "openblas",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DBUILD_TESTING:BOOL=OFF",
     "-DDYNAMIC_ARCH:BOOL=ON"
    ],
    "cleanup": [
     "/bin",
     "/include",
     "/lib/cmake",
     "/lib/*.a",
     "/lib/*.la",
     "/lib/pkgconfig",
     "/share/man"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/OpenMathLib/OpenBLAS/archive/v0.3.34.tar.gz",
      "sha512": "b40b5a3b5062ea196b3e48363db584ef91aef21c61becf4f4d6616ba5e413d770c22445c357d06dcf0992dd4666c18cced44cd5d09d8cb884c0d8f62e6940422",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 2540,
       "url-template": "https://github.com/OpenMathLib/OpenBLAS/archive/v$version.tar.gz"
      }
     }
    ]
   },
   "meson-python.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/65/6e/09db70a523a96d25e115e71cc56a6f9031e7b8cd166c1ac8438307c14058/numpy-1.26.4.tar.gz",
      "sha256": "2a02aba9ed12e4ac4eb3ea9421c420301a0c6460d9830d74a9df87efa4912010",
      "x-checker-data": {
       "type": "pypi",
       "name": "numpy",
       "versions": {
        "<": "2"
       }
      }
     }
    ]
   },
   {
    "name": "hdf5",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DBUILD_TESTING:BOOL=OFF",
     "-DHDF5_BUILD_EXAMPLES:BOOL=OFF"
    ],
    "cleanup": [
     "/share/hdf5_examples"
    ],
    "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": "netcdf",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/Unidata/netcdf-c/archive/v4.10.1.tar.gz",
      "sha256": "33c27231c478c3b35da7c7758fbdd02da1fe407abcb16ddfe195f69d164f930d",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 10354,
       "stable-only": true,
       "url-template": "https://github.com/Unidata/netcdf-c/archive/v$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "mmtf-cpp",
    "buildsystem": "cmake-ninja",
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/rcsb/mmtf-cpp/archive/v1.1.0.tar.gz",
      "sha256": "021173bdc1814b1d0541c4426277d39df2b629af53151999b137e015418f76c0",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 221487,
       "stable-only": true,
       "url-template": "https://github.com/rcsb/mmtf-cpp/archive/v$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "python-mmtf-python",
    "buildsystem": "simple",
    "build-commands": [
     "python3 setup.py install --prefix=${FLATPAK_DEST} --root=/ --optimize=1"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://files.pythonhosted.org/packages/d8/0f/f3c132dc9aac9a3f32a0eba7a80f07d14e7624e96f9245eeac5fe48f42cd/mmtf-python-1.1.3.tar.gz",
      "sha256": "12a02fe1b7131f0a2b8ce45b46f1e0cdd28b9818fe4499554c26884987ea0c32",
      "x-checker-data": {
       "type": "pypi",
       "name": "mmtf-python"
      }
     }
    ]
   },
   {
    "name": "glm",
    "buildsystem": "simple",
    "build-commands": [
     "cp -r glm /app/include"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/g-truc/glm",
      "tag": "1.0.3",
      "commit": "8d1fd52e5ab5590e2c81768ace50c72bae28f2ed",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "([\\d.]+)$"
      }
     }
    ]
   },
   {
    "name": "PyMOL",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --no-index --find-links=file://${PWD} --prefix=${FLATPAK_DEST} --no-build-isolation .",
     "install -Dm644 data/pymol/icons/icon2.svg ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.svg",
     "install -Dm644 ${FLATPAK_ID}.desktop ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop",
     "install -Dm644 ${FLATPAK_ID}.metainfo.xml ${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.metainfo.xml"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/schrodinger/pymol-open-source/archive/v3.1.0.tar.gz",
      "sha256": "54306d65060bd58ed8b3dab1a8af521aeb4fd417871f15f463ff05ccb4e121fe",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 100773,
       "stable-only": true,
       "url-template": "https://github.com/schrodinger/pymol-open-source/archive/v$version.tar.gz"
      }
     },
     {
      "type": "file",
      "path": "org.pymol.PyMOL.metainfo.xml"
     },
     {
      "type": "file",
      "path": "org.pymol.PyMOL.desktop"
     }
    ]
   }
  ]
 }
}