{
 "app_id": "io.github.dlommm.GSBS",
 "source_url": "https://raw.githubusercontent.com/dlommm/GSBS-Game-Sync-Backup-Service/main/flatpak/io.github.dlommm.GSBS.yaml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "24.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=network",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--device=dri",
  "--talk-name=org.kde.StatusNotifierWatcher",
  "--talk-name=org.freedesktop.Notifications",
  "--talk-name=org.freedesktop.portal.Background",
  "--talk-name=org.freedesktop.portal.Flatpak",
  "--talk-name=org.freedesktop.secrets",
  "--filesystem=home",
  "--filesystem=xdg-data/Steam:create",
  "--filesystem=~/.var/app/com.valvesoftware.Steam",
  "--filesystem=~/.var/app/com.heroicgameslauncher.hgl",
  "--filesystem=~/.var/app/net.lutris.Lutris",
  "--filesystem=~/.var/app/com.usebottles.bottles",
  "--filesystem=/run/media"
 ],
 "module_count": 1,
 "fetched_at": "2026-10-05T15:58:20.075452+00:00",
 "manifest": {
  "app-id": "io.github.dlommm.GSBS",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "24.08",
  "sdk": "org.freedesktop.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.golang"
  ],
  "command": "gsbs-client",
  "build-options": {
   "append-path": "/usr/lib/sdk/golang/bin",
   "env": {
    "GOFLAGS": "-mod=vendor",
    "GOTOOLCHAIN": "local",
    "CGO_ENABLED": "0",
    "GSBS_VERSION": "0.0.0-dev",
    "GSBS_BUILD_DATE": "",
    "GSBS_COMMIT": ""
   }
  },
  "finish-args": [
   "--share=network",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--device=dri",
   "--talk-name=org.kde.StatusNotifierWatcher",
   "--talk-name=org.freedesktop.Notifications",
   "--talk-name=org.freedesktop.portal.Background",
   "--talk-name=org.freedesktop.portal.Flatpak",
   "--talk-name=org.freedesktop.secrets",
   "--filesystem=home",
   "--filesystem=xdg-data/Steam:create",
   "--filesystem=~/.var/app/com.valvesoftware.Steam",
   "--filesystem=~/.var/app/com.heroicgameslauncher.hgl",
   "--filesystem=~/.var/app/net.lutris.Lutris",
   "--filesystem=~/.var/app/com.usebottles.bottles",
   "--filesystem=/run/media"
  ],
  "modules": [
   {
    "name": "gsbs-client",
    "buildsystem": "simple",
    "build-commands": [
     "go build -mod=vendor -trimpath -ldflags \\\n  \"-s -w -X main.Version=${GSBS_VERSION} -X main.BuildDate=${GSBS_BUILD_DATE} -X main.Commit=${GSBS_COMMIT}\" \\\n  -o gsbs-client ./client\n",
     "install -Dm755 gsbs-client /app/bin/gsbs-client",
     "install -Dm644 flatpak/io.github.dlommm.GSBS.desktop /app/share/applications/io.github.dlommm.GSBS.desktop",
     "install -Dm644 flatpak/io.github.dlommm.GSBS.metainfo.xml /app/share/metainfo/io.github.dlommm.GSBS.metainfo.xml",
     "for s in 16 32 48 64 128 256 512; do\n  install -Dm644 \"flatpak/icons/${s}x${s}/io.github.dlommm.GSBS.png\" \\\n    \"/app/share/icons/hicolor/${s}x${s}/apps/io.github.dlommm.GSBS.png\"\ndone\n"
    ],
    "sources": [
     {
      "type": "dir",
      "path": "..",
      "skip": [
       ".git",
       ".flatpak-builder",
       "flatpak/build-dir",
       "flatpak/repo",
       "dist",
       "node_modules"
      ]
     }
    ]
   }
  ]
 }
}