{
 "app_id": "io.github.loot.loot",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.loot.loot/master/io.github.loot.loot.yml",
 "runtime": "org.kde.Platform",
 "runtime_version": "6.11",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--device=dri",
  "--filesystem=/var/lib/flatpak/app/org.openmw.OpenMW:ro",
  "--filesystem=/run/media",
  "--filesystem=~/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/compatdata",
  "--filesystem=host-os:ro",
  "--filesystem=xdg-config/kdeglobals:ro",
  "--filesystem=host-etc:ro",
  "--filesystem=~/.var/app/com.valvesoftware.Steam/.local/share/Steam:ro",
  "--filesystem=xdg-data/Steam/steamapps/compatdata",
  "--filesystem=xdg-config/heroic:ro",
  "--filesystem=~/.var/app/com.heroicgameslauncher.hgl/config/heroic:ro",
  "--filesystem=~/.var/app/org.openmw.OpenMW/config/openmw/openmw.cfg",
  "--filesystem=~/.local/share/flatpak/app/org.openmw.OpenMW:ro",
  "--filesystem=~/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common",
  "--filesystem=xdg-config/openmw/openmw.cfg",
  "--filesystem=~/Games/Heroic",
  "--filesystem=xdg-data/Steam:ro",
  "--filesystem=~/.steam/steam/steamapps/common",
  "--filesystem=xdg-data/Steam/steamapps/common",
  "--filesystem=~/.var/app/org.openmw.OpenMW/data/openmw:ro",
  "--filesystem=xdg-data/openmw: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:11:36.588885+00:00",
 "manifest": {
  "app-id": "io.github.loot.loot",
  "runtime": "org.kde.Platform",
  "runtime-version": "6.11",
  "sdk": "org.kde.Sdk",
  "command": "LOOT",
  "finish-args": [
   "--device=dri",
   "--share=ipc",
   "--share=network",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--filesystem=xdg-data/Steam:ro",
   "--filesystem=xdg-data/Steam/steamapps/common",
   "--filesystem=xdg-data/Steam/steamapps/compatdata",
   "--filesystem=~/.steam/steam/steamapps/common",
   "--filesystem=~/.var/app/com.valvesoftware.Steam/.local/share/Steam:ro",
   "--filesystem=~/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common",
   "--filesystem=~/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/compatdata",
   "--filesystem=/run/media",
   "--filesystem=xdg-config/heroic:ro",
   "--filesystem=~/.var/app/com.heroicgameslauncher.hgl/config/heroic:ro",
   "--filesystem=~/Games/Heroic",
   "--filesystem=host-etc:ro",
   "--filesystem=host-os:ro",
   "--filesystem=xdg-config/openmw/openmw.cfg",
   "--filesystem=xdg-data/openmw:ro",
   "--filesystem=/var/lib/flatpak/app/org.openmw.OpenMW:ro",
   "--filesystem=~/.local/share/flatpak/app/org.openmw.OpenMW:ro",
   "--filesystem=~/.var/app/org.openmw.OpenMW/config/openmw/openmw.cfg",
   "--filesystem=~/.var/app/org.openmw.OpenMW/data/openmw:ro"
  ],
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable"
  ],
  "modules": [
   {
    "name": "OGDF",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DOGDF_ARCH=x86-64"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://ogdf.uos.de/wp-content/uploads/2025/10/ogdf.v2025.10.zip",
      "sha256": "54f8fc9c2b44b3e4f34ca85be3ae77ce2a309337397662c1432a960367522ccb"
     }
    ]
   },
   {
    "name": "Boost",
    "buildsystem": "simple",
    "build-commands": [
     "./bootstrap.sh --prefix=/app",
     "./b2 link=static runtime-link=shared variant=release debug-symbols=on cxxflags=\"-std=c++17 -fPIC\" --with-locale install"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://archives.boost.io/release/1.91.0/source/boost_1_91_0.tar.bz2",
      "sha256": "de5e6b0e4913395c6bdfa90537febd9028ea4c0735d2cdb0cd9b45d5f51264f5"
     }
    ]
   },
   {
    "name": "libtbb",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DTBB_TEST=OFF"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/uxlfoundation/oneTBB/archive/refs/tags/v2022.3.0.tar.gz",
      "sha256": "01598a46c1162c27253a0de0236f520fd8ee8166e9ebb84a4243574f88e6e50a"
     }
    ]
   },
   {
    "name": "minizip-ng",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DMZ_ZLIB=ON",
     "-DMZ_BZIP2=OFF",
     "-DMZ_LZMA=OFF",
     "-DMZ_ZSTD=OFF",
     "-DMZ_FETCH_LIBS=OFF",
     "-DMZ_PKCRYPT=OFF",
     "-DMZ_WZAES=OFF",
     "-DMZ_OPENSSL=OFF",
     "-DMZ_LIBBSD=OFF",
     "-DMZ_SIGNING=OFF",
     "-DMZ_COMPRESS_ONLY=ON"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/zlib-ng/minizip-ng/archive/refs/tags/4.1.0.tar.gz",
      "sha256": "85417229bb0cd56403e811c316150eea1a3643346d9cec7512ddb7ea291b06f2"
     }
    ]
   },
   {
    "name": "tomlplusplus",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/marzer/tomlplusplus/archive/v3.4.0.tar.gz",
      "sha256": "8517f65938a4faae9ccf8ebb36631a38c1cadfb5efa85d9a72e15b9e97d25155"
     }
    ]
   },
   {
    "name": "spdlog",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DSPDLOG_BUILD_EXAMPLE=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"
     }
    ]
   },
   {
    "name": "libloot",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "subdir": "cpp",
    "build-options": {
     "append-path": "/usr/lib/sdk/rust-stable/bin",
     "env": {
      "CARGO_HOME": "/run/build/libloot/cargo"
     }
    },
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DLIBLOOT_BUILD_TESTS=OFF",
     "-DLIBLOOT_INSTALL_DOCS=OFF"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/loot/libloot.git",
      "tag": "0.29.6",
      "commit": "136f3983c3eec7d377f83a7e7e0b0129aa5c8fe1"
     },
     "manifests/libloot.json"
    ]
   },
   {
    "name": "svg_to_ico",
    "buildsystem": "simple",
    "build-commands": [
     "tar -xf svg_to_ico.tar.xz",
     "install -D svg_to_ico /app/bin/svg_to_ico"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://github.com/Ortham/svg_to_ico/releases/download/1.3.1/svg_to_ico.tar.xz",
      "sha256": "04897b6384e7c3141c8343335b66bde3b184d7d65940980c38689b3ef4453f2f"
     }
    ]
   },
   {
    "name": "LOOT",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DLOOT_BUILD_TESTS=OFF",
     "-DFETCHCONTENT_SOURCE_DIR_VALVEFILEVDF=/run/build/LOOT/ValveFileVDF"
    ],
    "build-commands": [
     "install -D LOOT /app/bin/LOOT",
     "install -D ../resources/linux/io.github.loot.loot.metainfo.xml /app/share/metainfo/io.github.loot.loot.metainfo.xml",
     "install -D ../resources/linux/io.github.loot.loot.desktop /app/share/applications/io.github.loot.loot.desktop",
     "install -D ../resources/icons/loot.svg /app/share/icons/hicolor/scalable/apps/io.github.loot.loot.svg",
     "cd ..; python scripts/po_to_mo.py",
     "for path in ../resources/l10n/*/LC_MESSAGES/loot.mo; do install -D \"$path\" \"/app/share/locale/${path#../resources/l10n/}\"; done",
     "sphinx-build -b html ../docs /app/share/doc/loot"
    ],
    "no-make-install": true,
    "modules": [
     "manifests/docs.json"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/loot/loot.git",
      "tag": "0.29.2",
      "commit": "0402143e211ee20352c10965fa1a36df5edc63d5"
     },
     {
      "type": "archive",
      "url": "https://github.com/TinyTinni/ValveFileVDF/archive/refs/tags/v1.1.0.tar.gz",
      "sha256": "9149a6b01ca857f49f5660d608639acd579542bf862ad23e9cbf4c1e80ade55e",
      "dest": "ValveFileVDF"
     }
    ]
   }
  ],
  "cleanup": [
   "/bin/svg_to_ico",
   "/include",
   "/lib/cmake",
   "/lib/*.a",
   "/lib/pkgconfig",
   "/lib/python3.10",
   "/lib/x86_64-linux-gnu",
   "/share/doc/libogdf",
   "/share/doc/TBB",
   "/share/tomlplusplus"
  ]
 }
}