{
 "app_id": "org.pairinteraction.Pairinteraction",
 "source_url": "https://raw.githubusercontent.com/flathub/org.pairinteraction.Pairinteraction/master/org.pairinteraction.Pairinteraction.yaml",
 "runtime": "org.kde.Platform",
 "runtime_version": "6.10",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--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": 8,
 "fetched_at": "2026-09-17T16:16:16.067826+00:00",
 "manifest": {
  "app-id": "org.pairinteraction.Pairinteraction",
  "runtime": "org.kde.Platform",
  "runtime-version": "6.10",
  "sdk": "org.kde.Sdk",
  "base": "io.qt.PySide.BaseApp",
  "base-version": "6.10",
  "cleanup-commands": [
   "/app/cleanup-BaseApp.sh"
  ],
  "build-options": {
   "env": [
    "BASEAPP_REMOVE_WEBENGINE=1",
    "BASEAPP_REMOVE_NUMPY=1"
   ]
  },
  "command": "start_pairinteraction_gui",
  "finish-args": [
   "--device=dri",
   "--env=JUPYTER_PLATFORM_DIRS=1",
   "--share=ipc",
   "--share=network",
   "--socket=fallback-x11",
   "--socket=wayland"
  ],
  "modules": [
   {
    "name": "openblas",
    "no-autogen": true,
    "make-args": [
     "DYNAMIC_ARCH=1",
     "DYNAMIC_OLDER=1",
     "TARGET=GENERIC",
     "USE_OPENMP=0"
    ],
    "make-install-args": [
     "PREFIX=/app"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/xianyi/OpenBLAS/archive/v0.3.34.tar.gz",
      "sha256": "cd7e129868320cc2d033afa920e31202dfe0b8066a5b66661900ccc0f197dfed",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 2540,
       "url-template": "https://github.com/xianyi/OpenBLAS/archive/v$version.tar.gz"
      }
     }
    ],
    "cleanup": [
     "*.a",
     "*.la",
     "/bin",
     "/include",
     "/share"
    ]
   },
   {
    "name": "eigen",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "sources": [
     {
      "type": "archive",
      "url": "https://gitlab.com/libeigen/eigen/-/archive/5.0.1/eigen-5.0.1.tar.bz2",
      "sha256": "e4de6b08f33fd8b8985d2f204381408c660bffa6170ac65b68ae1bd3cd575c0a",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 666,
       "stable-only": true,
       "url-template": "https://gitlab.com/libeigen/eigen/-/archive/$version/eigen-$version.tar.bz2"
      }
     }
    ],
    "cleanup": [
     "*"
    ]
   },
   {
    "name": "spdlog",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DSPDLOG_BUILD_SHARED=Off",
     "-DSPDLOG_BUILD_PIC=On",
     "-DSPDLOG_FMT_EXTERNAL=On"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/gabime/spdlog/archive/refs/tags/v1.17.0.tar.gz",
      "sha256": "d8862955c6d74e5846b3f580b1605d2428b11d97a410d86e2fb13e857cd3a744",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 15599,
       "stable-only": true,
       "url-template": "https://github.com/gabime/spdlog/archive/refs/tags/v$version.tar.gz"
      }
     }
    ],
    "cleanup": [
     "*"
    ]
   },
   {
    "name": "nlohmann_json",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DJSON_BuildTests=Off"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/nlohmann/json/archive/refs/tags/v3.12.0.tar.gz",
      "sha256": "4b92eb0c06d10683f7447ce9406cb97cd4b453be18d7279320f7b2f025c10187",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 11152,
       "stable-only": true,
       "url-template": "https://github.com/gabime/spdlog/archive/refs/tags/v$version.tar.gz"
      }
     }
    ],
    "cleanup": [
     "*"
    ]
   },
   {
    "name": "cpptrace",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCPPTRACE_BUILD_TESTING=Off",
     "-DCPPTRACE_GET_SYMBOLS_WITH_LIBDL=On"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/jeremy-rifkin/cpptrace/archive/refs/tags/v1.0.4.tar.gz",
      "sha256": "5c9f5b301e903714a4d01f1057b9543fa540f7bfcc5e3f8bd1748e652e24f9ea",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 378001,
       "stable-only": true,
       "url-template": "https://github.com/jeremy-rifkin/cpptrace/archive/refs/tags/v$version.tar.gz"
      }
     }
    ],
    "cleanup": [
     "*"
    ]
   },
   {
    "name": "oneTBB",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DTBB_TEST=Off",
     "-DTBB_STRICT=Off"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/uxlfoundation/oneTBB/archive/refs/tags/v2023.1.0.tar.gz",
      "sha256": "191288b52e1e6b17198000b64d77d194bb65e791be46ebc606e9b091781e2070",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 227581,
       "stable-only": true,
       "url-template": "https://github.com/uxlfoundation/oneTBB/archive/refs/tags/v$version.tar.gz"
      }
     }
    ],
    "cleanup": [
     "*.a",
     "/bin",
     "/include",
     "/share"
    ]
   },
   "python3-package-installation.yaml",
   {
    "name": "pairinteraction",
    "buildsystem": "simple",
    "run-tests": true,
    "build-options": {
     "env": {
      "JUPYTER_PATH": "/app/share/jupyter",
      "SKBUILD_BUILD_VERBOSE": "true",
      "CMAKE_ARGS": "-DBUILD_TESTING=On -DFETCHCONTENT_FULLY_DISCONNECTED=On -DFETCHCONTENT_SOURCE_DIR_DUCKDB=/run/build/pairinteraction/_deps/duckdb -DFETCHCONTENT_SOURCE_DIR_DOCTEST=/run/build/pairinteraction/_deps/doctest -DFETCHCONTENT_SOURCE_DIR_HTTPLIB=/run/build/pairinteraction/_deps/httplib -DFETCHCONTENT_SOURCE_DIR_MINIZ=/run/build/pairinteraction/_deps/miniz"
     }
    },
    "build-commands": [
     "git lfs pull",
     "pip3 install --verbose --exists-action=i --no-index --no-deps --no-build-isolation --prefix=${FLATPAK_DEST} \".\""
    ],
    "test-commands": [
     "pytest --verbose -s"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/pairinteraction/pairinteraction",
      "tag": "v2.5.1",
      "commit": "5563f05fce767be2a94a035b23ceb90149e636f0"
     },
     {
      "dest": "_deps/duckdb",
      "type": "archive",
      "url": "https://install.duckdb.org/v1.4.3/libduckdb-linux-amd64.zip",
      "sha256": "3c7bb8d586d39ccce56442c3f6bafa97f53d7b6bb5405dac827442fcb31494aa",
      "only-arches": [
       "x86_64"
      ]
     },
     {
      "dest": "_deps/duckdb",
      "type": "archive",
      "url": "https://install.duckdb.org/v1.4.3/libduckdb-linux-arm64.zip",
      "sha256": "2882ed153f620a7f185b232d13694d481db3458ad1e4c04a4775d97b60567b4a",
      "only-arches": [
       "aarch64"
      ]
     },
     {
      "dest": "_deps/doctest",
      "type": "archive",
      "url": "https://github.com/doctest/doctest/archive/refs/tags/v2.4.12.tar.gz",
      "sha256": "73381c7aa4dee704bd935609668cf41880ea7f19fa0504a200e13b74999c2d70"
     },
     {
      "dest": "_deps/httplib",
      "type": "archive",
      "url": "https://github.com/yhirose/cpp-httplib/archive/refs/tags/v0.30.1.tar.gz",
      "sha256": "2818b183757e29dd52b47a185f0cea9ef2d0fba377d8710b450a26328e51c2fe"
     },
     {
      "dest": "_deps/miniz",
      "type": "archive",
      "url": "https://github.com/richgel999/miniz/releases/download/3.0.2/miniz-3.0.2.zip",
      "sha256": "ada38db0b703a56d3dd6d57bf84a9c5d664921d870d8fea4db153979fb5332c5"
     },
     {
      "type": "file",
      "path": "org.pairinteraction.Pairinteraction.metainfo.xml"
     },
     {
      "type": "file",
      "path": "pairinteraction.desktop"
     },
     {
      "type": "file",
      "path": "pairinteraction.png"
     },
     {
      "type": "script",
      "dest-filename": "start_pairinteraction_gui",
      "commands": [
       "exec /app/bin/pairinteraction --log-level INFO gui \"$@\""
      ]
     }
    ],
    "post-install": [
     "install -Dm0755 start_pairinteraction_gui -t /app/bin",
     "install -Dm0644 org.pairinteraction.Pairinteraction.metainfo.xml -t /app/share/metainfo",
     "install -Dm0644 pairinteraction.desktop $FLATPAK_DEST/share/applications/$FLATPAK_ID.desktop",
     "install -Dm0644 pairinteraction.png $FLATPAK_DEST/share/icons/hicolor/512x512/apps/$FLATPAK_ID.png"
    ]
   }
  ]
 }
}