{
 "app_id": "org.easyrpg.player",
 "source_url": "https://raw.githubusercontent.com/flathub/org.easyrpg.player/master/org.easyrpg.player.yml",
 "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=all",
  "--filesystem=home"
 ],
 "module_count": 9,
 "fetched_at": "2026-09-17T16:14:26.669116+00:00",
 "manifest": {
  "app-id": "org.easyrpg.player",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "easyrpg-player",
  "rename-desktop-file": "easyrpg-player.desktop",
  "rename-appdata-file": "easyrpg-player.metainfo.xml",
  "rename-icon": "easyrpg-player",
  "finish-args": [
   "--share=ipc",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--socket=pulseaudio",
   "--filesystem=home",
   "--device=all"
  ],
  "cleanup": [
   "/include",
   "/lib/cmake",
   "/lib/pkgconfig",
   "/lib/*.so"
  ],
  "modules": [
   "shared-modules/linux-audio/fluidsynth2.json",
   {
    "name": "libxmp",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DBUILD_STATIC=OFF",
     "-DLIBXMP_DISABLE_DEPACKERS=ON",
     "-DLIBXMP_DISABLE_PROWIZARD=ON"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/libxmp/libxmp.git",
      "tag": "libxmp-4.6.3",
      "commit": "bed660f8e530d399c38f27a5a7732f4e79740585",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^libxmp-([\\d.]+)$"
      }
     }
    ]
   },
   {
    "name": "inih",
    "buildsystem": "meson",
    "config-opts": [
     "--buildtype=debugoptimized",
     "-Ddefault_library=shared",
     "-Ddistro_install=true",
     "-Dwith_INIReader=false"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/benhoyt/inih.git",
      "tag": "r62",
      "commit": "26254ee9de7681f8825433415443e7116ff24b98",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^r([\\d]+)$"
      }
     }
    ]
   },
   {
    "name": "nlohmann_json",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DJSON_BuildTests=OFF"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/nlohmann/json.git",
      "tag": "v3.12.0",
      "commit": "55f93686c01528224f448c19128836e7df245f72",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^v([\\d.]+)$"
      }
     }
    ],
    "cleanup": [
     "/share"
    ]
   },
   {
    "name": "lhasa",
    "config-opts": [
     "--enable-shared",
     "--disable-static"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/fragglet/lhasa.git",
      "tag": "v0.5.0",
      "commit": "450172de282c8f8730696f4370a57cf49bfabf22",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^v([\\d.]+)$"
      }
     }
    ],
    "cleanup": [
     "/bin",
     "/share/man",
     "/lib/*.la"
    ]
   },
   {
    "name": "liblcf",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DLIBLCF_ENABLE_TOOLS=OFF",
     "-DLIBLCF_WITH_XML=OFF",
     "-DLIBLCF_ENABLE_TESTS=OFF",
     "-DLIBLCF_UPDATE_MIMEDB=OFF"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/EasyRPG/liblcf.git",
      "tag": "0.8.1",
      "commit": "92c4450a1bc1acb58bd02bbb99b57e5036919cdf",
      "x-checker-data": {
       "is-main-source": true,
       "type": "git",
       "tag-pattern": "^([\\d.]+)$"
      }
     }
    ],
    "cleanup": [
     "/share"
    ]
   },
   {
    "name": "player",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DPLAYER_VERSION_APPEND='(Flathub)'"
    ],
    "post-install": [
     "mv /app/bin/{easyrpg-player,org.easyrpg.player.real}"
    ],
    "cleanup": [
     "/share/bash-completion",
     "/share/pixmaps"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/EasyRPG/Player.git",
      "tag": "0.8.1.1",
      "commit": "78328fa29f465315291e161130e6682f69410370",
      "x-checker-data": {
       "is-main-source": true,
       "type": "git",
       "tag-pattern": "^([\\d.]+)$"
      }
     }
    ]
   },
   {
    "name": "wizard",
    "buildsystem": "cmake-ninja",
    "subdir": "Flatpak/firststart",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo"
    ],
    "post-install": [
     "mv /app/bin/{firststart,easyrpg-firststart}"
    ],
    "sources": [
     {
      "type": "git",
      "disable-submodules": true,
      "url": "https://github.com/EasyRPG/packaging.git",
      "commit": "a20be36b008e0e2a6b84d049663cc97a64461166"
     }
    ]
   },
   {
    "name": "launcher",
    "buildsystem": "simple",
    "subdir": "Flatpak",
    "build-commands": [
     "install -Dm755 flatpak-launcher.sh /app/bin/easyrpg-player"
    ],
    "sources": [
     {
      "type": "git",
      "disable-submodules": true,
      "url": "https://github.com/EasyRPG/packaging.git",
      "commit": "a20be36b008e0e2a6b84d049663cc97a64461166"
     }
    ]
   }
  ]
 }
}