{
 "app_id": "io.github.lxndr.gswatcher",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.lxndr.gswatcher/master/io.github.lxndr.gswatcher.yml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--device=dri"
 ],
 "module_count": 6,
 "fetched_at": "2026-09-17T16:11:36.588886+00:00",
 "manifest": {
  "app-id": "io.github.lxndr.gswatcher",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "command": "gswatcher",
  "finish-args": [
   "--device=dri",
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--share=network",
   "--env=GSW_GAME_ICONS_DIR=/app/extra/nonfree-icons/games"
  ],
  "cleanup": [
   "/bin/geoiplookup",
   "/bin/geoiplookup6",
   "/include",
   "/lib/lua",
   "/lib/pkgconfig",
   "/share/lua",
   "/share/man",
   "*.la",
   "*.a"
  ],
  "modules": [
   "shared-modules/lua5.4/lua-5.4.json",
   {
    "name": "geoip",
    "buildsystem": "autotools",
    "post-install": [
     "gzip -d GeoIPCity.dat.gz",
     "install -d $FLATPAK_DEST/share/GeoIP",
     "install -m644 -t $FLATPAK_DEST/share/GeoIP GeoIPCity.dat"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/maxmind/geoip-api-c/archive/v1.6.12.tar.gz",
      "sha256": "99b119f8e21e94f1dfd6d49fbeed29a70df1544896e76cd456f25e397b07d476"
     },
     {
      "type": "file",
      "url": "https://sources.archlinux.org/other/packages/geoip-database/20260128/GeoIPCity.dat.gz",
      "sha256": "880571cc5f5457d8cc6abe1f4c83001b0803cdb9e33d034ebbbb0f7a9ba50ff2"
     }
    ]
   },
   {
    "name": "imagemagick",
    "config-opts": [
     "--disable-static",
     "--disable-docs",
     "--without-perl",
     "--without-x",
     "--without-magick-plus-plus"
    ],
    "cleanup": [
     "*"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/ImageMagick/ImageMagick",
      "tag": "7.1.2-25",
      "commit": "04a04eaaa22f721f204c4bf4c6b24b08b1afe5c5"
     }
    ]
   },
   {
    "name": "iso-flag-png",
    "buildsystem": "simple",
    "build-commands": [
     "cp -r usr/share $FLATPAK_DEST"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "http://packages.linuxmint.com/pool/main/f/flags/flags_1.0.4.tar.xz",
      "sha256": "594f22f076d8e34ca5730d3a4cb5e76d6dc2828b633cd2ea090fc0e0c5786993"
     }
    ]
   },
   {
    "name": "gswatcher",
    "buildsystem": "meson",
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/lxndr/gswatcher",
      "commit": "ad04202ca97c065e1a7c8edbcaf508401565e729"
     }
    ]
   },
   {
    "name": "nonfree-icons",
    "buildsystem": "simple",
    "build-commands": [
     "install apply_extra ${FLATPAK_DEST}/bin"
    ],
    "sources": [
     {
      "type": "extra-data",
      "url": "https://github.com/lxndr/gswatcher-nonfree-icons/releases/download/v1.7.1/nonfree-icons.tar.gz",
      "filename": "nonfree-icons.tar.gz",
      "sha256": "93b624962da89c1d8462eb415c7f8e19d7f0cd666a4bca180c7c52a6c39eeed0",
      "size": 31795,
      "installed-size": 33469
     },
     {
      "type": "script",
      "dest-filename": "apply_extra",
      "commands": [
       "tar -xf nonfree-icons.tar.gz",
       "rm nonfree-icons.tar.gz"
      ]
     }
    ]
   }
  ]
 }
}