{
 "app_id": "io.github.pleromix.IceBox",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.pleromix.IceBox/master/io.github.pleromix.IceBox.yaml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "24.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=x11",
  "--device=dri",
  "--filesystem=xdg-documents",
  "--filesystem=xdg-pictures",
  "--filesystem=xdg-download"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-17T16:11:56.654469+00:00",
 "manifest": {
  "app-id": "io.github.pleromix.IceBox",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "24.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "run.sh",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.openjdk21"
  ],
  "finish-args": [
   "--share=ipc",
   "--device=dri",
   "--socket=x11",
   "--env=PATH=/app/jre/bin:/app/bin:/usr/bin",
   "--filesystem=xdg-pictures",
   "--filesystem=xdg-documents",
   "--filesystem=xdg-download"
  ],
  "modules": [
   {
    "name": "icebox",
    "buildsystem": "simple",
    "build-commands": [
     "/usr/lib/sdk/openjdk21/install.sh",
     "install -d /app/openjfx",
     "cp -r openjfx/lib/* /app/openjfx/",
     "install -Dm644 icebox.jar /app/icebox.jar",
     "install -Dm755 run.sh /app/bin/run.sh",
     "install -Dm644 source/io.github.pleromix.IceBox.metainfo.xml /app/share/metainfo/io.github.pleromix.IceBox.metainfo.xml",
     "install -Dm644 source/io.github.pleromix.IceBox.desktop /app/share/applications/io.github.pleromix.IceBox.desktop",
     "install -Dm644 source/io.github.pleromix.IceBox.svg /app/share/icons/hicolor/scalable/apps/io.github.pleromix.IceBox.svg"
    ],
    "cleanup": [
     "/openjfx/javafx.web.jar",
     "/openjfx/libjfxwebkit.so",
     "/openjfx/javafx.swing.jar",
     "/openjfx/javafx-swt.jar",
     "/openjfx/javafx.media.jar",
     "/openjfx/libjfxmedia.so",
     "/openjfx/libgstreamer-lite.so",
     "/openjfx/libfxplugins.so",
     "/openjfx/libavplugin-*.so"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/pleromix/IceBox",
      "commit": "e652e365440d26cf2603172860b1b587d86e775f",
      "tag": "v1.1.3",
      "dest": "source"
     },
     {
      "type": "file",
      "url": "https://github.com/pleromix/IceBox/releases/download/v1.1.3/icebox.jar",
      "sha256": "f2d8228a1956dcc43e39007a5d5d81740db86d68ed10572049e5d5f93fc5d04a"
     },
     {
      "type": "archive",
      "url": "https://download2.gluonhq.com/openjfx/20.0.2/openjfx-20.0.2_linux-x64_bin-sdk.zip",
      "sha256": "203718dd386dbd905b5f3412cd9644c531b261531b0ef19a4d1bc199da811b62",
      "dest": "openjfx",
      "strip-components": 1,
      "only-arches": [
       "x86_64"
      ]
     },
     {
      "type": "archive",
      "url": "https://download2.gluonhq.com/openjfx/20.0.2/openjfx-20.0.2_linux-aarch64_bin-sdk.zip",
      "sha256": "dcdd4f47976556fec2e1cc54f207ceafb5ee3ef5cb4f64e44bc17639b62b7a99",
      "dest": "openjfx",
      "strip-components": 1,
      "only-arches": [
       "aarch64"
      ]
     },
     {
      "type": "file",
      "path": "run.sh"
     }
    ]
   }
  ]
 }
}