{
 "app_id": "de.willuhn.Jameica",
 "source_url": "https://raw.githubusercontent.com/flathub/de.willuhn.Jameica/master/de.willuhn.Jameica.yaml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--device=dri",
  "--filesystem=home",
  "--talk-name=org.gnome.SessionManager",
  "--talk-name=org.freedesktop.Notifications",
  "--talk-name=org.freedesktop.secrets"
 ],
 "module_count": 2,
 "fetched_at": "2026-09-17T16:09:33.910075+00:00",
 "manifest": {
  "app-id": "de.willuhn.Jameica",
  "default-branch": "stable",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.openjdk17"
  ],
  "command": "jameica-wrapper.sh",
  "finish-args": [
   "--socket=x11",
   "--socket=wayland",
   "--talk-name=org.freedesktop.Notifications",
   "--talk-name=org.freedesktop.secrets",
   "--talk-name=org.gnome.SessionManager",
   "--share=ipc",
   "--share=network",
   "--device=dri",
   "--env=PATH=/usr/bin:/app/bin:/app/jre/bin",
   "--env=JAVA_HOME=/app/jre",
   "--filesystem=home:rw"
  ],
  "modules": [
   {
    "name": "openjdk",
    "buildsystem": "simple",
    "build-commands": [
     "/usr/lib/sdk/openjdk17/install.sh"
    ]
   },
   {
    "name": "jameica",
    "buildsystem": "simple",
    "build-commands": [
     "install -Dm755 -t /app/bin jameica-wrapper.sh",
     "mv jameica /app/",
     "mkdir -p /app/share/icons/hicolor/256x256/apps",
     "install -Dm644 -t /app/share/icons/hicolor/256x256/apps/ de.willuhn.Jameica.png",
     "install -Dm644 -t /app/share/metainfo de.willuhn.Jameica.metainfo.xml",
     "install -Dm644 -t /app/share/applications de.willuhn.Jameica.desktop"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://willuhn.de/products/jameica/releases/current/jameica/jameica-linux64-2.12.0.zip",
      "sha256": "d5abbd1f8ce4c799e50669e6f4cb7deebf7af3343891e24ff36377ac4ea4192a",
      "dest": "jameica",
      "only-arches": [
       "x86_64"
      ],
      "x-checker-data": {
       "type": "html",
       "url": "https://willuhn.de/products/jameica/download.php",
       "pattern": "<a href=\"(releases/current/jameica/jameica-linux64-([\\d\\.]+\\d).zip)\">jameica-linux64-[\\d\\.]+\\d.zip</a>"
      }
     },
     {
      "type": "archive",
      "url": "https://willuhn.de/products/jameica/releases/current/jameica/jameica-linuxarm64-2.12.0.zip",
      "sha256": "f924f2c1f286abb6b18c199adae8e6531aa33ca9f0cbb1ac74b85d83f687a466",
      "dest": "jameica",
      "only-arches": [
       "aarch64"
      ],
      "x-checker-data": {
       "type": "html",
       "url": "https://willuhn.de/products/jameica/download.php",
       "pattern": "<a href=\"(releases/current/jameica/jameica-linuxarm64-([\\d\\.]+\\d).zip)\">jameica-linuxarm64-[\\d\\.]+\\d.zip</a>"
      }
     },
     {
      "type": "file",
      "path": "jameica-wrapper.sh"
     },
     {
      "type": "file",
      "path": "de.willuhn.Jameica.desktop"
     },
     {
      "type": "file",
      "path": "de.willuhn.Jameica.metainfo.xml"
     },
     {
      "type": "file",
      "path": "de.willuhn.Jameica.png"
     }
    ]
   }
  ]
 }
}