{
 "app_id": "org.fooyin.fooyin",
 "source_url": "https://raw.githubusercontent.com/flathub/org.fooyin.fooyin/master/org.fooyin.fooyin.yaml",
 "runtime": "org.kde.Platform",
 "runtime_version": "6.11",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=pulseaudio",
  "--socket=wayland",
  "--device=dri",
  "--filesystem=xdg-download",
  "--filesystem=xdg-run/pipewire-0:ro",
  "--filesystem=xdg-music",
  "--filesystem=xdg-config/kdeglobals:ro",
  "--filesystem=/run/media",
  "--filesystem=xdg-run/discord-ipc-0",
  "--filesystem=xdg-run/app/com.discordapp.Discord:create",
  "--talk-name=com.canonical.AppMenu.Registrar",
  "--talk-name=org.kde.kconfig.notify",
  "--talk-name=org.kde.KGlobalSettings",
  "--talk-name=org.kde.StatusNotifierWatcher",
  "--own-name=org.mpris.MediaPlayer2.fooyin",
  "--system-talk-name=org.freedesktop.UDisks2"
 ],
 "module_count": 9,
 "fetched_at": "2026-09-17T16:14:36.486876+00:00",
 "manifest": {
  "app-id": "org.fooyin.fooyin",
  "runtime": "org.kde.Platform",
  "runtime-version": "6.11",
  "sdk": "org.kde.Sdk",
  "command": "fooyin-wrapper",
  "finish-args": [
   "--device=dri",
   "--filesystem=xdg-download",
   "--filesystem=xdg-music",
   "--filesystem=xdg-run/pipewire-0:ro",
   "--filesystem=xdg-run/discord-ipc-0",
   "--filesystem=xdg-run/app/com.discordapp.Discord:create",
   "--filesystem=/run/media",
   "--own-name=org.mpris.MediaPlayer2.fooyin",
   "--share=ipc",
   "--share=network",
   "--socket=fallback-x11",
   "--socket=pulseaudio",
   "--socket=wayland",
   "--system-talk-name=org.freedesktop.UDisks2",
   "--talk-name=org.kde.StatusNotifierWatcher"
  ],
  "cleanup": [
   "*.a",
   "*.la",
   "/include",
   "/lib/cmake",
   "/lib/alsa-lib/pkgconfig",
   "/lib/pkgconfig",
   "/mkspecs",
   "/share/aclocal",
   "/share/doc/KDSingleApplication-qt6"
  ],
  "modules": [
   "kdsingleapplication.json",
   "libopenmpt.json",
   "projectm.json",
   {
    "name": "game-music-emu",
    "buildsystem": "cmake-ninja",
    "cleanup": [
     "/include",
     "/lib/*.so",
     "/lib/pkgconfig"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/libgme/game-music-emu.git",
      "tag": "0.6.5",
      "commit": "9e23d10f9fd2a6a2f33b10912dd8dc7153258995",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^([\\d.]+)$"
      }
     }
    ]
   },
   {
    "name": "libebur128",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release",
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/jiixyj/libebur128.git",
      "tag": "v1.2.6",
      "commit": "67b33abe1558160ed76ada1322329b0e9e058b02",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "v([\\d.]+)"
      }
     }
    ]
   },
   {
    "name": "soxr",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/chirlu/soxr.git",
      "tag": "0.1.3",
      "commit": "945b592b70470e29f917f4de89b4281fbbd540c0",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^([\\d.]+)$"
      }
     }
    ]
   },
   {
    "name": "soundtouch",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_POSITION_INDEPENDENT_CODE=ON"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://codeberg.org/soundtouch/soundtouch.git",
      "tag": "2.4.1",
      "commit": "0047e0b1ecfceb041348579119bf79b73a322a3a",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^([\\d.]+)$"
      }
     }
    ]
   },
   {
    "name": "fooyin",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/fooyin/fooyin.git",
      "tag": "v0.12.6",
      "commit": "6ba72ae1b00007251d4c09210e4c6ad4e7b867b8",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "v([\\d.]+)"
      }
     }
    ]
   },
   {
    "name": "wrapper",
    "buildsystem": "simple",
    "build-commands": [
     "install -Dm755 fooyin-wrapper /app/bin/fooyin-wrapper",
     "desktop-file-edit --set-key=Exec --set-value='/app/bin/fooyin-wrapper %F' /app/share/applications/org.fooyin.fooyin.desktop"
    ],
    "sources": [
     {
      "type": "file",
      "path": "fooyin-wrapper"
     }
    ]
   }
  ]
 }
}