{
 "app_id": "com.github.polymeilex.neothesia",
 "source_url": "https://raw.githubusercontent.com/flathub/com.github.polymeilex.neothesia/master/com.github.polymeilex.neothesia.json",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=pulseaudio",
  "--socket=fallback-x11",
  "--device=dri"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-17T16:07:45.304594+00:00",
 "manifest": {
  "app-id": "com.github.polymeilex.neothesia",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable"
  ],
  "command": "neothesia",
  "finish-args": [
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--socket=pulseaudio",
   "--device=dri"
  ],
  "build-options": {
   "append-path": "/usr/lib/sdk/rust-stable/bin",
   "env": {
    "CARGO_HOME": "/run/build/neothesia/cargo"
   }
  },
  "modules": [
   {
    "name": "neothesia",
    "buildsystem": "simple",
    "build-commands": [
     "mkdir .cargo",
     "cp ./flatpak/cargo-config.toml .cargo/config.toml",
     "cargo --offline build --release",
     "mkdir -p /app/share/neothesia/",
     "cp -ap ./default.sf2 /app/share/neothesia/default.sf2",
     "install -Dm755 ./target/release/neothesia -t /app/bin/",
     "install -Dm644 com.github.polymeilex.neothesia.metainfo.xml -t /app/share/metainfo/",
     "install -Dm644 ./flatpak/com.github.polymeilex.neothesia.desktop -t /app/share/applications/",
     "install -Dm644 ./com.github.polymeilex.neothesia.png -t /app/share/icons/hicolor/256x256/apps/"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/PolyMeilex/Neothesia.git",
      "tag": "v0.4.0",
      "commit": "724539cc6cd7dcfccd59191d92c7fb9012d465d0"
     },
     {
      "type": "archive",
      "url": "https://github.com/flathub/com.github.polymeilex.neothesia/releases/download/0.4.0-vendor/vendor.tar.xz",
      "sha256": "823078cc55481ea4639b9ada0fbbe0a3bf5ae7a0d87b269cee67e2537f8737d0",
      "dest": "vendor"
     },
     {
      "type": "file",
      "path": "com.github.polymeilex.neothesia.metainfo.xml"
     },
     {
      "type": "file",
      "path": "com.github.polymeilex.neothesia.png"
     }
    ]
   }
  ]
 }
}