{
 "app_id": "io.github.subsoundorg.Subsound",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.subsoundorg.Subsound/master/io.github.subsoundorg.Subsound.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"
 ],
 "module_count": 2,
 "fetched_at": "2026-09-17T16:12:16.794108+00:00",
 "manifest": {
  "id": "io.github.subsoundorg.Subsound",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.openjdk25"
  ],
  "command": "Subsound",
  "finish-args": [
   "--env=JAVA_HOME=/app/jre",
   "--env=JAVA_LOG_LEVEL=WARN",
   "--socket=pulseaudio",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--device=dri",
   "--share=ipc",
   "--share=network"
  ],
  "modules": [
   {
    "name": "openjdk",
    "buildsystem": "simple",
    "build-commands": [
     "/usr/lib/sdk/openjdk25/install.sh"
    ]
   },
   {
    "name": "Subsound",
    "buildsystem": "simple",
    "build-options": {
     "append-path": "/usr/lib/sdk/openjdk25/gradle/bin:/usr/lib/sdk/openjdk25/jvm/openjdk-25/bin",
     "env": {
      "JAVA_HOME": "/usr/lib/sdk/openjdk25/jvm/openjdk-25"
     }
    },
    "build-commands": [
     "gradle -v",
     "bash flatpak-release.sh",
     "install -Dm644 build/libs/*-final.jar /app/lib/Subsound.jar",
     "install -Dm755 src/main/resources/app/Subsound.sh /app/bin/Subsound",
     "install --mode=0644 -D src/main/resources/icons/icon.svg /app/share/icons/hicolor/scalable/apps/io.github.subsoundorg.Subsound.svg",
     "install --mode=0644 -D src/main/resources/icons/hicolor/scalable/status/checkmark-circle-symbolic.svg -t /app/share/icons/hicolor/scalable/status/",
     "install --mode=0644 -D src/main/resources/app/io.github.subsoundorg.Subsound.desktop  -t /app/share/applications/",
     "install --mode=0644 -D build/resources/main/app/io.github.subsoundorg.Subsound.metainfo.xml -t /app/share/metainfo/"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/subsoundorg/subsound",
      "tag": "v0.8.0",
      "commit": "46bebe85b003ac69230888962edfe6e3b3d94a55",
      "disable-shallow-clone": true
     },
     "flatpak-sources.json"
    ]
   }
  ]
 }
}