{
 "app_id": "io.sourceforge.wsjt.wsjtx",
 "source_url": "https://raw.githubusercontent.com/flathub/io.sourceforge.wsjt.wsjtx/master/io.sourceforge.wsjt.wsjtx.yml",
 "runtime": "org.kde.Platform",
 "runtime_version": "5.15-25.08",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=pulseaudio",
  "--socket=wayland",
  "--device=all",
  "--filesystem=xdg-config/kdeglobals:ro",
  "--talk-name=com.canonical.AppMenu.Registrar",
  "--talk-name=org.kde.kconfig.notify",
  "--talk-name=org.kde.KGlobalSettings"
 ],
 "module_count": 5,
 "fetched_at": "2026-09-17T16:13:01.609700+00:00",
 "manifest": {
  "app-id": "io.sourceforge.wsjt.wsjtx",
  "runtime": "org.kde.Platform",
  "runtime-version": "5.15-25.08",
  "sdk": "org.kde.Sdk",
  "command": "wsjtx.sh",
  "rename-desktop-file": "wsjtx.desktop",
  "rename-icon": "wsjtx_icon",
  "finish-args": [
   "--share=ipc",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--device=all",
   "--socket=pulseaudio",
   "--share=network"
  ],
  "cleanup": [
   "/include",
   "/lib/cmake",
   "/lib/pkgconfig",
   "/share/aclocal",
   "/share/doc",
   "/share/man",
   "*.a",
   "*.la"
  ],
  "modules": [
   "shared-modules/linux-audio/fftw3f.json",
   {
    "name": "portaudio",
    "sources": [
     {
      "type": "archive",
      "url": "http://files.portaudio.com/archives/pa_stable_v190600_20161030.tgz",
      "sha256": "f5a21d7dcd6ee84397446fa1fa1a0675bb2e8a4a6dceb4305a8404698d8d1513",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 10597,
       "url-template": "http://files.portaudio.com/archives/pa_stable_v$version.tgz"
      }
     }
    ]
   },
   {
    "name": "boost",
    "sources": [
     {
      "type": "archive",
      "url": "https://archives.boost.io/release/1.91.0/source/boost_1_91_0.tar.bz2",
      "sha256": "de5e6b0e4913395c6bdfa90537febd9028ea4c0735d2cdb0cd9b45d5f51264f5",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 6845,
       "stable-only": true,
       "url-template": "https://archives.boost.io/release/$version/source/boost_${major}_${minor}_$patch.tar.bz2"
      }
     }
    ],
    "buildsystem": "simple",
    "build-commands": [
     "./bootstrap.sh --prefix=$FLATPAK_DEST --with-libraries=container,date_time,filesystem,log",
     "./b2 -j $FLATPAK_BUILDER_N_JOBS install"
    ]
   },
   {
    "name": "hamlib",
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/Hamlib/Hamlib/releases/download/4.7.2/hamlib-4.7.2.tar.gz",
      "sha256": "ae1fcf2dbc80ea0786ea8f047b09399c3f7737d1930442f61a031708ed33e88f",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 1292,
       "url-template": "https://github.com/Hamlib/Hamlib/releases/download/$version/hamlib-$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "wsjtx",
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/WSJTX/wsjtx.git",
      "tag": "v3.0.2",
      "commit": "ccdfaf3c1c109010d15399674ce278167cfde848",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^v([\\d.]+)$"
      }
     },
     {
      "type": "script",
      "dest-filename": "wsjtx.sh",
      "commands": [
       "wsjtx $@ --style=fusion"
      ]
     },
     {
      "type": "patch",
      "path": "wsjtx-use-standard-icon-path.patch"
     },
     {
      "type": "file",
      "path": "io.sourceforge.wsjt.wsjtx.metainfo.xml"
     }
    ],
    "buildsystem": "cmake",
    "config-opts": [
     "-DWSJT_SKIP_MANPAGES=ON",
     "-DWSJT_GENERATE_DOCS=OFF"
    ],
    "post-install": [
     "install -D wsjtx.sh /app/bin/wsjtx.sh",
     "install -D io.sourceforge.wsjt.wsjtx.metainfo.xml /app/share/metainfo/io.sourceforge.wsjt.wsjtx.metainfo.xml",
     "desktop-file-edit --set-key=Exec --set-value=wsjtx.sh /app/share/applications/wsjtx.desktop",
     "desktop-file-edit --set-key=Icon --set-value=io.sourceforge.wsjt.wsjtx /app/share/applications/message_aggregator.desktop",
     "mv /app/share/applications/message_aggregator.desktop /app/share/applications/io.sourceforge.wsjt.wsjtx.MessageAggregator.desktop"
    ]
   }
  ]
 }
}