{
 "app_id": "io.github.guillaumechereau.Goxel",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.guillaumechereau.Goxel/master/io.github.guillaumechereau.Goxel.json",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--device=dri",
  "--filesystem=xdg-documents"
 ],
 "module_count": 3,
 "fetched_at": "2026-09-17T16:11:10.158463+00:00",
 "manifest": {
  "id": "io.github.guillaumechereau.Goxel",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "goxel",
  "rename-icon": "goxel",
  "rename-desktop-file": "goxel.desktop",
  "finish-args": [
   "--socket=wayland",
   "--socket=fallback-x11",
   "--share=ipc",
   "--device=dri",
   "--filesystem=xdg-documents"
  ],
  "cleanup": [
   "/lib/cmake"
  ],
  "modules": [
   {
    "name": "scons",
    "cleanup": [
     "*"
    ],
    "buildsystem": "simple",
    "build-commands": [
     "python -mpip install . --no-index --find-links=file://${PWD} --prefix=${FLATPAK_DEST} --no-build-isolation",
     "sed -i '1 s/python/python3/' /app/bin/scons"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/SCons/scons/archive/refs/tags/4.10.1.tar.gz",
      "sha256": "086a9cd78847a43c17138c11e7e93234a96985d0d346563521fa8db28f5bee96",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 4770,
       "url-template": "https://github.com/SCons/scons/archive/refs/tags/4.10.1.tar.gz"
      }
     }
    ]
   },
   {
    "name": "glfw",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DGLFW_BUILD_DOCS=OFF",
     "-DBUILD_SHARED_LIBS:BOOL=ON"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/glfw/glfw/releases/download/3.4/glfw-3.4.zip",
      "sha256": "b5ec004b2712fd08e8861dc271428f048775200a2df719ccf575143ba749a3e9",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 1180,
       "url-template": "https://github.com/glfw/glfw/releases/download/$version/glfw-$version.zip"
      }
     }
    ],
    "cleanup": [
     "/include",
     "/lib/pkgconfig"
    ]
   },
   {
    "name": "goxel",
    "no-autogen": true,
    "build-options": {
     "cflags": "-Wno-error -Wno-stringop-overflow"
    },
    "make-args": [
     "release"
    ],
    "make-install-args": [
     "PREFIX=/app"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/guillaumechereau/goxel/archive/v0.15.1.tar.gz",
      "sha256": "01c9601ac9d8d38e29d3adff4b79a26c2b9fea4c2d2cb1d134471e499f8c4a84",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 12163,
       "url-template": "https://github.com/guillaumechereau/goxel/archive/v$version.tar.gz"
      }
     },
     {
      "type": "file",
      "path": "io.github.guillaumechereau.Goxel.appdata.xml",
      "dest": "snap/gui/",
      "dest-filename": "io.github.guillaumechereau.Goxel.appdata.xml"
     }
    ]
   }
  ]
 }
}