{
 "app_id": "io.github.luohoa97.Cordial",
 "source_url": "https://raw.githubusercontent.com/luohoa97/cordial/main/packaging/io.github.luohoa97.Cordial.yml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--device=dri",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--share=ipc",
  "--share=network",
  "--socket=pulseaudio",
  "--filesystem=xdg-run/pipewire-0:ro",
  "--persist=.cordial",
  "--filesystem=xdg-run/discord-ipc-0",
  "--filesystem=xdg-run/app/com.discordapp.Discord:ro",
  "--filesystem=~/.var/app/org.vinegarhq.Sober/data/sober/packages:ro",
  "--system-talk-name=org.freedesktop.NetworkManager",
  "--talk-name=org.freedesktop.secrets",
  "--talk-name=com.feralinteractive.GameMode",
  "--talk-name=org.a11y.Bus",
  "--filesystem=xdg-run/at-spi"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-17T16:21:35.915219+00:00",
 "manifest": {
  "app-id": "io.github.luohoa97.Cordial",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable",
   "org.freedesktop.Sdk.Extension.llvm20"
  ],
  "command": "cordial-shell",
  "build-options": {
   "append-path": "/usr/lib/sdk/rust-stable/bin:/usr/lib/sdk/llvm20/bin",
   "prepend-ld-library-path": "/usr/lib/sdk/llvm20/lib",
   "env": {
    "CC": "clang",
    "CXX": "clang++",
    "CARGO_HOME": "/run/build/cordial/cargo"
   }
  },
  "finish-args": [
   "--device=dri",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--share=ipc",
   "--share=network",
   "--socket=pulseaudio",
   "--filesystem=xdg-run/pipewire-0:ro",
   "--persist=.cordial",
   "--filesystem=xdg-run/discord-ipc-0",
   "--filesystem=xdg-run/app/com.discordapp.Discord:ro",
   "--filesystem=~/.var/app/org.vinegarhq.Sober/data/sober/packages:ro",
   "--system-talk-name=org.freedesktop.NetworkManager",
   "--talk-name=org.freedesktop.secrets",
   "--talk-name=com.feralinteractive.GameMode",
   "--talk-name=org.a11y.Bus",
   "--filesystem=xdg-run/at-spi"
  ],
  "modules": [
   {
    "name": "cordial",
    "buildsystem": "simple",
    "build-commands": [
     "cargo build --release --offline --features cordial-shell/webview,cordial-runtime/webview",
     "for plugin in plugins/*/; do\n  id=$(basename \"$plugin\")\n  [ -f \"$plugin/plugin.json\" ] || continue\n  install -Dm644 \"$plugin/plugin.json\" \"/app/share/cordial/plugins/$id/plugin.json\"\n  install -Dm644 \"$plugin/main.ts\" \"/app/share/cordial/plugins/$id/main.ts\"\ndone\n",
     "install -Dm755 target/release/cordial-shell /app/bin/cordial-shell",
     "ln -sf cordial-shell /app/bin/cordial",
     "install -Dm755 target/release/cordial-run /app/bin/cordial-run",
     "install -Dm644 packaging/icons/hicolor/scalable/apps/io.github.luohoa97.Cordial.svg /app/share/icons/hicolor/scalable/apps/io.github.luohoa97.Cordial.svg",
     "install -Dm644 packaging/icons/hicolor/scalable/apps/io.github.luohoa97.Cordial.Frostbite.svg /app/share/icons/hicolor/scalable/apps/io.github.luohoa97.Cordial.Frostbite.svg",
     "install -Dm644 packaging/io.github.luohoa97.Cordial.desktop /app/share/applications/io.github.luohoa97.Cordial.desktop",
     "install -Dm644 packaging/io.github.luohoa97.Cordial.metainfo.xml /app/share/metainfo/io.github.luohoa97.Cordial.metainfo.xml",
     "install -Dm644 LICENSE /app/share/licenses/cordial/LICENSE",
     "install -Dm644 THIRD-PARTY-NOTICES.md /app/share/licenses/cordial/THIRD-PARTY-NOTICES.md",
     "install -Dm644 third_party/libbadcpu/LICENSE.upstream /app/share/licenses/cordial/libbadcpu-MIT.txt",
     "install -Dm644 third_party/mcpelauncher-linker/LICENSE /app/share/licenses/cordial/mcpelauncher-linker-MIT.txt",
     "install -Dm644 third_party/mcpelauncher-linker/core/NOTICE /app/share/licenses/cordial/aosp-NOTICE.txt",
     "install -Dm644 third_party/libjnivm/LICENSE /app/share/licenses/cordial/libjnivm-MIT.txt",
     "install -Dm644 NOTICE /app/share/licenses/cordial/NOTICE",
     "install -Dm644 third_party/mocktail-webview/LICENSE /app/share/licenses/cordial/mocktail-webview-Apache-2.0.txt"
    ],
    "sources": [
     {
      "type": "dir",
      "path": "..",
      "skip": [
       "target",
       "third_party/libjnivm",
       "third_party/mcpelauncher-linker"
      ]
     },
     {
      "type": "git",
      "url": "https://github.com/ChristopherHX/libjnivm",
      "commit": "f24b98c198fcc5c59a68d1efadd3f5791eb01c2e",
      "dest": "third_party/libjnivm"
     },
     {
      "type": "git",
      "url": "https://github.com/minecraft-linux/mcpelauncher-linker",
      "commit": "1ac3ea6c1cf4f73a84d73f0bff510fba94a7d0f2",
      "dest": "third_party/mcpelauncher-linker"
     },
     "cargo-sources.json"
    ]
   }
  ]
 }
}