{
 "app_id": "com.inventwithpython.flippy",
 "source_url": "https://raw.githubusercontent.com/flathub/com.inventwithpython.flippy/master/com.inventwithpython.flippy.json",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "26.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--device=dri"
 ],
 "module_count": 8,
 "fetched_at": "2026-09-17T16:08:06.636847+00:00",
 "manifest": {
  "id": "com.inventwithpython.flippy",
  "runtime": "org.freedesktop.Platform",
  "sdk": "org.freedesktop.Sdk",
  "runtime-version": "26.08",
  "command": "flippy",
  "finish-args": [
   "--socket=wayland",
   "--socket=fallback-x11",
   "--share=ipc",
   "--device=dri"
  ],
  "modules": [
   "shared-modules/SDL2/SDL2_ttf.json",
   "shared-modules/SDL2/SDL2_image.json",
   "shared-modules/SDL2/SDL2_mixer.json",
   {
    "name": "portmidi",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release",
     "-DCMAKE_LIBRARY_OUTPUT_DIRECTORY:STRING=/app/lib",
     "-DCMAKE_ARCHIVE_OUTPUT_DIRECTORY:STRING=/app/lib",
     "-DCMAKE_RUNTIME_OUTPUT_DIRECTORY:STRING=/app/bin"
    ],
    "cleanup": [
     "/include",
     "/lib/pkgconfig",
     "/share/man",
     "*.la",
     "*.a"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/PortMidi/portmidi/archive/refs/tags/v2.0.8.tar.gz",
      "sha256": "f21201d4cc233638d7bb6ee29ee6dece54f6c9c1aeb7989bc978001caaf2f666"
     }
    ]
   },
   "python3-meson-python.json",
   {
    "name": "pygame",
    "buildsystem": "simple",
    "build-commands": [
     "pip install -v --no-build-isolation --prefix=/app --root=/ ."
    ],
    "cleanup": [
     "/include",
     "/lib/pkgconfig",
     "/share/man",
     "*.la",
     "*.a"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://files.pythonhosted.org/packages/26/2d/0f942ec31d558a6a1f2fd0df9965ff0055f165ed5b8d36f6509b1f3768a2/pygame_ce-2.5.8.tar.gz",
      "sha256": "3c8e69088ead310037972c391306ea58e74d7296b35d1890067749235fd554ba"
     }
    ]
   },
   {
    "name": "flippy",
    "buildsystem": "simple",
    "sources": [
     {
      "type": "archive",
      "url": "http://invpy.com/flippyimages.zip",
      "sha256": "09ca8543237b42b152e5256e7c996cbff9ca124534abba0cd915fa1c11fe2af2"
     }
    ],
    "build-commands": [
     "install -Dt /app/share/flippy/ *"
    ]
   },
   {
    "name": "flippy-launcher",
    "buildsystem": "simple",
    "sources": [
     {
      "type": "file",
      "path": "launch.py"
     },
     {
      "type": "file",
      "path": "icon_48.png"
     },
     {
      "type": "file",
      "path": "icon_64.png"
     },
     {
      "type": "file",
      "path": "icon_128.png"
     },
     {
      "type": "file",
      "path": "com.inventwithpython.flippy.appdata.xml"
     },
     {
      "type": "file",
      "path": "com.inventwithpython.flippy.desktop"
     }
    ],
    "build-commands": [
     "install -TD launch.py /app/bin/flippy",
     "for size in 48 64 128; do install -TD icon_${size}.png /app/share/icons/hicolor/${size}x${size}/apps/com.inventwithpython.flippy.png; done",
     "install -Dt /app/share/appdata com.inventwithpython.flippy.appdata.xml ",
     "install -Dt /app/share/applications com.inventwithpython.flippy.desktop"
    ]
   }
  ]
 }
}