{
 "app_id": "cn.xfangfang.wiliwili",
 "source_url": "https://raw.githubusercontent.com/flathub/cn.xfangfang.wiliwili/master/cn.xfangfang.wiliwili.yaml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "26.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=pulseaudio",
  "--socket=wayland",
  "--device=all",
  "--filesystem=~/.steam",
  "--talk-name=org.gnome.SessionManager",
  "--talk-name=org.mate.SessionManager",
  "--talk-name=org.freedesktop.ScreenSaver",
  "--talk-name=org.freedesktop.PowerManagement"
 ],
 "module_count": 2,
 "fetched_at": "2026-09-17T16:06:47.361803+00:00",
 "manifest": {
  "app-id": "cn.xfangfang.wiliwili",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "26.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "wiliwili",
  "finish-args": [
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--device=all",
   "--share=network",
   "--socket=pulseaudio",
   "--talk-name=org.freedesktop.ScreenSaver",
   "--talk-name=org.freedesktop.PowerManagement",
   "--talk-name=org.gnome.SessionManager",
   "--talk-name=org.mate.SessionManager",
   "--filesystem=~/.steam"
  ],
  "cleanup": [
   "*.a",
   "*.la",
   "/include",
   "/lib/cmake",
   "/lib/pkgconfig",
   "/man",
   "/share/man",
   "/share/gtk-doc"
  ],
  "modules": [
   "mpv/mpv.yaml",
   {
    "name": "wiliwili",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DPLATFORM_DESKTOP=ON",
     "-DINSTALL=ON",
     "-DCMAKE_BUILD_TYPE=Release",
     "-DUSE_GLFW=ON",
     "-DGLFW_BUILD_WAYLAND=ON",
     "-DGLFW_BUILD_X11=ON",
     "-DUSE_SYSTEM_CURL=ON",
     "-DUSE_SYSTEM_FMT=ON",
     "-DUSE_SYSTEM_SDL2=ON",
     "-DUSE_GLES2=OFF",
     "-DUSE_EGL=ON",
     "-DBRLS_UNITY_BUILD=ON",
     "-DCMAKE_UNITY_BUILD_BATCH_SIZE=16"
    ],
    "builddir": true,
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/xfangfang/wiliwili.git",
      "tag": "v1.6.0",
      "commit": "88e5876bea9502d06f46a8656e3530684d3aaf7d",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^v([\\d.]+)$"
      }
     },
     {
      "type": "patch",
      "path": "update-gamepad-mappings.patch"
     }
    ]
   }
  ]
 }
}