{
 "app_id": "pl.suve.colorful",
 "source_url": "https://raw.githubusercontent.com/flathub/pl.suve.colorful/master/pl.suve.colorful.yaml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=pulseaudio",
  "--socket=fallback-x11",
  "--device=dri",
  "--device=all"
 ],
 "module_count": 4,
 "fetched_at": "2026-09-17T16:17:14.401485+00:00",
 "manifest": {
  "app-id": "pl.suve.colorful",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.freepascal"
  ],
  "build-options": {
   "append-path": "/usr/lib/sdk/freepascal/bin",
   "env": {
    "PPC_CONFIG_PATH": "/usr/lib/sdk/freepascal/etc",
    "FPCDIR": "/usr/lib/sdk/freepascal/fpcsrc"
   }
  },
  "command": "colorful",
  "rename-icon": "colorful",
  "finish-args": [
   "--socket=wayland",
   "--socket=fallback-x11",
   "--share=ipc",
   "--socket=pulseaudio",
   "--device=dri",
   "--device=all"
  ],
  "modules": [
   "shared-modules/SDL2/SDL2_image.json",
   {
    "name": "optipng",
    "buildsystem": "autotools",
    "build-options": {
     "config-opts": [
      "--with-system-libs"
     ]
    },
    "cleanup": [
     "*"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://sourceforge.net/projects/optipng/files/OptiPNG/optipng-7.9.1/optipng-7.9.1.tar.gz",
      "sha256": "c2579be58c2c66dae9d63154edcb3d427fef64cb00ec0aff079c9d156ec46f29"
     }
    ]
   },
   {
    "name": "vorbis-tools",
    "buildsystem": "autotools",
    "cleanup": [
     "*"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://downloads.xiph.org/releases/vorbis/vorbis-tools-1.4.2.tar.gz",
      "sha256": "db7774ec2bf2c939b139452183669be84fda5774d6400fc57fde37f77624f0b0"
     },
     {
      "type": "patch",
      "path": "patches-vorbis/0001-fix-build-with-gcc-14.patch"
     }
    ]
   },
   {
    "name": "colorful",
    "buildsystem": "simple",
    "build-commands": [
     "./configure.sh --assets=systemwide --compat=v2 --prefix=$FLATPAK_DEST",
     "make executable",
     "make -j assets",
     "make install"
    ],
    "cleanup": [
     "/share/man/"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/suve/LD25/releases/download/release-2.2/colorful-2.2-source.zip",
      "sha512": "dce8847e6f1251f769954a092e2903ef20eda3d778de5438c3aff1ea4e8403d09170b8390df336ec53e4c776eb7f5527c4266a83dc528e2e43d9c871bbbac159"
     }
    ]
   }
  ]
 }
}