{
 "app_id": "com.kgurgul.cpuinfo",
 "source_url": "https://raw.githubusercontent.com/flathub/com.kgurgul.cpuinfo/master/com.kgurgul.cpuinfo.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--socket=ssh-auth",
  "--device=all"
 ],
 "module_count": 2,
 "fetched_at": "2026-09-17T16:08:12.246870+00:00",
 "manifest": {
  "app-id": "com.kgurgul.cpuinfo",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.openjdk17"
  ],
  "command": "cpuinfo",
  "finish-args": [
   "--socket=x11",
   "--share=ipc",
   "--share=network",
   "--device=all",
   "--socket=ssh-auth"
  ],
  "modules": [
   {
    "name": "openjdk",
    "buildsystem": "simple",
    "build-commands": [
     "/usr/lib/sdk/openjdk17/install.sh"
    ]
   },
   {
    "name": "cpuinfo",
    "buildsystem": "simple",
    "build-commands": [
     "install -D cpuinfo.sh /app/bin/cpuinfo",
     "install -D cpuinfo.jar /app/share/cpuinfo.jar",
     "install -Dm644 desktopApp/stores/flatpak/${FLATPAK_ID}.desktop -t /app/share/applications/",
     "install -Dm644 desktopApp/stores/flatpak/${FLATPAK_ID}.metainfo.xml -t /app/share/metainfo/",
     "install -Dm644 desktopApp/desktop-icons/icon-linux.png /app/share/icons/hicolor/256x256/apps/${FLATPAK_ID}.png"
    ],
    "sources": [
     {
      "type": "file",
      "path": "cpuinfo.sh"
     },
     {
      "type": "file",
      "url": "https://github.com/kamgurgul/cpu-info/releases/download/jvm-1.10.0/CPU-Info-linux-x64-1.10.0-release.jar",
      "sha256": "e433c48f932e46181f0bdfa6e52e27fb2581aac1932d071fb002bd45ba96a55d",
      "only-arches": [
       "x86_64"
      ],
      "dest-filename": "cpuinfo.jar"
     },
     {
      "type": "git",
      "url": "https://github.com/kamgurgul/cpu-info.git",
      "tag": "jvm-1.10.0",
      "commit": "09d0e511600ca3fa26f378f61ed377eaaa45cc68"
     },
     {
      "type": "patch",
      "path": "fix-appdata.patch"
     }
    ]
   }
  ]
 }
}