{
 "app_id": "org.frozen_bubble.frozen-bubble",
 "source_url": "https://raw.githubusercontent.com/flathub/org.frozen_bubble.frozen-bubble/master/org.frozen_bubble.frozen-bubble.json",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "26.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=pulseaudio",
  "--socket=x11",
  "--device=dri"
 ],
 "module_count": 24,
 "fetched_at": "2026-09-17T16:14:41.585517+00:00",
 "manifest": {
  "id": "org.frozen_bubble.frozen-bubble",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "26.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "frozen-bubble",
  "rename-icon": "frozen-bubble",
  "rename-desktop-file": "frozen-bubble.desktop",
  "rename-appdata-file": "frozen-bubble.appdata.xml",
  "finish-args": [
   "--device=dri",
   "--persist=.frozen-bubble",
   "--share=ipc",
   "--share=network",
   "--socket=x11",
   "--socket=pulseaudio"
  ],
  "cleanup": [
   "/include",
   "/lib/pkgconfig",
   "/share/aclocal",
   "/share/man",
   "*.la",
   "*.a"
  ],
  "modules": [
   {
    "name": "perl",
    "cleanup": [
     "*.pod",
     "/bin/perl5.36.0",
     "/bin/c2ph",
     "/bin/corelist",
     "/bin/cpan",
     "/bin/enc2xs",
     "/bin/encguess",
     "/bin/h2*",
     "/bin/instmodsh",
     "/bin/json_pp",
     "/bin/libnetcfg",
     "/bin/perlbug",
     "/bin/perldoc",
     "/bin/perlthanks",
     "/bin/piconv",
     "/bin/pl2pm",
     "/bin/pod*",
     "/bin/prove",
     "/bin/pstruct",
     "/bin/ptar*",
     "/bin/shasum",
     "/bin/splain",
     "/bin/xsubpp",
     "/bin/zipdetails"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://www.cpan.org/src/5.0/perl-5.38.5.tar.gz",
      "sha256": "b7667d3ff309068852af7853910aaccec26c839d717402121b664ac705e07bfe"
     },
     {
      "type": "script",
      "dest-filename": "configure",
      "commands": [
       "./Configure -des -Dprefix=/app"
      ]
     }
    ],
    "post-install": [
     "find /app/lib/perl5 -type f -exec chmod u+w {} \\;"
    ]
   },
   {
    "name": "perl-module-build",
    "no-autogen": true,
    "sources": [
     {
      "type": "archive",
      "url": "https://cpan.metacpan.org/authors/id/L/LE/LEONT/Module-Build-0.4220.tar.gz",
      "sha256": "fb1207c7e799366f7a8adda3f135bf8141c4d6068505650d4db2b2d3ce34b5a2"
     },
     {
      "type": "file",
      "path": "perl-BuildPL-Makefile",
      "dest-filename": "Makefile"
     }
    ]
   },
   {
    "name": "perl-file-which",
    "cleanup": [
     "/bin"
    ],
    "no-autogen": true,
    "sources": [
     {
      "type": "archive",
      "url": "https://search.cpan.org/CPAN/authors/id/P/PE/PEREINAR/File-Which-0.05.tar.gz",
      "sha256": "ee85f83119c7a5952c2a44a0183ea5c0809e98129a3473ee36cdf2227c836765"
     },
     {
      "type": "file",
      "path": "perl-MakefilePL-Makefile",
      "dest-filename": "Makefile"
     }
    ]
   },
   {
    "name": "perl-file-sharedir",
    "no-autogen": true,
    "sources": [
     {
      "type": "archive",
      "url": "https://search.cpan.org/CPAN/authors/id/R/RE/REHSACK/File-ShareDir-1.102.tar.gz",
      "sha256": "7c7334b974882587fbd9bc135f6bc04ad197abe99e6f4761953fe9ca88c57411"
     },
     {
      "type": "file",
      "path": "perl-MakefilePL-Makefile",
      "dest-filename": "Makefile"
     }
    ]
   },
   {
    "name": "perl-class-inspector",
    "no-autogen": true,
    "sources": [
     {
      "type": "archive",
      "url": "https://search.cpan.org/CPAN/authors/id/P/PL/PLICEASE/Class-Inspector-1.32.tar.gz",
      "sha256": "cefadc8b5338e43e570bc43f583e7c98d535c17b196bcf9084bb41d561cc0535"
     },
     {
      "type": "file",
      "path": "perl-MakefilePL-Makefile",
      "dest-filename": "Makefile"
     }
    ]
   },
   {
    "name": "perl-archive-extract",
    "no-autogen": true,
    "sources": [
     {
      "type": "archive",
      "url": "https://search.cpan.org/CPAN/authors/id/B/BI/BINGOS/Archive-Extract-0.80.tar.gz",
      "sha256": "25cbc2d5626c14d39a0b5e4fe8383941e085c9a7e0aa873d86e81b6e709025f4"
     },
     {
      "type": "file",
      "path": "perl-MakefilePL-Makefile",
      "dest-filename": "Makefile"
     }
    ]
   },
   {
    "name": "perl-text-patch",
    "no-autogen": true,
    "sources": [
     {
      "type": "archive",
      "url": "https://search.cpan.org/CPAN/authors/id/C/CA/CADE/Text-Patch-1.8.tar.gz",
      "sha256": "eaf18e61ba6a3e143846a7cc66f08ce58a0c4fbda92acb31aede25cb3b5c3dcc"
     },
     {
      "type": "file",
      "path": "perl-MakefilePL-Makefile",
      "dest-filename": "Makefile"
     }
    ]
   },
   {
    "name": "perl-capture-tiny",
    "no-autogen": true,
    "sources": [
     {
      "type": "archive",
      "url": "https://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/Capture-Tiny-0.46.tar.gz",
      "sha256": "5d7a6a830cf7f2b2960bf8b8afaac16a537ede64f3023827acea5bd24ca77015"
     },
     {
      "type": "file",
      "path": "perl-MakefilePL-Makefile",
      "dest-filename": "Makefile"
     }
    ]
   },
   {
    "name": "perl-tie-simple",
    "no-autogen": true,
    "sources": [
     {
      "type": "archive",
      "url": "https://search.cpan.org/CPAN/authors/id/H/HA/HANENKAMP/Tie-Simple-1.03.tar.gz",
      "sha256": "e73dae00e00c42511154fe0e3b26a8965836f2456e1c0952c9ce22ce3d55fc23"
     },
     {
      "type": "file",
      "path": "perl-MakefilePL-Makefile",
      "dest-filename": "Makefile"
     }
    ]
   },
   {
    "name": "perl-gettext",
    "no-autogen": true,
    "sources": [
     {
      "type": "archive",
      "url": "https://search.cpan.org/CPAN/authors/id/P/PV/PVANDRY/gettext-1.05.tar.gz",
      "sha256": "27367f3dc1be79c9ed178732756e37e4cfce45f9e2a27ebf26e1f40d80124694"
     },
     {
      "type": "file",
      "path": "perl-MakefilePL-Makefile",
      "dest-filename": "Makefile"
     }
    ],
    "post-install": [
     "find /app/lib/perl5 -type f -exec chmod u+w {} \\;"
    ]
   },
   {
    "name": "perl-file-slurp",
    "no-autogen": true,
    "sources": [
     {
      "type": "archive",
      "url": "https://search.cpan.org/CPAN/authors/id/U/UR/URI/File-Slurp-9999.19.tar.gz",
      "sha256": "ce29ebe995097ebd6e9bc03284714cdfa0c46dc94f6b14a56980747ea3253643"
     },
     {
      "type": "file",
      "path": "perl-MakefilePL-Makefile",
      "dest-filename": "Makefile"
     }
    ]
   },
   {
    "name": "perl-ipc-system-simple",
    "no-autogen": true,
    "sources": [
     {
      "type": "archive",
      "url": "https://search.cpan.org/CPAN/authors/id/P/PJ/PJF/IPC-System-Simple-1.25.tar.gz",
      "sha256": "f1b6aa1dfab886e8e4ea825f46a1cbb26038ef3e727fef5d84444aa8035a4d3b"
     },
     {
      "type": "file",
      "path": "perl-MakefilePL-Makefile",
      "dest-filename": "Makefile"
     }
    ]
   },
   {
    "name": "perl-locale-maketext-lexicon",
    "no-autogen": true,
    "sources": [
     {
      "type": "archive",
      "url": "https://search.cpan.org/CPAN/authors/id/D/DR/DRTECH/Locale-Maketext-Lexicon-1.00.tar.gz",
      "sha256": "b73f6b04a58d3f0e38ebf2115a4c1532f1a4eef6fac5c6a2a449e4e14c1ddc7c"
     },
     {
      "type": "file",
      "path": "perl-MakefilePL-Makefile",
      "dest-filename": "Makefile"
     }
    ]
   },
   {
    "name": "perl-compress-bzip2",
    "no-autogen": true,
    "sources": [
     {
      "type": "archive",
      "url": "https://search.cpan.org/CPAN/authors/id/R/RU/RURBAN/Compress-Bzip2-2.25.tar.gz",
      "sha256": "1b8a470f22bdd7f7f5b22aeda6779e47f829e7af2d04110f6e8ec2e3f25b4079"
     },
     {
      "type": "file",
      "path": "perl-MakefilePL-Makefile",
      "dest-filename": "Makefile"
     }
    ],
    "post-install": [
     "find /app/lib/perl5 -type f -exec chmod u+w {} \\;"
    ]
   },
   {
    "name": "perl-archive-zip",
    "cleanup": [
     "/bin"
    ],
    "no-autogen": true,
    "sources": [
     {
      "type": "archive",
      "url": "https://search.cpan.org/CPAN/authors/id/P/PH/PHRED/Archive-Zip-1.59.tar.gz",
      "sha256": "7a4b1b0aa43ae7231bb3212e86ab6b538725625df06e82772c3da24c8b26e75d"
     },
     {
      "type": "file",
      "path": "perl-MakefilePL-Makefile",
      "dest-filename": "Makefile"
     }
    ]
   },
   "shared-modules/SDL/SDL-1.2.15.json",
   "shared-modules/smpeg/smpeg-0.4.5.json",
   "shared-modules/SDL/SDL_mixer-1.2.12.json",
   "shared-modules/SDL/SDL_ttf-2.0.11.json",
   "shared-modules/SDL/SDL_image-1.2.12.json",
   "shared-modules/SDL/SDL_pango-0.1.2.json",
   {
    "name": "perl-alien-sdl",
    "no-autogen": true,
    "cleanup": [
     "/bin"
    ],
    "make-args": [
     "BUILD_ARGS=--travis"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://search.cpan.org/CPAN/authors/id/F/FR/FROGGS/Alien-SDL-1.446.tar.gz",
      "sha256": "c9aa2c9dc3c63d89773c7d7203f2a46d1b924d0c72d9f801af147a3dc8bc512a"
     },
     {
      "type": "file",
      "path": "perl-BuildPL-Makefile",
      "dest-filename": "Makefile"
     }
    ]
   },
   {
    "name": "perl-sdl",
    "no-autogen": true,
    "build-options": {
     "cflags": "-Wno-error=implicit-function-declaration"
    },
    "sources": [
     {
      "type": "archive",
      "url": "https://search.cpan.org/CPAN/authors/id/F/FR/FROGGS/SDL-2.546.tar.gz",
      "sha256": "e08aa73550b3f8d32ced0941c3c629f01c4ba4d480fc269e57f3fa6f8df86631"
     },
     {
      "type": "file",
      "path": "perl-BuildPL-Makefile",
      "dest-filename": "Makefile"
     },
     {
      "type": "patch",
      "path": "perl-sdl-fix-gcc15.patch"
     },
     {
      "type": "patch",
      "path": "perl-sdl-implicit-declaration-fix.patch"
     }
    ],
    "post-install": [
     "find /app/lib/perl5 -type f -exec chmod u+w {} \\;"
    ]
   },
   {
    "name": "frozen-bubble",
    "no-autogen": true,
    "build-options": {
     "cflags": "-Wno-error=format-truncation -U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3"
    },
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/kthakore/frozen-bubble/archive/63d37b2fe25fa27759e0d9e051c1d712a43a8ade.tar.gz",
      "sha256": "9b33edcf3c2a1e6c090ab32c9d5a630ed542d771ee2d1fff3b7719f39b5febf0"
     },
     {
      "type": "patch",
      "path": "frozen-bubble-Check-return-value.patch"
     },
     {
      "type": "file",
      "path": "perl-BuildPL-Makefile",
      "dest-filename": "Makefile"
     },
     {
      "type": "file",
      "path": "frozen-bubble.desktop"
     },
     {
      "type": "file",
      "path": "frozen-bubble.appdata.xml"
     },
     {
      "type": "file",
      "path": "frozen-bubble.png"
     }
    ],
    "post-install": [
     "install -Dm644 frozen-bubble.appdata.xml -t /app/share/metainfo/",
     "install -Dm644 frozen-bubble.desktop -t /app/share/applications/",
     "install -Dm644 frozen-bubble.png -t /app/share/icons/hicolor/128x128/apps/",
     "find /app/lib/perl5 -type f -exec chmod u+w {} \\;",
     "chmod u+w $FLATPAK_DEST/bin/fb-server",
     "chmod u+w $FLATPAK_DEST/bin/frozen-bubble*"
    ]
   }
  ]
 }
}