{
 "app_id": "com.jpexs.decompiler.flash",
 "source_url": "https://raw.githubusercontent.com/flathub/com.jpexs.decompiler.flash/master/com.jpexs.decompiler.flash.json",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "24.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=pulseaudio",
  "--socket=x11",
  "--filesystem=home"
 ],
 "module_count": 2,
 "fetched_at": "2026-09-17T16:08:12.246862+00:00",
 "manifest": {
  "app-id": "com.jpexs.decompiler.flash",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "24.08",
  "sdk": "org.freedesktop.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.openjdk8"
  ],
  "command": "ffdec.sh",
  "finish-args": [
   "--share=ipc",
   "--socket=pulseaudio",
   "--socket=x11",
   "--env=PATH=/app/bin:/app/jre/bin:/usr/bin",
   "--env=JAVA_HOME=/app/jre",
   "--filesystem=home"
  ],
  "modules": [
   {
    "name": "openjdk",
    "buildsystem": "simple",
    "build-commands": [
     "/usr/lib/sdk/openjdk8/install.sh"
    ]
   },
   {
    "name": "jpexs.decompiler.flash",
    "buildsystem": "simple",
    "builddir": true,
    "subdir": "jpexs",
    "build-options": {
     "env": {
      "JAVA_HOME": "/app/jre"
     }
    },
    "build-commands": [
     "./make-version-properties.sh",
     "../ant/bin/ant new-version-set build archive",
     "mkdir -p /app/bin",
     "mv dist/* /app/bin",
     "install -Dm755 resources/ffdec.sh -t /app/bin",
     "install -Dm644 resources/icon.png /app/share/icons/hicolor/512x512/apps/${FLATPAK_ID}.png",
     "install -Dm644 ../${FLATPAK_ID}.desktop -t /app/share/applications",
     "install -Dm644 resources/${FLATPAK_ID}.metainfo.xml -t /app/share/metainfo"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/jindrapetrik/jpexs-decompiler.git",
      "tag": "version26.3.0",
      "commit": "b2ef2d3d3f44291a4bdfa899c986bc39a89fa6aa",
      "dest": "jpexs",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^version([\\d.]+)$"
      }
     },
     {
      "type": "file",
      "path": "make-version-properties.sh",
      "dest": "jpexs"
     },
     {
      "type": "archive",
      "url": "https://archive.apache.org/dist/ant/binaries/apache-ant-1.10.9-bin.tar.xz",
      "sha512": "ecb09c83b24f98b9475849548558809ff21c88f8d39fbc3559f24df5fc640a50bbd885681d9c676285d8843bd3dc09a6238189c13a4238ba5c01385a5bd29542",
      "dest": "ant"
     },
     {
      "type": "file",
      "path": "com.jpexs.decompiler.flash.desktop"
     }
    ]
   }
  ]
 }
}