{
 "app_id": "net.sourceforge.tomatoes.IHaveNoTomatoes",
 "source_url": "https://raw.githubusercontent.com/flathub/net.sourceforge.tomatoes.IHaveNoTomatoes/master/net.sourceforge.tomatoes.IHaveNoTomatoes.json",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "26.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=fallback-x11",
  "--socket=pulseaudio",
  "--socket=wayland",
  "--device=dri"
 ],
 "module_count": 6,
 "fetched_at": "2026-09-17T16:13:51.307271+00:00",
 "manifest": {
  "app-id": "net.sourceforge.tomatoes.IHaveNoTomatoes",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "26.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "tomatoes",
  "finish-args": [
   "--share=ipc",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--socket=pulseaudio",
   "--device=dri",
   "--persist=.tomatoes"
  ],
  "cleanup": [
   "/include",
   "*.a",
   "*.la",
   "/bin/libmikmod-config",
   "/bin/sdl-config",
   "/lib/pkgconfig",
   "/share/aclocal",
   "/share/info",
   "/share/man"
  ],
  "modules": [
   "shared-modules/SDL/sdl12-compat.json",
   "shared-modules/SDL/SDL_image-1.2.12.json",
   {
    "name": "libmikmod-2",
    "buildsystem": "autotools",
    "sources": [
     {
      "type": "archive",
      "url": "https://sourceforge.net/projects/mikmod/files/libmikmod/3.1.23/libmikmod-3.1.23.tar.gz",
      "sha256": "b4b64caeaf67d897fe87c6c5ca8670fea7e9bdc337b38776537b2a02dfe861f4",
      "x-checker-data": {
       "type": "html",
       "url": "https://sourceforge.net/projects/mikmod/rss",
       "pattern": "<link>(https://sourceforge.net/.+/libmikmod-3.1.([\\d\\.]+\\d).tar.gz)/download</link>"
      }
     }
    ]
   },
   "shared-modules/SDL/SDL_mixer-1.2.12.json",
   {
    "name": "tomatoes-data",
    "buildsystem": "simple",
    "build-commands": [
     "mkdir -p /app/share/tomatoes/",
     "cp -r config.cfg music tomatoes.mpk /app/share/tomatoes/"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://sourceforge.net/projects/tomatoes/files/tomatoes/1.5/tomatoes-linux-1.5.tar.bz2",
      "sha256": "69a3af1994cb58409be9b469e1aa4bdb91c405d99071c7431526640ec53d1300",
      "x-checker-data": {
       "type": "html",
       "url": "https://sourceforge.net/projects/tomatoes/rss",
       "pattern": "<link>(https://sourceforge.net/.+/tomatoes-linux-([\\d\\.]+\\d).tar.bz2)/download</link>"
      }
     }
    ]
   },
   {
    "name": "tomatoes",
    "buildsystem": "simple",
    "build-commands": [
     "make",
     "install -Dm755 tomatoes -t /app/bin/",
     "install -Dm644 net.sourceforge.tomatoes.IHaveNoTomatoes.appdata.xml -t /app/share/metainfo/",
     "install -Dm644 net.sourceforge.tomatoes.IHaveNoTomatoes.desktop -t /app/share/applications/",
     "install -Dm644 net.sourceforge.tomatoes.IHaveNoTomatoes.png -t /app/share/icons/hicolor/128x128/apps/"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://sourceforge.net/projects/tomatoes/files/tomatoes/1.5/tomatoes-linux-src-1.55.tar.bz2",
      "sha256": "126d001532ee5b81cc95e1a86a274d11669b8c8f65c8235ae2e9b8fbdfab4a60",
      "x-checker-data": {
       "type": "html",
       "url": "https://sourceforge.net/projects/tomatoes/rss",
       "pattern": "<link>(https://sourceforge.net/.+/tomatoes-linux-src-([\\d\\.]+\\d).tar.bz2)/download</link>"
      }
     },
     {
      "type": "file",
      "path": "net.sourceforge.tomatoes.IHaveNoTomatoes.appdata.xml"
     },
     {
      "type": "file",
      "path": "net.sourceforge.tomatoes.IHaveNoTomatoes.desktop"
     },
     {
      "type": "file",
      "path": "net.sourceforge.tomatoes.IHaveNoTomatoes.png"
     },
     {
      "type": "patch",
      "path": "patches/0001-tomatoes-1.55-makefile-compile-flags.patch",
      "__sourced_from": "https://aur.archlinux.org/cgit/aur.git/tree/0001-tomatoes-1.55-makefile-compile-flags.patch"
     },
     {
      "type": "patch",
      "path": "patches/0002-tomatoes-1.55-Quell-const-char-conversion-warnings.patch",
      "__sourced_from": "https://aur.archlinux.org/cgit/aur.git/tree/0002-tomatoes-1.55-Quell-const-char-conversion-warnings.patch"
     },
     {
      "type": "patch",
      "path": "patches/0003-tomatoes-1.55-config-hiscore-file-saving-loading.patch",
      "__sourced_from": "https://aur.archlinux.org/cgit/aur.git/tree/0003-tomatoes-1.55-config-hiscore-file-saving-loading.patch"
     },
     {
      "type": "patch",
      "path": "patches/0004-fix_asset_paths.patch"
     }
    ]
   }
  ]
 }
}