{
 "app_id": "net.sourceforge.m64py.M64Py",
 "source_url": "https://raw.githubusercontent.com/flathub/net.sourceforge.m64py.M64Py/master/net.sourceforge.m64py.M64Py.yml",
 "runtime": "org.kde.Platform",
 "runtime_version": "6.9",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=pulseaudio",
  "--socket=fallback-x11",
  "--device=all",
  "--filesystem=xdg-config/kdeglobals:ro",
  "--talk-name=com.canonical.AppMenu.Registrar",
  "--talk-name=org.kde.kconfig.notify",
  "--talk-name=org.kde.KGlobalSettings",
  "--talk-name=org.kde.kdeconnect"
 ],
 "module_count": 10,
 "fetched_at": "2026-09-17T16:13:51.307265+00:00",
 "manifest": {
  "app-id": "net.sourceforge.m64py.M64Py",
  "runtime": "org.kde.Platform",
  "runtime-version": "6.9",
  "sdk": "org.kde.Sdk",
  "base": "com.riverbankcomputing.PyQt.BaseApp",
  "base-version": "6.9",
  "command": "m64py",
  "finish-args": [
   "--share=ipc",
   "--device=all",
   "--socket=pulseaudio",
   "--socket=fallback-x11",
   "--socket=wayland"
  ],
  "build-options": {
   "env": [
    "BASEAPP_REMOVE_WEBENGINE=1"
   ]
  },
  "cleanup-commands": [
   "/app/cleanup-BaseApp.sh",
   "rm -rf /app/lib/python/site-packages/PyQt6/QtBluetooth*",
   "rm -rf /app/lib/python/site-packages/PyQt6/QtDesigner*",
   "rm -rf /app/lib/python/site-packages/PyQt6/QtHelp*",
   "rm -rf /app/lib/python/site-packages/PyQt6/QtMultimedia*",
   "rm -rf /app/lib/python/site-packages/PyQt6/QtNetwork*",
   "rm -rf /app/lib/python/site-packages/PyQt6/QtNfc*",
   "rm -rf /app/lib/python/site-packages/PyQt6/QtOpenGL*.so",
   "rm -rf /app/lib/python/site-packages/PyQt6/QtPositioning*.so",
   "rm -rf /app/lib/python/site-packages/PyQt6/QtPrintSupport*",
   "rm -rf /app/lib/python/site-packages/PyQt6/QtPrintSupport*",
   "rm -rf /app/lib/python/site-packages/PyQt6/QtQml*",
   "rm -rf /app/lib/python/site-packages/PyQt6/QtQuick*",
   "rm -rf /app/lib/python/site-packages/PyQt6/QtRemoteObjects*",
   "rm -rf /app/lib/python/site-packages/PyQt6/QtSensors*",
   "rm -rf /app/lib/python/site-packages/PyQt6/QtSerialPort*",
   "rm -rf /app/lib/python/site-packages/PyQt6/QtSql*",
   "rm -rf /app/lib/python/site-packages/PyQt6/QtSvg*",
   "rm -rf /app/lib/python/site-packages/PyQt6/QtTest*",
   "rm -rf /app/lib/python/site-packages/PyQt6/QtWeb*",
   "rm -rf /app/lib/python/site-packages/PyQt6/QtXml*",
   "rm -rf /app/lib/python/site-packages/sdl2/examples",
   "rm -rf /app/lib/python/site-packages/sdl2/test",
   "rm -rf /app/lib/python/site-packages/packaging*",
   "rm -rf /app/lib/python/site-packages/ply*",
   "rm -rf /app/lib/python/site-packages/pyparsing*",
   "rm -f /app/lib/python/site-packages/m64py/ui/__pycache__/snapshot_rc*",
   "rm -f /app/lib/python/site-packages/m64py/ui/__pycache__/title_rc*"
  ],
  "modules": [
   {
    "name": "mupen64plus-core",
    "buildsystem": "autotools",
    "subdir": "projects/unix",
    "no-autogen": true,
    "make-args": [
     "SHAREDIR=/app/share/mupen64plus",
     "VULKAN=0",
     "OSD=0",
     "NEW_DYNAREC=1"
    ],
    "make-install-args": [
     "SHAREDIR=/app/share/mupen64plus",
     "PREFIX=/app",
     "VULKAN=0",
     "OSD=0",
     "NEW_DYNAREC=1"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/mupen64plus/mupen64plus-core/releases/download/2.6.0/mupen64plus-core-src-2.6.0.tar.gz",
      "sha256": "7f79f7f56b94dfa09c8f0dc95720cdffc07c722457e18f46ec8adbbb3505d21f"
     },
     {
      "type": "shell",
      "commands": [
       "sed -i '321,324d;315d' projects/unix/Makefile"
      ]
     }
    ]
   },
   {
    "name": "mupen64plus-rsp-hle",
    "buildsystem": "autotools",
    "subdir": "projects/unix",
    "no-autogen": true,
    "make-args": [
     "APIDIR=/app/include/mupen64plus"
    ],
    "make-install-args": [
     "PREFIX=/app",
     "APIDIR=/app/include/mupen64plus"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/mupen64plus/mupen64plus-rsp-hle/releases/download/2.6.0/mupen64plus-rsp-hle-src-2.6.0.tar.gz",
      "sha256": "8501b97315db80c7f200ee79c5ce34203c5d1e0c61f93f538263fc83f8464a7f"
     }
    ]
   },
   {
    "name": "mupen64plus-input-sdl",
    "buildsystem": "autotools",
    "subdir": "projects/unix",
    "no-autogen": true,
    "make-args": [
     "APIDIR=/app/include/mupen64plus"
    ],
    "make-install-args": [
     "PREFIX=/app",
     "APIDIR=/app/include/mupen64plus"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/mupen64plus/mupen64plus-input-sdl/releases/download/2.6.0/mupen64plus-input-sdl-src-2.6.0.tar.gz",
      "sha256": "3b8629f72bb137fd2bdb9a6cc29ad270c3877f3d40e1f9dae89db24dde0425e4"
     }
    ]
   },
   {
    "name": "mupen64plus-audio-sdl",
    "buildsystem": "autotools",
    "subdir": "projects/unix",
    "no-autogen": true,
    "make-args": [
     "APIDIR=/app/include/mupen64plus"
    ],
    "make-install-args": [
     "PREFIX=/app",
     "APIDIR=/app/include/mupen64plus"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/mupen64plus/mupen64plus-audio-sdl/releases/download/2.6.0/mupen64plus-audio-sdl-src-2.6.0.tar.gz",
      "sha256": "8840434b641fd600f9f79911bba279f284a53eb8e746d83372a7692ba8dac95c"
     }
    ]
   },
   {
    "name": "mupen64plus-video-rice",
    "buildsystem": "autotools",
    "subdir": "projects/unix",
    "no-autogen": true,
    "make-args": [
     "APIDIR=/app/include/mupen64plus",
     "NO_ASM=1"
    ],
    "make-install-args": [
     "PREFIX=/app",
     "APIDIR=/app/include/mupen64plus",
     "NO_ASM=1"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/mupen64plus/mupen64plus-video-rice/releases/download/2.6.0/mupen64plus-video-rice-src-2.6.0.tar.gz",
      "sha256": "19f947d858f66aec41a99c0430bd41d6a2dff569be324d13156bd78fb89eadc4"
     }
    ]
   },
   {
    "name": "mupen64plus-video-GLideN64",
    "buildsystem": "cmake-ninja",
    "subdir": "src",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release",
     "-DMUPENPLUSAPI=On",
     "-DUSE_SYSTEM_LIBS=On"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/gonetz/GLideN64/archive/f4b0755e2722d59fe1c20d7e470f7b8929dcae85.tar.gz",
      "sha256": "738ed313ce93f3faca15420cf45549fb51e683e6ab1c2dcd91e42ead1eed8a89"
     }
    ]
   },
   {
    "name": "unrar",
    "buildsystem": "autotools",
    "no-autogen": true,
    "make-install-args": [
     "DESTDIR=/app"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://www.rarlab.com/rar/unrarsrc-7.0.9.tar.gz",
      "sha256": "505c13f9e4c54c01546f2e29b2fcc2d7fabc856a060b81e5cdfe6012a9198326"
     }
    ]
   },
   {
    "name": "pylzma",
    "buildsystem": "simple",
    "build-options": {
     "cflags": "-Wno-int-conversion"
    },
    "build-commands": [
     "python3 -m pip install --no-index --prefix=/app --no-build-isolation ."
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/fancycode/pylzma/archive/c453db0b37640c573be05b9fcab0ceda93602476.tar.gz",
      "sha256": "94e2a50d888d4ae0c9edcd020193b4407044e27d8dd2e7c716c5f39994b4b9d9"
     }
    ]
   },
   {
    "name": "pysdl2",
    "buildsystem": "simple",
    "build-commands": [
     "python3 -m pip install --no-index --prefix=/app --no-build-isolation ."
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/py-sdl/py-sdl2/archive/refs/tags/0.9.17.tar.gz",
      "sha256": "f3ae2232075271d997502f6c90a0c41778296248d86b6780623dc3d88efdde0f"
     }
    ]
   },
   {
    "name": "m64py",
    "buildsystem": "simple",
    "build-commands": [
     "python3 -m pip install --no-index --prefix=/app --no-build-isolation ."
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/mupen64plus/mupen64plus-ui-python/releases/download/0.3.0/m64py-0.3.0-bundle.tar.gz",
      "sha256": "4eafdebd8802c9fb74fbebe6b2197eda152ca0fb76f9851d5c8ba313c2ffd831"
     }
    ]
   }
  ]
 }
}