{
 "app_id": "com.vocalinux.Vocalinux",
 "source_url": "https://raw.githubusercontent.com/VocaHQ/vocalinux/main/packaging/flatpak/com.vocalinux.Vocalinux.yml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=pulseaudio",
  "--device=dri",
  "--device=all",
  "--talk-name=org.freedesktop.IBus",
  "--talk-name=org.freedesktop.Notifications",
  "--talk-name=org.kde.StatusNotifierWatcher",
  "--talk-name=org.gnome.Shell",
  "--env=GI_TYPELIB_PATH=/app/lib/girepository-1.0"
 ],
 "module_count": 9,
 "fetched_at": "2026-09-20T13:01:29.139325+00:00",
 "manifest": {
  "app-id": "com.vocalinux.Vocalinux",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "command": "vocalinux",
  "build-options": {
   "env": {
    "NO_REPAIR": "1",
    "PYWHISPERCPP_VERSION": "1.5.0"
   }
  },
  "finish-args": [
   "--share=network",
   "--share=ipc",
   "--socket=x11",
   "--socket=wayland",
   "--socket=pulseaudio",
   "--device=dri",
   "--device=all",
   "--talk-name=org.freedesktop.IBus",
   "--talk-name=org.freedesktop.Notifications",
   "--talk-name=org.kde.StatusNotifierWatcher",
   "--talk-name=org.gnome.Shell",
   "--env=GI_TYPELIB_PATH=/app/lib/girepository-1.0"
  ],
  "modules": [
   {
    "name": "portaudio",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release",
     "-DCMAKE_INSTALL_PREFIX=/app",
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    ],
    "cleanup": [
     "/include",
     "/lib/cmake",
     "/lib/pkgconfig",
     "*.a",
     "*.la"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/PortAudio/portaudio/archive/refs/tags/v19.7.0.tar.gz",
      "sha256": "5af29ba58bbdbb7bbcefaaecc77ec8fc413f0db6f4c4e286c40c3e1b83174fa0"
     }
    ]
   },
   "shared-modules/libayatana-appindicator/libayatana-appindicator-gtk3.json",
   {
    "name": "xsel",
    "buildsystem": "simple",
    "build-commands": [
     "autoreconf -fi",
     "./configure --prefix=/app",
     "make",
     "make install"
    ],
    "cleanup": [
     "/share/man"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/kfish/xsel/archive/refs/tags/1.2.1.tar.gz",
      "sha256": "18487761f5ca626a036d65ef2db8ad9923bf61685e06e7533676c56d7d60eb14"
     }
    ]
   },
   {
    "name": "xdotool",
    "buildsystem": "simple",
    "build-commands": [
     "make",
     "make install PREFIX=/app"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/jordansissel/xdotool/archive/refs/tags/v3.20211022.1.tar.gz",
      "sha256": "82b15a944a5e82fee15e0f6116bd9f642bc3d0bb6989fc0ca5ad9dfe35de0847"
     }
    ]
   },
   {
    "name": "wl-clipboard",
    "buildsystem": "meson",
    "config-opts": [
     "-Dfishcompletiondir=no",
     "-Dzshcompletiondir=no"
    ],
    "cleanup": [
     "/share/man",
     "/share/bash-completion"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/bugaevc/wl-clipboard/archive/refs/tags/v2.2.1.tar.gz",
      "sha256": "6eb8081207fb5581d1d82c4bcd9587205a31a3d47bea3ebeb7f41aa1143783eb"
     }
    ]
   },
   {
    "name": "ydotool",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release",
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    ],
    "cleanup": [
     "/share/man"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/ReimuNotMoe/ydotool/archive/refs/tags/v1.0.4.tar.gz",
      "sha256": "ba075a43aa6ead51940e892ecffa4d0b8b40c241e4e2bc4bd9bd26b61fde23bd",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 138160,
       "stable-only": true,
       "url-template": "https://github.com/ReimuNotMoe/ydotool/archive/refs/tags/v$version.tar.gz"
      }
     },
     {
      "type": "shell",
      "commands": [
       "sed -i '/add_subdirectory(manpage)/d' CMakeLists.txt",
       "sed -i 's/project(ydotool C)/project(ydotool C)\\nadd_definitions(-DVERSION=\\\\\"1.0.4\\\\\")/' CMakeLists.txt"
      ]
     }
    ]
   },
   "python3-build-dependencies.yaml",
   "python3-dependencies.yaml",
   {
    "name": "vocalinux",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --no-deps --no-build-isolation --prefix=/app .",
     "install -Dm644 packaging/flatpak/com.vocalinux.Vocalinux.desktop -t /app/share/applications/",
     "install -Dm644 resources/icons/scalable/vocalinux.svg /app/share/icons/hicolor/scalable/apps/com.vocalinux.Vocalinux.svg",
     "install -Dm644 resources/icons/scalable/vocalinux-microphone-off.svg /app/share/icons/hicolor/scalable/apps/com.vocalinux.Vocalinux-microphone-off.svg",
     "install -Dm644 resources/icons/scalable/vocalinux-microphone.svg /app/share/icons/hicolor/scalable/apps/com.vocalinux.Vocalinux-microphone.svg",
     "install -Dm644 resources/icons/scalable/vocalinux-microphone-process.svg /app/share/icons/hicolor/scalable/apps/com.vocalinux.Vocalinux-microphone-process.svg",
     "install -Dm644 packaging/flatpak/com.vocalinux.Vocalinux.metainfo.xml -t /app/share/metainfo/"
    ],
    "sources": [
     {
      "type": "dir",
      "path": "../.."
     }
    ]
   }
  ]
 }
}