{
 "app_id": "com.wings3d.WINGS",
 "source_url": "https://raw.githubusercontent.com/flathub/com.wings3d.WINGS/master/com.wings3d.WINGS.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=home"
 ],
 "module_count": 6,
 "fetched_at": "2026-09-17T16:09:11.255620+00:00",
 "manifest": {
  "app-id": "com.wings3d.WINGS",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "wings",
  "rename-icon": "wings",
  "rename-appdata-file": "com.wings3d.WINGS.appdata.xml",
  "appdata-license": "Apache-2.0",
  "finish-args": [
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--device=dri",
   "--filesystem=home",
   "--metadata=X-DConf=migrate-path=/com/wings3d/WINGS/"
  ],
  "modules": [
   "shared-modules/glu/glu-9.json",
   {
    "name": "wxWidgets-324",
    "config-opts": [
     "--enable-compat30"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/wxWidgets/wxWidgets/releases/download/v3.2.4/wxWidgets-3.2.4.tar.bz2",
      "sha256": "0640e1ab716db5af2ecb7389dbef6138d7679261fbff730d23845ba838ca133e"
     }
    ]
   },
   {
    "name": "erlang-otp",
    "config-opts": [
     "--disable-pgo",
     "--without-hipe",
     "--without-javac",
     "--without-dialyzer",
     "--without-eldap",
     "--without-snmp",
     "--without-megaco",
     "--without-diameter",
     "--without-os_mon",
     "--without-mnesia",
     "--without-otp_mibs",
     "--without-common-test",
     "--without-debugger",
     "--without-edoc",
     "--without-erl_docgen",
     "--without-et",
     "--without-eunit",
     "--without-ftp",
     "--without-parsetools",
     "--without-reltool",
     "--without-ssh",
     "--without-syntax_tools",
     "--without-tftp",
     "--without-tools"
    ],
    "build-options": {
     "no-debuginfo": true
    },
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/erlang/otp/releases/download/OTP-27.2/otp_src_27.2.tar.gz",
      "sha256": "b66c2cc4fa2c87211b668e4486d4f3e5b1b6705698873ea3e6d9850801ac992d"
     }
    ]
   },
   {
    "name": "rebar3",
    "buildsystem": "simple",
    "build-commands": [
     "install -D rebar3 /app/bin/rebar3"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://github.com/erlang/rebar3/releases/download/3.24.0/rebar3",
      "sha256": "d2d31cfb98904b8e4917300a75f870de12cb5167cd6214d1043e973a56668a54"
     }
    ]
   },
   {
    "name": "opencl-headers",
    "buildsystem": "simple",
    "build-commands": [
     "cp -av CL /app/include/",
     "install -p -D -m 0644 LICENSE -t ${FLATPAK_DEST}/share/licenses/opencl-headers/"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/KhronosGroup/OpenCL-Headers.git",
      "tag": "v2025.07.22",
      "commit": "8a97ebc88daa3495d6f57ec10bb515224400186f"
     }
    ]
   },
   {
    "name": "cl",
    "buildsystem": "simple",
    "build-commands": [
     "rebar3 compile || erlc -oebin srcExec=wings %f/' /app/lib/wings-*/wings.desktop",
     "install -Dm644 /app/lib/wings-*/wings.desktop /app/share/applications/com.wings3d.WINGS.desktop",
     "install -Dm644 /app/lib/wings-*/wings.appdata.xml /app/share/metainfo/com.wings3d.WINGS.appdata.xml",
     "install -Dm644 /app/lib/wings-*/lib/wings*/ebin/wings_icon_48x48.png /app/share/icons/hicolor/48x48/apps/wings.png",
     "install -Dm644 /app/lib/wings-*/lib/wings*/ebin/wings_icon_256x256.png /app/share/icons/hicolor/256x256/apps/wings.png",
     "install /app/lib/wings-*/wings /app/bin"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/dgud/wings.git",
      "tag": "v2.4.1",
      "commit": "a5ca80d15e415baf1199a80a28a2b9f3a74d2db8"
     }
    ]
   }
  ]
 }
}