{
 "app_id": "io.github.arunsivaramanneo.GPUViewer",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.arunsivaramanneo.GPUViewer/master/io.github.arunsivaramanneo.GPUViewer.yml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=x11",
  "--device=dri"
 ],
 "module_count": 14,
 "fetched_at": "2026-09-17T16:10:40.328964+00:00",
 "manifest": {
  "id": "io.github.arunsivaramanneo.GPUViewer",
  "runtime": "org.gnome.Platform",
  "sdk": "org.gnome.Sdk",
  "runtime-version": "50",
  "finish-args": [
   "--device=dri",
   "--share=ipc",
   "--socket=x11"
  ],
  "command": "gpu-viewer",
  "cleanup": [
   "/include",
   "/lib/cmake",
   "/lib/pkgconfig",
   "*.a",
   "*.la"
  ],
  "modules": [
   {
    "name": "gpu-viewer",
    "buildsystem": "meson",
    "post-install": [
     "desktop-file-edit --set-key=Version --set-value=1.4 /app/share/applications/${FLATPAK_ID}.desktop",
     "python -m compileall /app/share/gpu-viewer/Files",
     "install -Dm644 ../io.github.arunsivaramanneo.GPUViewer.metainfo.xml /app/share/metainfo/io.github.arunsivaramanneo.GPUViewer.metainfo.xml"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/arunsivaramanneo/GPU-Viewer/archive/v4.00/GPU-Viewer-4.00.tar.gz",
      "sha256": "c31a6bf4ed0fe5049f980b02545c821761dcd484844f2be742c20e607bbc8857",
      "x-checker-data": {
       "is-main-source": true,
       "type": "json",
       "url": "https://api.github.com/repos/arunsivaramanneo/GPU-Viewer/releases/latest",
       "version-query": ".tag_name | sub(\"^v\"; \"\")",
       "url-query": ".tarball_url"
      }
     },
     {
      "type": "file",
      "path": "io.github.arunsivaramanneo.GPUViewer.metainfo.xml"
     }
    ],
    "modules": [
     {
      "name": "vulkan-tools",
      "buildsystem": "cmake-ninja",
      "config-opts": [
       "-DGLSLANG_INSTALL_DIR=/app",
       "-DVULKAN_HEADERS_INSTALL_DIR=/app",
       "-DCMAKE_BUILD_TYPE=Release"
      ],
      "sources": [
       {
        "type": "archive",
        "url": "https://github.com/KhronosGroup/Vulkan-Tools/archive/v1.4.361/Vulkan-Tools-1.4.361.tar.gz",
        "sha256": "76b6e50b5f2c5eaa653d92fb34491a2ecc30d892d6906277c2cbfc0c4f51a505"
       }
      ],
      "modules": [
       {
        "name": "volk",
        "buildsystem": "cmake-ninja",
        "config-opts": [
         "-DVOLK_INSTALL=ON"
        ],
        "sources": [
         {
          "type": "archive",
          "url": "https://github.com/zeux/volk/archive/vulkan-sdk-1.4.350.0.tar.gz",
          "sha256": "a04f26f76e9a4f9acf936bd2c159f5c4c8348f8ebaf118ff72ba6a9637ad3e80"
         }
        ],
        "modules": [
         {
          "name": "vulkan-headers",
          "buildsystem": "cmake-ninja",
          "sources": [
           {
            "type": "archive",
            "url": "https://github.com/KhronosGroup/Vulkan-Headers/archive/v1.4.361/Vulkan-Headers-v1.4.361.tar.gz",
            "sha256": "dbcb3607bd4e2aee006bb92c056453ca4ed2c32fa19d1acd36448618e5516224"
           }
          ]
         }
        ]
       }
      ]
     },
     {
      "name": "mesa-demos",
      "buildsystem": "meson",
      "config-opts": [
       "--bindir=/app/lib/mesa-demos",
       "-Dosmesa=disabled"
      ],
      "post-install": [
       "mv -v /app/lib/mesa-demos/*info /app/bin/"
      ],
      "sources": [
       {
        "type": "archive",
        "url": "https://mesa.freedesktop.org/archive/demos/mesa-demos-9.0.0.tar.xz",
        "sha256": "3046a3d26a7b051af7ebdd257a5f23bfeb160cad6ed952329cdff1e9f1ed496b"
       }
      ],
      "cleanup": [
       "/lib/mesa-demos"
      ],
      "modules": [
       "shared-modules/glew/glew.json",
       "shared-modules/glu/glu-9.json"
      ]
     },
     {
      "name": "clinfo",
      "no-autogen": true,
      "no-make-install": true,
      "build-commands": [
       "install -Dm755 -t /app/bin/ clinfo"
      ],
      "sources": [
       {
        "type": "archive",
        "url": "https://github.com/Oblomov/clinfo/archive/3.0.25.02.14/clinfo-3.0.25.02.14.tar.gz",
        "sha256": "48b77dc33315e6f760791a2984f98ea4bff28504ff37d460d8291585f49fcd3a",
        "x-checker-data": {
         "type": "anitya",
         "project-id": 10503,
         "stable-only": true,
         "url-template": "https://github.com/Oblomov/clinfo/archive/$version/clinfo-$version.tar.gz"
        }
       }
      ],
      "modules": [
       {
        "name": "opencl-headers",
        "buildsystem": "cmake-ninja",
        "config-opts": [
         "-DCMAKE_INSTALL_DATADIR=/app/lib"
        ],
        "sources": [
         {
          "type": "archive",
          "url": "https://github.com/KhronosGroup/OpenCL-Headers/archive/v2025.07.22/OpenCL-Headers-v2025.07.22.tar.gz",
          "sha256": "98f0a3ea26b4aec051e533cb1750db2998ab8e82eda97269ed6efe66ec94a240",
          "x-checker-data": {
           "type": "anitya",
           "project-id": 223257,
           "stable-only": true,
           "url-template": "https://github.com/KhronosGroup/OpenCL-Headers/archive/v$version/OpenCL-Headers-v$version.tar.gz"
          }
         }
        ]
       }
      ]
     },
     {
      "name": "pygobject",
      "buildsystem": "meson",
      "sources": [
       {
        "type": "archive",
        "url": "https://gitlab.gnome.org/GNOME/pygobject/-/archive/3.50.0/pygobject-3.50.0.tar.gz",
        "sha256": "7ffce2399b25e743acf868c9eacd38800ad6fb78bf7409cee2ea87c20e5cc8ce",
        "x-checker-data": {
         "type": "anitya",
         "project-id": 13158,
         "stable-only": true,
         "url-template": "https://gitlab.gnome.org/GNOME/pygobject/-/archive/$version/pygobject-$version.tar.gz"
        }
       }
      ],
      "modules": [
       {
        "name": "pycairo",
        "buildsystem": "meson",
        "sources": [
         {
          "type": "archive",
          "url": "https://github.com/pygobject/pycairo/archive/v1.28.0/pycairo-v1.28.0.tar.gz",
          "sha256": "e7e1a487820467a174512633f3ec4c49d567041e40f2d0135d14679045b054e9",
          "x-checker-data": {
           "type": "anitya",
           "project-id": 13166,
           "stable-only": true,
           "url-template": "https://github.com/pygobject/pycairo/archive/v$version/pycairo-v$version.tar.gz"
          }
         }
        ]
       }
      ]
     },
     {
      "name": "python-click",
      "buildsystem": "simple",
      "build-commands": [
       "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"click\" --no-build-isolation"
      ],
      "sources": [
       {
        "type": "file",
        "url": "https://files.pythonhosted.org/packages/96/d3/f04c7bfcf5c1862a2a5b845c6b2b360488cf47af55dfa79c98f6a6bf98b5/click-8.1.7.tar.gz",
        "sha256": "ca9853ad459e787e2192211578cc907e7594e294c7ccc834310722b41b9ca6de",
        "x-checker-data": {
         "type": "pypi",
         "name": "click"
        }
       }
      ]
     },
     {
      "name": "vdpauinfo",
      "sources": [
       {
        "type": "archive",
        "url": "https://gitlab.freedesktop.org/vdpau/vdpauinfo/-/archive/1.5/vdpauinfo-1.5.tar.gz",
        "sha256": "1878d54f6732d02cedef8eabe77e23fc2239b4ec202612403a383f4140a17bc3",
        "x-checker-data": {
         "type": "anitya",
         "project-id": 16031,
         "stable-only": true,
         "url-template": "https://gitlab.freedesktop.org/vdpau/vdpauinfo/-/archive/$version/vdpauinfo-$version.tar.gz"
        }
       }
      ]
     },
     {
      "name": "lsb-release-compat",
      "buildsystem": "simple",
      "build-commands": [
       "make install PREFIX=/app"
      ],
      "sources": [
       {
        "type": "git",
        "url": "https://gitlab.com/nanonyme/lsb-release-compat.git",
        "commit": "f4f908b62dcc9cd081eb2a42b6ad7cf98db4bb10"
       }
      ]
     }
    ]
   }
  ]
 }
}