{
 "app_id": "io.gitlab.persiangolf.voicegen",
 "source_url": "https://raw.githubusercontent.com/flathub/io.gitlab.persiangolf.voicegen/master/io.gitlab.persiangolf.voicegen.yml",
 "runtime": "org.kde.Platform",
 "runtime_version": "6.10",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=pulseaudio",
  "--socket=wayland",
  "--device=dri",
  "--filesystem=home",
  "--filesystem=xdg-config/kdeglobals:ro",
  "--talk-name=com.canonical.AppMenu.Registrar",
  "--talk-name=org.kde.kconfig.notify",
  "--talk-name=org.kde.KGlobalSettings"
 ],
 "module_count": 4,
 "fetched_at": "2026-09-17T16:12:45.977694+00:00",
 "manifest": {
  "app-id": "io.gitlab.persiangolf.voicegen",
  "runtime": "org.kde.Platform",
  "runtime-version": "6.10",
  "sdk": "org.kde.Sdk",
  "command": "voicegen",
  "rename-icon": "voicegen",
  "rename-desktop-file": "voicegen.desktop",
  "finish-args": [
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--device=dri",
   "--socket=pulseaudio",
   "--share=network",
   "--filesystem=home"
  ],
  "cleanup": [
   "/include",
   "/lib/pkgconfig",
   "/share/man",
   "*.la",
   "*.a"
  ],
  "modules": [
   {
    "name": "popt",
    "sources": [
     {
      "type": "archive",
      "url": "http://ftp.rpm.org/popt/releases/popt-1.x/popt-1.18.tar.gz",
      "sha256": "5159bc03a20b28ce363aa96765f37df99ea4d8850b1ece17d1e6ad5c24fdc5d1"
     }
    ]
   },
   {
    "name": "nanotts-wrapper",
    "buildsystem": "simple",
    "build-commands": [
     "touch nanotts",
     "echo -e '#!/bin/sh \\n/app/bin/nanotts-real/nanotts -l /app/share/pico/lang \"$@\"' > nanotts",
     "install -Dm755 nanotts /app/bin/nanotts"
    ]
   },
   {
    "name": "nano-tts",
    "buildsystem": "simple",
    "build-commands": [
     "make CFLAGS='-Wno-error=incompatible-pointer-types'",
     "install -Dm755 nanotts /app/bin/nanotts-real/nanotts",
     "mkdir -p /app/share/pico/",
     "cp -r lang /app/share/pico/"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/gmn/nanotts",
      "commit": "d8b91f3d9d524c30f6fe8098ea7a0a638c889cf9"
     }
    ]
   },
   {
    "name": "voicegen",
    "buildsystem": "cmake-ninja",
    "post-install": [
     "install -Dm666 Integration-Stuff/desktop/voicegen.desktop -t /app/share/applications/",
     "install -Dm666 Integration-Stuff/icons/scalable/voicegen.svg -t /app/share/icons/hicolor/scalable/apps/",
     "install -Dm666 Integration-Stuff/appdata/${FLATPAK_ID}.appdata.xml -t /app/share/metainfo/"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://gitlab.com/PersianGolf/voicegen.git",
      "commit": "43c3a99eb8b6184d3825087541450ec601426a4a"
     },
     {
      "type": "patch",
      "path": "fix-appdata.patch"
     }
    ]
   }
  ]
 }
}