{
 "app_id": "net.sourceforge.Teo",
 "source_url": "https://raw.githubusercontent.com/flathub/net.sourceforge.Teo/master/net.sourceforge.Teo.yaml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=pulseaudio",
  "--socket=x11",
  "--device=all"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-17T16:13:46.577709+00:00",
 "manifest": {
  "app-id": "net.sourceforge.Teo",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "command": "teo",
  "finish-args": [
   "--share=ipc",
   "--socket=x11",
   "--socket=pulseaudio",
   "--device=all"
  ],
  "build-options": {
   "env": {
    "DEBUGMODE": "1"
   }
  },
  "modules": [
   {
    "name": "teo",
    "buildsystem": "simple",
    "build-commands": [
     "./autogen.sh",
     "DEBIANBUILD=1 DEBUGMODE=1 make",
     "install -m0755 -D teo /app/bin/teo",
     "mkdir -p /app/share/icons/hicolor/256x256/apps/",
     "cp misc/pack/repo/linux/debian/teo/usr/share/pixmaps/${FLATPAK_ID}.png /app/share/icons/hicolor/256x256/apps/",
     "install -m0644 -D misc/pack/repo/linux/debian/teo/usr/share/applications/${FLATPAK_ID}.desktop /app/share/applications/${FLATPAK_ID}.desktop",
     "sed -i 's,/usr/games/,/app/bin/,' /app/share/applications/${FLATPAK_ID}.desktop",
     "install -m0644 -D misc/pack/repo/linux/debian/teo/usr/share/metainfo/${FLATPAK_ID}.appdata.xml /app/share/metainfo/${FLATPAK_ID}.appdata.xml",
     "install -d /app/share/teo/",
     "cp -r system/ /app/share/teo/"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "http://downloads.sourceforge.net/teoemulator/teo-1.8.4-src.tar.gz",
      "sha256": "93b636861a67cc72223713c2708391eaf969a7a10ccf2f0288fb41ae6e22c437",
      "git-init": true
     },
     {
      "type": "file",
      "path": "teo-autogen.sh",
      "dest-filename": "autogen.sh"
     },
     {
      "type": "patch",
      "path": "teo-7722f5749d52537b24808cd621a519f3d05b1e1a....patch",
      "use-git-am": true
     },
     {
      "type": "patch",
      "path": "0001-linux-Use-a-native-GtkFileChooser.patch",
      "use-git-am": true
     },
     {
      "type": "patch",
      "path": "0001-linux-Fix-location-of-data-files.patch",
      "use-git-am": true
     },
     {
      "type": "patch",
      "path": "metadata.patch",
      "use-git-am": true
     }
    ]
   }
  ]
 }
}