{
 "app_id": "com.chirpmyradio.chirp",
 "source_url": "https://raw.githubusercontent.com/flathub/com.chirpmyradio.chirp/master/com.chirpmyradio.chirp.yaml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "26.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=x11",
  "--device=all",
  "--filesystem=home"
 ],
 "module_count": 2,
 "fetched_at": "2026-09-17T16:07:07.898800+00:00",
 "manifest": {
  "app-id": "com.chirpmyradio.chirp",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "26.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "chirp-wrapper.sh",
  "cleanup": [
   "/bin/pygobject*",
   "/bin/pygtk*",
   "/include",
   "/lib/*.la",
   "/lib/pkgconfig",
   "/lib/pygtk",
   "/share/doc",
   "/share/gtk-doc",
   "/bin/wxdocs"
  ],
  "finish-args": [
   "--share=network",
   "--device=all",
   "--socket=x11",
   "--share=ipc",
   "--filesystem=home"
  ],
  "modules": [
   {
    "name": "chirp",
    "buildsystem": "simple",
    "build-commands": [
     "cd ./chirp/locale && make",
     "python3 setup.py install --prefix=${FLATPAK_DEST}",
     "mkdir -p \"${FLATPAK_DEST}/share\" \"${FLATPAK_DEST}/etc/fonts\"",
     "mv \"$(python3 -m pip show chirp | awk '/Location:/ {print $2}')\"/chirp/locale/ \"${FLATPAK_DEST}/share/locale/\"",
     "ln -s \"${FLATPAK_DEST}/share/locale\" \"$(python3 -m pip show chirp | awk '/Location:/ {print $2}')/chirp/locale\"",
     "install -Dm644 flathub/com.chirpmyradio.chirp.metainfo.xml ${FLATPAK_DEST}/share/metainfo/com.chirpmyradio.chirp.metainfo.xml",
     "install -Dm644 flathub/com.chirpmyradio.chirp.png ${FLATPAK_DEST}/share/icons/hicolor/512x512/apps/com.chirpmyradio.chirp.png",
     "install -Dm644 flathub/com.chirpmyradio.chirp.desktop ${FLATPAK_DEST}/share/applications/com.chirpmyradio.chirp.desktop",
     "install -Dm755 flathub/fonts.conf ${FLATPAK_DEST}/etc/fonts/fonts.conf",
     "install -Dm755 flathub/wrapper.sh ${FLATPAK_DEST}/bin/chirp-wrapper.sh"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/kk7ds/chirp.git",
      "commit": "c195078185a3a9dab8a466a767961a85a6f2ab63"
     },
     {
      "type": "patch",
      "path": "patches/version-number-injector.patch"
     },
     {
      "type": "patch",
      "path": "patches/config-dir.patch"
     },
     {
      "type": "patch",
      "path": "patches/fontconfig.patch"
     },
     {
      "type": "patch",
      "path": "patches/wrapper.patch"
     }
    ],
    "modules": [
     "chirp-deps.json"
    ]
   }
  ]
 }
}