{
 "app_id": "org.shadered.SHADERed",
 "source_url": "https://raw.githubusercontent.com/flathub/org.shadered.SHADERed/master/org.shadered.SHADERed.yaml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=x11",
  "--socket=pulseaudio",
  "--device=all",
  "--filesystem=home"
 ],
 "module_count": 5,
 "fetched_at": "2026-09-17T16:16:32.159704+00:00",
 "manifest": {
  "app-id": "org.shadered.SHADERed",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "shadered",
  "rename-desktop-file": "shadered.desktop",
  "rename-icon": "shadered",
  "finish-args": [
   "--share=ipc",
   "--socket=x11",
   "--socket=pulseaudio",
   "--filesystem=home",
   "--device=all"
  ],
  "cleanup": [
   "*.a",
   "*.inl",
   "/include",
   "/lib/cmake",
   "/lib/pkgconfig"
  ],
  "modules": [
   "shared-modules/glew/glew.json",
   "shared-modules/glu/glu-9.json",
   {
    "name": "glm",
    "buildsystem": "cmake-ninja",
    "cleanup": [
     "*"
    ],
    "no-make-install": true,
    "post-install": [
     "install -d ${FLATPAK_DEST}/include",
     "cp -R glm ${FLATPAK_DEST}/include"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/g-truc/glm/archive/refs/tags/1.0.0.tar.gz",
      "sha256": "e51f6c89ff33b7cfb19daafb215f293d106cd900f8d681b9b1295312ccadbd23"
     }
    ]
   },
   {
    "name": "SFML",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DSFML_INSTALL_PKGCONFIG_FILES=TRUE"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/SFML/SFML/archive/refs/tags/2.6.2.tar.gz",
      "sha256": "15ff4d608a018f287c6a885db0a2da86ea389e516d2323629e4d4407a7ce047f"
     }
    ]
   },
   {
    "name": "shadered",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DDONT_LINK_FILESYSTEM=1",
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/dfranx/SHADERed.git",
      "tag": "v1.5.6",
      "commit": "d118369cbc5f18db3596e318c92557760ef0b466"
     },
     {
      "type": "patch",
      "paths": [
       "shadered-build.patch",
       "shadered-appstream.patch"
      ]
     },
     {
      "type": "patch",
      "options": [
       "-d",
       "libs/assimp"
      ],
      "path": "assimp-std-header.patch"
     }
    ],
    "post-install": [
     "install -Dm644 Misc/Linux/org.shadered.SHADERed.appdata.xml -t /app/share/appdata/",
     "install -Dm644 /app/share/pixmaps/shadered.svg -t /app/share/icons/hicolor/scalable/apps"
    ]
   }
  ]
 }
}