{
 "app_id": "io.github.RodZill4.Material-Maker",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.RodZill4.Material-Maker/master/io.github.RodZill4.Material-Maker.yaml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=x11",
  "--device=dri",
  "--filesystem=home"
 ],
 "module_count": 2,
 "fetched_at": "2026-09-17T16:10:29.195864+00:00",
 "manifest": {
  "app-id": "io.github.RodZill4.Material-Maker",
  "base": "org.godotengine.godot.BaseApp",
  "base-version": "4.7",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "material-maker",
  "rename-icon": "icon",
  "rename-appdata-file": "io.github.RodZill4.Material-Maker.appdata.xml",
  "finish-args": [
   "--share=ipc",
   "--socket=x11",
   "--filesystem=home",
   "--device=dri",
   "--share=network"
  ],
  "modules": [
   {
    "name": "material-maker-pack",
    "buildsystem": "simple",
    "sources": [
     {
      "type": "archive",
      "sha256": "0b1a6c54c2c619c12e169fe9241edda4b81080b519451cec2984bf0d2c6cb73c",
      "url": "https://github.com/godotengine/godot/releases/download/4.7-stable/Godot_v4.7-stable_linux.x86_64.zip"
     },
     {
      "type": "archive",
      "sha256": "6c662ae5dedaee7eb33736d6d8b094f9fb65297d57fef4f5991fbf9504c0a3ca",
      "url": "https://github.com/RodZill4/material-maker/archive/refs/tags/1.7.tar.gz",
      "dest": "material-maker"
     }
    ],
    "build-commands": [
     "./Godot_v4.7-stable_linux.x86_64 --headless -v --path material-maker --export-pack \"Linux/X11\" material-maker.pck",
     "install -Dm644 material-maker/material-maker.pck /app/bin/material-maker.pck"
    ]
   },
   {
    "name": "material-maker",
    "buildsystem": "simple",
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/RodZill4/material-maker/releases/download/1.7/material_maker_1_7_linux.tar.gz",
      "sha256": "c8e3b6f1993540875d26fe49645c91511bba36cda0412c715bd13249f7141647"
     },
     {
      "type": "script",
      "dest-filename": "material_maker.sh",
      "commands": [
       "cd /app/bin/",
       "/app/bin/godot-runner --audio-driver Dummy --main-pack /app/bin/material-maker.pck \"$@\""
      ]
     },
     {
      "type": "file",
      "url": "https://github.com/RodZill4/material-maker/raw/1.7/icon.png",
      "sha256": "72ee1a0fc59b798b8849eb9bd0cb7b67fd9ee3ff41645f90c2ca98168f3619ef"
     },
     {
      "type": "file",
      "url": "https://github.com/RodZill4/material-maker/raw/1.7/material_maker/misc/linux/io.github.RodZill4.Material-Maker.desktop",
      "sha256": "381e6425233d0aa3786c5583a2415d0d20b828481fa93dceac1e4376481d1330"
     },
     {
      "type": "file",
      "path": "io.github.RodZill4.Material-Maker.appdata.xml"
     }
    ],
    "build-commands": [
     "install -Dm755 material_maker.sh /app/bin/material-maker",
     "mv {examples,library,nodes,doc,environments,meshes,export}/ /app/bin/",
     "install -Dm644 icon.png -t /app/share/icons/hicolor/256x256/apps/",
     "install -Dm644 io.github.RodZill4.Material-Maker.desktop -t /app/share/applications/",
     "install -Dm644 io.github.RodZill4.Material-Maker.appdata.xml -t /app/share/appdata/"
    ]
   }
  ]
 }
}