{
 "app_id": "cc.spek.Spek",
 "source_url": "https://raw.githubusercontent.com/flathub/cc.spek.Spek/master/cc.spek.Spek.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--device=dri",
  "--filesystem=xdg-download",
  "--filesystem=xdg-pictures",
  "--filesystem=xdg-music",
  "--filesystem=xdg-videos"
 ],
 "module_count": 2,
 "fetched_at": "2026-09-17T16:06:42.467285+00:00",
 "manifest": {
  "app-id": "cc.spek.Spek",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "spek",
  "rename-icon": "spek",
  "copy-icon": true,
  "rename-desktop-file": "spek.desktop",
  "cleanup": [
   "/bin/wx-config",
   "/bin/wxrc",
   "/bin/wxrc-3.2",
   "/include",
   "/lib/wx/include",
   "/share/aclocal",
   "/share/bakefile",
   "/share/man",
   "/lib/wx/config"
  ],
  "finish-args": [
   "--socket=fallback-x11",
   "--socket=wayland",
   "--device=dri",
   "--share=ipc",
   "--filesystem=xdg-download",
   "--filesystem=xdg-music",
   "--filesystem=xdg-videos",
   "--filesystem=xdg-pictures"
  ],
  "modules": [
   {
    "name": "wxWidgets",
    "config-opts": [
     "--with-gtk=3",
     "--enable-unicode",
     "--enable-intl"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/wxWidgets/wxWidgets/releases/download/v3.2.9/wxWidgets-3.2.9.tar.bz2",
      "sha256": "fb90f9538bffd6a02edbf80037a0c14c2baf9f509feac8f76ab2a5e4321f112b",
      "x-checker-data": {
       "type": "json",
       "url": "https://api.github.com/repos/wxWidgets/wxWidgets/releases/latest",
       "url-query": ".assets[] | select(.name==\"wxWidgets-\" + $version + \".tar.bz2\") | .browser_download_url",
       "version-query": ".tag_name | sub(\"^v\"; \"\")"
      }
     }
    ]
   },
   {
    "name": "spek",
    "buildsystem": "autotools",
    "post-install": [
     "install -Dm644 ${FLATPAK_ID}.metainfo.xml ${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.metainfo.xml"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/alexkay/spek",
      "tag": "v0.8.5",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^v([\\d.]+)$"
      },
      "commit": "bf4ea059f6f87cf0f2c379f890115173fa04ce57"
     },
     {
      "type": "file",
      "path": "cc.spek.Spek.metainfo.xml"
     },
     {
      "type": "patch",
      "path": "update-gettext-version.patch"
     },
     {
      "type": "shell",
      "commands": [
       "autoreconf -vfi -I /usr/share/gettext/m4"
      ]
     }
    ]
   }
  ]
 }
}