{
 "app_id": "io.github.wh201906.serialtest",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.wh201906.serialtest/master/io.github.wh201906.serialtest.yml",
 "runtime": "org.kde.Platform",
 "runtime_version": "5.15-25.08",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--device=all",
  "--filesystem=xdg-config/kdeglobals:ro",
  "--allow=bluetooth",
  "--talk-name=com.canonical.AppMenu.Registrar",
  "--talk-name=org.kde.kconfig.notify",
  "--talk-name=org.kde.KGlobalSettings",
  "--system-talk-name=org.bluez"
 ],
 "module_count": 2,
 "fetched_at": "2026-09-20T12:16:55.324791+00:00",
 "manifest": {
  "app-id": "io.github.wh201906.serialtest",
  "runtime": "org.kde.Platform",
  "runtime-version": "5.15-25.08",
  "sdk": "org.kde.Sdk",
  "command": "SerialTest",
  "finish-args": [
   "--allow=bluetooth",
   "--system-talk-name=org.bluez",
   "--share=network",
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--device=all"
  ],
  "modules": [
   {
    "name": "qcustomplot",
    "buildsystem": "qmake",
    "cleanup": [
     "/include"
    ],
    "config-opts": [
     "LIBDIR=/app/lib"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://www.qcustomplot.com/release/2.1.1/QCustomPlot-source.tar.gz",
      "sha256": "5e2d22dec779db8f01f357cbdb25e54fbcf971adaee75eae8d7ad2444487182f",
      "x-checker-data": {
       "type": "html",
       "url": "https://www.qcustomplot.com/index.php/download",
       "version-pattern": "<p>Version: <strong>([\\d.]+)</strong>",
       "url-template": "https://www.qcustomplot.com/release/$version/QCustomPlot-source.tar.gz"
      }
     },
     {
      "type": "file",
      "path": "patches/qcustomplot.pro"
     }
    ]
   },
   {
    "name": "serialtest",
    "buildsystem": "qmake",
    "subdir": "src",
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/wh201906/SerialTest/archive/refs/tags/V0.3.5.tar.gz",
      "sha256": "66a3d2abd21e45aed5898e732236031b3148fa082cb26585dbab8a23cc1daaab",
      "x-checker-data": {
       "type": "html",
       "url": "https://github.com/wh201906/SerialTest/releases/latest",
       "version-pattern": "https://github.com/wh201906/SerialTest/releases/expanded_assets/V([\\d.]+)",
       "url-template": "https://github.com/wh201906/SerialTest/archive/refs/tags/V$version.tar.gz"
      }
     }
    ],
    "post-install": [
     "install -Dm 644 -t ${FLATPAK_DEST}/share/metainfo ../pack/aur/io.github.wh201906.serialtest.metainfo.xml",
     "install -Dm 644 icon/icon.png ${FLATPAK_DEST}/share/icons/hicolor/512x512/apps/io.github.wh201906.serialtest.png",
     "install -Dm 644 -t ${FLATPAK_DEST}/share/applications ../pack/aur/io.github.wh201906.serialtest.desktop",
     "desktop-file-edit --set-key=\"Icon\" --set-value=\"io.github.wh201906.serialtest\" ${FLATPAK_DEST}/share/applications/io.github.wh201906.serialtest.desktop",
     "desktop-file-edit --set-key=\"Exec\" --set-value=\"SerialTest\" ${FLATPAK_DEST}/share/applications/io.github.wh201906.serialtest.desktop"
    ]
   }
  ]
 }
}