{
 "app_id": "com.tux4kids.tuxtype",
 "source_url": "https://raw.githubusercontent.com/flathub/com.tux4kids.tuxtype/master/com.tux4kids.tuxtype.json",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=x11",
  "--socket=pulseaudio",
  "--device=dri"
 ],
 "module_count": 9,
 "fetched_at": "2026-09-17T16:09:00.333887+00:00",
 "manifest": {
  "app-id": "com.tux4kids.tuxtype",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "finish-args": [
   "--device=dri",
   "--share=ipc",
   "--socket=x11",
   "--socket=pulseaudio"
  ],
  "command": "tuxtype",
  "rename-appdata-file": "tuxtype.appdata.xml",
  "rename-desktop-file": "tuxtype.desktop",
  "rename-icon": "tuxtype",
  "cleanup": [
   "/include",
   "/lib/pkgconfig",
   "/share/aclocal",
   "/share/doc",
   "/share/man",
   "*.la",
   "*.a"
  ],
  "modules": [
   {
    "name": "mikmod",
    "sources": [
     {
      "type": "archive",
      "url": "http://deb.debian.org/debian/pool/main/libm/libmikmod/libmikmod_3.3.11.1.orig.tar.gz",
      "sha256": "ad9d64dfc8f83684876419ea7cd4ff4a41d8bcd8c23ef37ecb3a200a16b46d19"
     }
    ]
   },
   "shared-modules/SDL/SDL-1.2.15.json",
   "shared-modules/smpeg/smpeg-0.4.5.json",
   "shared-modules/SDL/SDL_mixer-1.2.12.json",
   "shared-modules/SDL/SDL_image-1.2.12.json",
   "shared-modules/SDL/SDL_net-1.2.8.json",
   "shared-modules/SDL/SDL_pango-0.1.2.json",
   {
    "name": "t4kcommon",
    "rm-configure": true,
    "build-options": {
     "cflags": "-fcommon -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -std=gnu17",
     "cxxflags": "-fcommon -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types -std=gnu17"
    },
    "sources": [
     {
      "type": "archive",
      "url": "https://downloads.sourceforge.net/project/tuxmath/t4k_common/t4k_common-0.1.1.tar.gz",
      "sha256": "42c155816dae2c5dad560faa50edaa1ca84536530283d37859c4b91e82675110"
     },
     {
      "type": "patch",
      "path": "t4kcommon-libpng16.patch"
     },
     {
      "type": "patch",
      "path": "t4kcommon-libxml2-frame-count.patch"
     },
     {
      "type": "script",
      "dest-filename": "autogen.sh",
      "commands": [
       "autoreconf -vfi"
      ]
     }
    ]
   },
   {
    "name": "tuxtype",
    "sources": [
     {
      "type": "archive",
      "url": "http://http.debian.net/debian/pool/main/t/tuxtype/tuxtype_1.8.3.orig.tar.gz",
      "sha256": "e720b0a3131764630a8b8d0bd108e0aed6f72572222a3529a4cbed04f94c8fb3"
     },
     {
      "type": "script",
      "commands": [
       "autoreconf -vfi"
      ],
      "dest-filename": "autogen.sh"
     },
     {
      "type": "patch",
      "path": "tuxtype-chown.patch"
     },
     {
      "type": "patch",
      "path": "tuxtype-xdg-config-path.patch"
     },
     {
      "type": "file",
      "path": "tuxtype.appdata.xml"
     }
    ],
    "post-install": [
     "install -Dm644 tuxtype.appdata.xml -t /app/share/metainfo/",
     "install -Dm644 tuxtype.desktop -t /app/share/applications/",
     "install -Dm644 data/images/icons/tuxtype.png -t /app/share/icons/hicolor/48x48/apps/",
     "install -Dm644 data/images/icons/tuxtype.svg -t /app/share/icons/hicolor/scalable/apps/",
     "sed -i 's/height=\"117\"/height=\"132\"/' /app/share/icons/hicolor/scalable/apps/tuxtype.svg"
    ]
   }
  ]
 }
}