{
 "app_id": "io.github.sharkwouter.Minigalaxy",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.sharkwouter.Minigalaxy/master/io.github.sharkwouter.Minigalaxy.yaml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "48",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=pulseaudio",
  "--device=all",
  "--filesystem=~/GOG Games:create",
  "--allow=multiarch"
 ],
 "module_count": 10,
 "fetched_at": "2026-09-20T15:26:21.072237+00:00",
 "manifest": {
  "app-id": "io.github.sharkwouter.Minigalaxy",
  "runtime": "org.gnome.Platform",
  "runtime-version": "48",
  "sdk": "org.gnome.Sdk",
  "sdk-extensions": [
   "org.gnome.Sdk.Compat.i386",
   "org.freedesktop.Sdk.Extension.toolchain-i386"
  ],
  "base": "org.winehq.Wine",
  "base-version": "stable-24.08",
  "cleanup": [
   "/*/cmake",
   "/*/pkgconfig",
   "/include",
   "/lib*/*.a",
   "/lib*/*.la",
   "/man",
   "/share/doc",
   "/share/man"
  ],
  "cleanup-commands": [
   "mkdir -p ${FLATPAK_DEST}/lib{,32}/"
  ],
  "inherit-extensions": [
   "org.freedesktop.Platform.Compat.i386",
   "org.freedesktop.Platform.ffmpeg_full.i386",
   "org.freedesktop.Platform.ffmpeg-full",
   "org.freedesktop.Platform.GL32",
   "org.winehq.Wine.gecko",
   "org.winehq.Wine.mono"
  ],
  "add-extensions": {
   "org.gnome.Platform.Compat.i386": {
    "directory": "lib/i386-linux-gnu",
    "version": "48"
   },
   "org.gnome.Platform.Compat.i386.Debug": {
    "directory": "lib/debug/lib/i386-linux-gnu",
    "version": "48",
    "no-autodownload": true
   }
  },
  "command": "minigalaxy",
  "finish-args": [
   "--allow=multiarch",
   "--device=all",
   "--env=GST_PLUGIN_SYSTEM_PATH=/app/lib32/gstreamer-1.0:/app/lib/gstreamer-1.0:/usr/lib/i386-linux-gnu/gstreamer-1.0:/usr/lib/x86_64-linux-gnu/gstreamer-1.0",
   "--env=WINEDLLPATH=/app/dlls/lib32:/app/dlls/lib:/app/lib32/wine/wined3d:/app/lib/wine/wined3d",
   "--env=WINEESYNC=1",
   "--env=WINEFSYNC=1",
   "--filesystem=~/GOG Games:create",
   "--persist=.",
   "--share=ipc",
   "--share=network",
   "--socket=pulseaudio",
   "--socket=wayland",
   "--socket=x11"
  ],
  "modules": [
   {
    "name": "minigalaxy",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --no-build-isolation --no-deps . --no-index --prefix=${FLATPAK_DEST}"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/sharkwouter/minigalaxy/archive/1.4.1.tar.gz",
      "sha256": "05018f96f77cb1a78287abb9ad00fe19b2b70f42c31a5ceca7177bb9cef31c3b",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 292418,
       "url-template": "https://github.com/sharkwouter/minigalaxy/archive/$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "innoextract",
    "buildsystem": "cmake-ninja",
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/dscharrer/innoextract.git",
      "tag": "1.9",
      "commit": "81fd9b95b76ee5115ce116bfdbc3bc6b887b809d",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^([\\d.]+)$"
      }
     },
     {
      "type": "patch",
      "path": "patches/264c2fe6b84f90f6290c670e5f676660ec7b2387.patch"
     }
    ],
    "modules": [
     {
      "name": "boost",
      "buildsystem": "simple",
      "build-commands": [
       "./bootstrap.sh --prefix=$FLATPAK_DEST --with-libraries=filesystem,iostreams,date_time,system,program_options",
       "./b2 -j$FLATPAK_BUILDER_N_JOBS install variant=release cxxstd=17 --layout=system"
      ],
      "sources": [
       {
        "type": "archive",
        "url": "https://archives.boost.io/release/1.87.0/source/boost_1_87_0.tar.bz2",
        "sha256": "af57be25cb4c4f4b413ed692fe378affb4352ea50fbe294a11ef548f4d527d89",
        "x-checker-data": {
         "type": "html",
         "url": "https://www.boost.org/feed/downloads.rss",
         "version-pattern": "<link>https://www.boost.org/users/history/version_([\\d_]+).html</link>",
         "url-template": "https://archives.boost.io/release/release/$version0.$version2.$version4/source/boost_$version.tar.bz2"
        }
       }
      ]
     },
     {
      "name": "zenity",
      "buildsystem": "meson",
      "sources": [
       {
        "type": "archive",
        "url": "https://download.gnome.org/sources/zenity/4.1/zenity-4.1.90.tar.xz",
        "sha256": "bf3679c6205ff48dcebd1e1dff3a3a4a6a0b3a53e1cbc3b098a9ec0b62bd7236"
       }
      ]
     }
    ]
   },
   {
    "name": "bundle-setup",
    "buildsystem": "simple",
    "build-commands": [
     "mkdir -p /app{,/lib/debug}/lib/i386-linux-gnu",
     "install -D -m 0644 ld.so.conf -t /app/etc"
    ],
    "sources": [
     {
      "type": "file",
      "path": "ld.so.conf"
     }
    ]
   },
   "generated/shared-modules.json",
   "generated/libs.json",
   "generated/pypi-dependencies.json",
   "addons/dosbox-staging.json",
   "addons/scummvm.json"
  ]
 }
}