{
 "app_id": "io.github.ronb1964.TalkType",
 "source_url": "https://raw.githubusercontent.com/ronb1964/TalkType/main/packaging/flatpak/io.github.ronb1964.TalkType.yml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--socket=wayland",
  "--socket=x11",
  "--share=ipc",
  "--socket=pulseaudio",
  "--device=dri",
  "--share=network",
  "--talk-name=org.freedesktop.portal.Desktop",
  "--talk-name=org.kde.StatusNotifierWatcher",
  "--talk-name=com.canonical.AppMenu.Registrar",
  "--talk-name=org.freedesktop.Notifications",
  "--filesystem=xdg-run/tray-icon:create",
  "--talk-name=org.gnome.Shell"
 ],
 "module_count": 4,
 "fetched_at": "2026-09-20T12:58:11.153317+00:00",
 "manifest": {
  "app-id": "io.github.ronb1964.TalkType",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "command": "talktype-launcher",
  "finish-args": [
   "--socket=wayland",
   "--socket=x11",
   "--share=ipc",
   "--socket=pulseaudio",
   "--device=dri",
   "--share=network",
   "--talk-name=org.freedesktop.portal.Desktop",
   "--talk-name=org.kde.StatusNotifierWatcher",
   "--talk-name=com.canonical.AppMenu.Registrar",
   "--talk-name=org.freedesktop.Notifications",
   "--filesystem=xdg-run/tray-icon:create",
   "--talk-name=org.gnome.Shell"
  ],
  "modules": [
   {
    "name": "portaudio",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release",
     "-DPA_BUILD_SHARED=ON",
     "-DPA_BUILD_STATIC=OFF",
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/PortAudio/portaudio.git",
      "tag": "v19.7.0"
     }
    ]
   },
   "shared-modules/libayatana-appindicator/libayatana-appindicator-gtk3.json",
   {
    "name": "python-deps",
    "buildsystem": "simple",
    "build-options": {
     "build-args": [
      "--share=network"
     ]
    },
    "build-commands": [
     "pip3 install --prefix=/app --no-warn-script-location faster-whisper sounddevice evdev pyperclip toml dbus-python"
    ]
   },
   {
    "name": "talktype",
    "buildsystem": "simple",
    "build-commands": [
     "install -Dm755 talktype-launcher /app/bin/talktype-launcher",
     "mkdir -p /app/lib && cp -r talktype /app/lib/talktype",
     "install -Dm644 io.github.ronb1964.TalkType.appdata.xml /app/share/metainfo/io.github.ronb1964.TalkType.appdata.xml",
     "install -Dm644 io.github.ronb1964.TalkType.svg /app/share/icons/hicolor/scalable/apps/io.github.ronb1964.TalkType.svg",
     "install -Dm644 io.github.ronb1964.TalkType.desktop /app/share/applications/io.github.ronb1964.TalkType.desktop",
     "sed -i 's|^Exec=.*|Exec=talktype-launcher|' /app/share/applications/io.github.ronb1964.TalkType.desktop"
    ],
    "sources": [
     {
      "type": "dir",
      "path": "../../src",
      "dest": "."
     },
     {
      "type": "file",
      "path": "../../io.github.ronb1964.TalkType.appdata.xml"
     },
     {
      "type": "file",
      "path": "talktype-launcher"
     },
     {
      "type": "file",
      "path": "io.github.ronb1964.TalkType.svg"
     },
     {
      "type": "file",
      "path": "../../io.github.ronb1964.TalkType.desktop"
     }
    ]
   }
  ]
 }
}