{
 "app_id": "com.cburch.Logisim",
 "source_url": "https://raw.githubusercontent.com/flathub/com.cburch.Logisim/master/com.cburch.Logisim.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=x11",
  "--device=dri",
  "--filesystem=home"
 ],
 "module_count": 2,
 "fetched_at": "2026-09-17T16:07:02.937133+00:00",
 "manifest": {
  "app-id": "com.cburch.Logisim",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": 25.08,
  "sdk": "org.freedesktop.Sdk",
  "command": "logisim",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.openjdk17"
  ],
  "finish-args": [
   "--share=ipc",
   "--socket=x11",
   "--device=dri",
   "--filesystem=home",
   "--env=PATH=/usr/bin:/app/bin:/app/jre/bin"
  ],
  "modules": [
   {
    "name": "openjdk",
    "buildsystem": "simple",
    "build-commands": [
     "/usr/lib/sdk/openjdk17/install.sh"
    ]
   },
   {
    "name": "logisim",
    "buildsystem": "simple",
    "build-commands": [
     "install -D logisim /app/bin/logisim",
     "install -D logisim-generic-2.7.1.jar /app/share/logisim.jar",
     "install -Dm644 com.cburch.Logisim.svg -t /app/share/icons/hicolor/scalable/apps/",
     "install -Dm644 com.cburch.Logisim.desktop -t /app/share/applications/",
     "install -Dm644 com.cburch.Logisim.metainfo.xml -t /app/share/metainfo/"
    ],
    "sources": [
     {
      "type": "script",
      "dest-filename": "logisim",
      "commands": [
       "exec java -jar /app/share/logisim.jar"
      ]
     },
     {
      "type": "file",
      "url": "https://sourceforge.net/projects/circuit/files/2.7.x/2.7.1/logisim-generic-2.7.1.jar",
      "sha256": "362a78c12ad18c203fed868872c4a01cd9c12141379d92e892bbe2c37e627bc2"
     },
     {
      "type": "file",
      "url": "https://raw.githubusercontent.com/Dimitry-bit/logisim-flathub/main/com.cburch.Logisim.svg",
      "sha256": "05116384c83f3d5676c4d34cfa968619a5a84d13da4a85a918fb0df21fde359d"
     },
     {
      "type": "file",
      "url": "https://raw.githubusercontent.com/Dimitry-bit/logisim-flathub/main/com.cburch.Logisim.desktop",
      "sha256": "2f1fe567ec45f0e82e963f72d4b113581a56a14b4c0941544b34e6f582f77dea"
     },
     {
      "type": "file",
      "path": "com.cburch.Logisim.metainfo.xml"
     }
    ]
   }
  ]
 }
}