{
 "app_id": "net.kuribo64.melonDS",
 "source_url": "https://raw.githubusercontent.com/flathub/net.kuribo64.melonDS/master/net.kuribo64.melonDS.yml",
 "runtime": "org.kde.Platform",
 "runtime_version": "6.10",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=pulseaudio",
  "--socket=fallback-x11",
  "--device=all",
  "--filesystem=home",
  "--filesystem=xdg-config/kdeglobals:ro",
  "--talk-name=com.canonical.AppMenu.Registrar",
  "--talk-name=org.kde.kconfig.notify",
  "--talk-name=org.kde.KGlobalSettings"
 ],
 "module_count": 3,
 "fetched_at": "2026-09-17T16:13:31.256726+00:00",
 "manifest": {
  "app-id": "net.kuribo64.melonDS",
  "runtime": "org.kde.Platform",
  "runtime-version": "6.10",
  "sdk": "org.kde.Sdk",
  "command": "melonDS",
  "cleanup": [
   "/include",
   "/lib/pkgconfig"
  ],
  "finish-args": [
   "--share=ipc",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--socket=pulseaudio",
   "--share=network",
   "--device=all",
   "--filesystem=home"
  ],
  "modules": [
   {
    "name": "libenet",
    "sources": [
     {
      "sha256": "28603c895f9ed24a846478180ee72c7376b39b4bb1287b73877e5eae7d96b0dd",
      "type": "archive",
      "url": "https://github.com/lsalzman/enet/archive/v1.3.18.tar.gz",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 696,
       "url-template": "https://github.com/lsalzman/enet/archive/v$version.tar.gz"
      }
     },
     {
      "type": "script",
      "dest-filename": "autogen.sh",
      "commands": [
       "autoreconf -ifv"
      ]
     }
    ]
   },
   {
    "name": "faad2",
    "buildsystem": "cmake-ninja",
    "sources": [
     {
      "sha256": "3fcbd305e4abd34768c62050e18ca0986f7d9c5eca343fb98275418013065c0e",
      "type": "archive",
      "url": "https://github.com/knik0/faad2/archive/refs/tags/2.11.2.tar.gz"
     }
    ]
   },
   {
    "name": "melonds",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "build-options": {
     "config-opts": [
      "-DMELONDS_EMBED_BUILD_INFO=ON",
      "-DMELONDS_GIT_HASH=e099cfdc5a38141135e9d5747bebae8f640978c4",
      "-DMELONDS_GIT_BRANCH=master",
      "-DMELONDS_BUILD_PROVIDER=Flathub"
     ]
    },
    "build-commands": [
     "install -D -m644 -t /app/share/appdata/ ../${FLATPAK_ID}.appdata.xml"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/melonDS-emu/melonDS.git",
      "tag": "b86390e4428bf38ce4c1ce0e9ca446d6d25955e8"
     },
     {
      "type": "file",
      "path": "net.kuribo64.melonDS.appdata.xml"
     }
    ]
   }
  ]
 }
}