{
 "app_id": "org.sugarlabs.Words",
 "source_url": "https://raw.githubusercontent.com/flathub/org.sugarlabs.Words/master/org.sugarlabs.Words.json",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=x11",
  "--socket=pulseaudio",
  "--device=dri"
 ],
 "module_count": 3,
 "fetched_at": "2026-09-17T16:16:42.185867+00:00",
 "manifest": {
  "app-id": "org.sugarlabs.Words",
  "base": "org.sugarlabs.BaseApp",
  "base-version": "26.04",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "separate-locales": false,
  "command": "sugarapp",
  "finish-args": [
   "--socket=x11",
   "--socket=pulseaudio",
   "--share=ipc",
   "--device=dri",
   "--env=SUGAR_BUNDLE_ID=org.sugarlabs.Words",
   "--env=SUGAR_BUNDLE_PATH=/app/share/sugar/activities/Words.activity"
  ],
  "cleanup": [
   "/include",
   "/lib/pkgconfig",
   "/share/aclocal",
   "/share/info",
   "/share/man",
   "/share/vim",
   "*.la",
   "*.a"
  ],
  "cleanup-commands": [
   "rm -rf /app/share/gir-1.0"
  ],
  "modules": [
   {
    "name": "espeak-ng",
    "no-parallel-make": true,
    "build-options": {
     "ldflags": "-Wl,--allow-multiple-definition"
    },
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/espeak-ng/espeak-ng.git",
      "tag": "1.51.1",
      "commit": "34762a2b9621d3643e67a00642984c21f0626bdc",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^([\\d.]+)$"
      }
     }
    ],
    "post-install": [
     "ln -s /app/lib/libespeak-ng.so /app/lib/libespeak.so",
     "ln -s /app/lib/libespeak-ng.a /app/lib/libespeak.a"
    ]
   },
   {
    "name": "gst-plugins-espeak",
    "no-parallel-make": true,
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/sugarlabs/gst-plugins-espeak.git",
      "tag": "v0.6.0",
      "commit": "5cace1227427e25638f2f3447a79528e3c5b6db2",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^v([\\d.]+)$"
      }
     }
    ]
   },
   {
    "name": "words",
    "buildsystem": "simple",
    "build-commands": [
     "python3 setup.py install --prefix=${FLATPAK_DEST} --skip-install-desktop-file --skip-install-mime"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/sugarlabs/words-activity.git",
      "tag": "v24",
      "commit": "723bca602d3ea1dff58476dcb20c4408e5639934",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^v([\\d.]+)$"
      }
     },
     {
      "type": "patch",
      "path": "words-port.patch"
     },
     {
      "type": "patch",
      "path": "words-info.patch"
     },
     {
      "type": "patch",
      "path": "words-webkitfix.patch"
     }
    ],
    "post-install": [
     "sugarapp-gen-appdata activity/activity.info appdata",
     "sugarapp-gen-desktop activity/activity.info desktop",
     "install -D appdata /app/share/metainfo/org.sugarlabs.Words.appdata.xml",
     "install -D desktop /app/share/applications/org.sugarlabs.Words.desktop",
     "install -D activity/activity-icon.svg /app/share/icons/hicolor/scalable/apps/org.sugarlabs.Words.svg"
    ]
   }
  ]
 }
}