{
 "app_id": "eu.lastviking.shared",
 "source_url": "https://raw.githubusercontent.com/jgaa/shared/main/flatpak/local.shared.Shared.yaml",
 "runtime": "org.kde.Platform",
 "runtime_version": "6.10",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=network",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--share=ipc",
  "--talk-name=org.kde.StatusNotifierWatcher",
  "--filesystem=host:ro",
  "--filesystem=xdg-download",
  "--talk-name=org.freedesktop.portal.Desktop",
  "--talk-name=org.freedesktop.secrets",
  "--talk-name=org.kde.kwalletd5",
  "--talk-name=org.kde.kwalletd6"
 ],
 "module_count": 2,
 "fetched_at": "2026-10-05T15:58:03.163320+00:00",
 "manifest": {
  "app-id": "eu.lastviking.shared",
  "runtime": "org.kde.Platform",
  "runtime-version": "6.10",
  "sdk": "org.kde.Sdk",
  "command": "sharedgui",
  "finish-args": [
   "--share=network",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--share=ipc",
   "--talk-name=org.kde.StatusNotifierWatcher",
   "--filesystem=host:ro",
   "--filesystem=xdg-download",
   "--talk-name=org.freedesktop.portal.Desktop",
   "--talk-name=org.freedesktop.secrets",
   "--talk-name=org.kde.kwalletd5",
   "--talk-name=org.kde.kwalletd6"
  ],
  "modules": [
   {
    "name": "libsodium",
    "buildsystem": "autotools",
    "config-opts": [
     "--disable-static"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/jedisct1/libsodium/releases/download/1.0.22-RELEASE/libsodium-1.0.22.tar.gz",
      "sha256": "adbdd8f16149e81ac6078a03aca6fc03b592b89ef7b5ed83841c086191be3349"
     }
    ]
   },
   {
    "name": "shared",
    "buildsystem": "simple",
    "build-commands": [
     "cmake -S desktop -B _build -G Ninja \\\n  -DCMAKE_BUILD_TYPE=Release \\\n  -DCMAKE_INSTALL_PREFIX=/app \\\n  -DCMAKE_PREFIX_PATH=/app \\\n  -DBUILD_TESTING=OFF \\\n  -DFETCHCONTENT_SOURCE_DIR_SAFEKEEPING=\"$(pwd)/third_party/safekeeping\" \\\n  -DSAFEKEEPING_ENABLE_KWALLET=ON \\\n  -DSHARED_BUILD_HEADLESS=OFF \\\n  -DSHARED_FLATPAK_BUILD=ON \\\n  -DSHARED_QCORO_SOURCE_DIR=\"$(pwd)/third_party/qcoro\" \\\n  -DSHARED_LOGFAULT_SOURCE_DIR=\"$(pwd)/third_party/logfault\"\n",
     "cmake --build _build --parallel",
     "cmake --install _build"
    ],
    "sources": [
     {
      "type": "dir",
      "path": ".."
     },
     {
      "type": "git",
      "url": "https://github.com/qcoro/qcoro.git",
      "tag": "v0.13.0",
      "dest": "third_party/qcoro"
     },
     {
      "type": "git",
      "url": "https://github.com/jgaa/logfault.git",
      "tag": "v0.8.5",
      "dest": "third_party/logfault"
     },
     {
      "type": "git",
      "url": "https://github.com/jgaa/SafeKeeping.git",
      "commit": "635466b1f3508265a13b35489f58849332fde0c1",
      "dest": "third_party/safekeeping"
     }
    ]
   }
  ]
 }
}