{
 "app_id": "io.github.lullabyX.sone",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.lullabyX.sone/master/io.github.lullabyX.sone.yml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=pulseaudio",
  "--socket=wayland",
  "--device=dri",
  "--filesystem=xdg-run/discord-ipc-6:ro",
  "--filesystem=xdg-run/discord-ipc-9:ro",
  "--filesystem=xdg-run/.flatpak/dev.vencord.Vesktop/xdg-run:ro",
  "--filesystem=xdg-run/app/dev.vencord.Vesktop:create",
  "--filesystem=xdg-run/snap.discord:ro",
  "--filesystem=xdg-run/discord-ipc-1:ro",
  "--filesystem=xdg-run/discord-ipc-4:ro",
  "--filesystem=xdg-run/discord-ipc-7:ro",
  "--filesystem=xdg-run/.flatpak/com.discordapp.Discord/xdg-run:ro",
  "--filesystem=xdg-run/discord-ipc-2:ro",
  "--filesystem=xdg-run/app/com.discordapp.DiscordCanary:create",
  "--filesystem=xdg-run/discord-ipc-5:ro",
  "--filesystem=xdg-run/discord-ipc-8:ro",
  "--filesystem=xdg-run/snap.discord-canary:ro",
  "--filesystem=xdg-run/discord-ipc-0:ro",
  "--filesystem=xdg-run/app/com.discordapp.Discord:create",
  "--filesystem=xdg-run/discord-ipc-3:ro",
  "--talk-name=org.kde.StatusNotifierWatcher"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-17T16:11:36.588885+00:00",
 "manifest": {
  "id": "io.github.lullabyX.sone",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable",
   "org.freedesktop.Sdk.Extension.node24"
  ],
  "command": "io.github.lullabyX.sone",
  "finish-args": [
   "--socket=wayland",
   "--socket=fallback-x11",
   "--socket=pulseaudio",
   "--device=dri",
   "--share=ipc",
   "--share=network",
   "--filesystem=xdg-run/discord-ipc-0:ro",
   "--filesystem=xdg-run/discord-ipc-1:ro",
   "--filesystem=xdg-run/discord-ipc-2:ro",
   "--filesystem=xdg-run/discord-ipc-3:ro",
   "--filesystem=xdg-run/discord-ipc-4:ro",
   "--filesystem=xdg-run/discord-ipc-5:ro",
   "--filesystem=xdg-run/discord-ipc-6:ro",
   "--filesystem=xdg-run/discord-ipc-7:ro",
   "--filesystem=xdg-run/discord-ipc-8:ro",
   "--filesystem=xdg-run/discord-ipc-9:ro",
   "--filesystem=xdg-run/app/com.discordapp.Discord:create",
   "--filesystem=xdg-run/app/com.discordapp.DiscordCanary:create",
   "--filesystem=xdg-run/app/dev.vencord.Vesktop:create",
   "--filesystem=xdg-run/.flatpak/com.discordapp.Discord/xdg-run:ro",
   "--filesystem=xdg-run/.flatpak/dev.vencord.Vesktop/xdg-run:ro",
   "--filesystem=xdg-run/snap.discord:ro",
   "--filesystem=xdg-run/snap.discord-canary:ro",
   "--talk-name=org.kde.StatusNotifierWatcher",
   "--env=WEBKIT_DISABLE_COMPOSITING_MODE=1"
  ],
  "build-options": {
   "append-path": "/run/build/sone/.npm-global/bin:/usr/lib/sdk/node24/bin:/usr/lib/sdk/rust-stable/bin"
  },
  "modules": [
   {
    "name": "sone",
    "buildsystem": "simple",
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/lullabyX/sone.git",
      "tag": "v0.22.1",
      "commit": "64435d08551aea1c4325029dd893aa25a874cd2f"
     },
     {
      "type": "file",
      "url": "https://registry.npmjs.org/pnpm/-/pnpm-11.1.3.tgz",
      "sha256": "740302fe768aaf1ba680c5213bd08983f219e0bcf0c96c0c6d7be393b8620c98",
      "dest-filename": "pnpm-11.1.3.tgz"
     },
     "pnpm-sources.json",
     "cargo-sources.json"
    ],
    "build-options": {
     "env": {
      "CARGO_HOME": "/run/build/sone/cargo",
      "XDG_CACHE_HOME": "/run/build/sone/flatpak-node/cache",
      "npm_config_nodedir": "/usr/lib/sdk/node24",
      "npm_config_prefix": "/run/build/sone/.npm-global",
      "npm_config_cache": "/run/build/sone/npm-cache",
      "npm_config_offline": "true",
      "CARGO_NET_OFFLINE": "true"
     }
    },
    "build-commands": [
     "mkdir -p /run/build/sone/.npm-global",
     "npm install -g pnpm-11.1.3.tgz",
     "pnpm install --offline --frozen-lockfile",
     "cargo --offline fetch --manifest-path src-tauri/Cargo.toml",
     "pnpm tauri build --no-bundle",
     "install -Dm755 src-tauri/target/release/sone /app/bin/io.github.lullabyX.sone",
     "install -Dm644 src-tauri/icons/icon.png /app/share/icons/hicolor/512x512/apps/io.github.lullabyX.sone.png",
     "install -Dm644 data/io.github.lullabyX.sone.desktop /app/share/applications/io.github.lullabyX.sone.desktop",
     "install -Dm644 data/io.github.lullabyX.sone.metainfo.xml /app/share/metainfo/io.github.lullabyX.sone.metainfo.xml",
     "install -Dm644 LICENSE /app/share/licenses/io.github.lullabyX.sone/LICENSE"
    ]
   }
  ]
 }
}