{
 "app_id": "io.github.d2phap.imageglass",
 "source_url": "https://raw.githubusercontent.com/d2phap/ImageGlass/develop/source/__assets/linux/flatpak/io.github.d2phap.imageglass.yaml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--socket=x11",
  "--share=ipc",
  "--share=network",
  "--device=dri",
  "--filesystem=host",
  "--socket=cups",
  "--socket=pulseaudio",
  "--talk-name=org.freedesktop.FileManager1",
  "--talk-name=org.freedesktop.ScreenSaver",
  "--talk-name=org.freedesktop.Flatpak"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-20T13:03:47.337447+00:00",
 "manifest": {
  "app-id": "io.github.d2phap.imageglass",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "imageglass",
  "finish-args": [
   "--socket=x11",
   "--share=ipc",
   "--share=network",
   "--device=dri",
   "--filesystem=host",
   "--socket=cups",
   "--socket=pulseaudio",
   "--talk-name=org.freedesktop.FileManager1",
   "--talk-name=org.freedesktop.ScreenSaver",
   "--talk-name=org.freedesktop.Flatpak"
  ],
  "modules": [
   {
    "name": "imageglass",
    "buildsystem": "simple",
    "build-commands": [
     "install -d ${FLATPAK_DEST}/imageglass",
     "cp -a payload/. ${FLATPAK_DEST}/imageglass/",
     "chmod +x ${FLATPAK_DEST}/imageglass/ImageGlass",
     "install -d ${FLATPAK_DEST}/bin",
     "ln -s ../imageglass/ImageGlass ${FLATPAK_DEST}/bin/imageglass",
     "install -Dm644 io.github.d2phap.imageglass.desktop ${FLATPAK_DEST}/share/applications/io.github.d2phap.imageglass.desktop",
     "install -Dm644 io.github.d2phap.imageglass.metainfo.xml ${FLATPAK_DEST}/share/metainfo/io.github.d2phap.imageglass.metainfo.xml",
     "install -Dm644 io.github.d2phap.imageglass.svg ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/io.github.d2phap.imageglass.svg",
     "install -Dm644 io.github.d2phap.imageglass.png ${FLATPAK_DEST}/share/icons/hicolor/512x512/apps/io.github.d2phap.imageglass.png"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/d2phap/ImageGlass/releases/download/10.0.6.906/ImageGlass_10.0.6.906_linux-x64.tar.gz",
      "sha256": "fe75dc8bed701a3dd454494ebd2e03d0c412601d635c52f087a0c197456088dc",
      "strip-components": 1,
      "dest": "payload"
     },
     {
      "type": "file",
      "path": "io.github.d2phap.imageglass.desktop"
     },
     {
      "type": "file",
      "path": "io.github.d2phap.imageglass.metainfo.xml"
     },
     {
      "type": "file",
      "path": "io.github.d2phap.imageglass.svg"
     },
     {
      "type": "file",
      "path": "io.github.d2phap.imageglass.png"
     }
    ]
   }
  ]
 }
}