{
 "app_id": "com.github.stardot.b-em",
 "source_url": "https://raw.githubusercontent.com/egrath/Flatpaks/master/b-em/com.github.stardot.b-em.json",
 "runtime": "org.gnome.Platform",
 "runtime_version": "42",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--device=dri",
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=pulseaudio",
  "--filesystem=home"
 ],
 "module_count": 3,
 "fetched_at": "2026-09-17T18:05:30.270157+00:00",
 "manifest": {
  "app-id": "com.github.stardot.b-em",
  "branch": "master",
  "runtime": "org.gnome.Platform",
  "runtime-version": "42",
  "sdk": "org.gnome.Sdk",
  "finish-args": [
   "--device=dri",
   "--share=ipc",
   "--socket=x11",
   "--socket=wayland",
   "--socket=pulseaudio",
   "--filesystem=home"
  ],
  "command": "b-em",
  "cleanup": [
   "/include",
   "/lib/pkgconfig",
   "/share/aclocal",
   "/share/man",
   "*.la",
   "*.a"
  ],
  "build-options": {
   "strip": true,
   "no-debuginfo": true
  },
  "modules": [
   {
    "name": "allegro",
    "buildsystem": "cmake",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/liballeg/allegro5/releases/download/5.2.8.0/allegro-5.2.8.0.tar.gz",
      "sha512": "e7dcfe92646a571929d47c268f0f3844afd67a0396ea0d532908e33e39661c9c5dc7929cc01d622804c068c3aa0e4c394972d128072617457fcabe5ef6a8e5f3"
     }
    ]
   },
   {
    "name": "b-em",
    "buildsystem": "autotools",
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/stardot/b-em",
      "branch": "master"
     }
    ]
   },
   {
    "name": "b-em-desktop-integration",
    "buildsystem": "simple",
    "build-commands": [
     "echo Installing desktop integration files"
    ],
    "sources": [
     {
      "type": "file",
      "path": "com.github.stardot.b-em.desktop"
     },
     {
      "type": "file",
      "path": "com.github.stardot.b-em.png"
     }
    ],
    "post-install": [
     "install -Dm644 ${FLATPAK_ID}.desktop ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop",
     "install -Dm644 ${FLATPAK_ID}.png ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.png",
     "desktop-file-edit --set-key=Icon --set-value=${FLATPAK_ID} ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop"
    ]
   }
  ]
 }
}