{
 "app_id": "io.github.Icalingua.Icalingua",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.Icalingua.Icalingua/master/io.github.Icalingua.Icalingua.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--socket=pulseaudio",
  "--device=dri",
  "--filesystem=xdg-documents:ro",
  "--filesystem=xdg-download",
  "--talk-name=org.kde.StatusNotifierWatcher",
  "--talk-name=org.freedesktop.Notifications",
  "--talk-name=com.canonical.AppMenu.Registrar"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-17T16:10:19.173612+00:00",
 "manifest": {
  "app-id": "io.github.Icalingua.Icalingua",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "base": "org.electronjs.Electron2.BaseApp",
  "base-version": "25.08",
  "separate-locales": false,
  "rename-icon": "icalingua",
  "rename-desktop-file": "icalingua.desktop",
  "command": "icalingua",
  "finish-args": [
   "--share=ipc",
   "--socket=x11",
   "--socket=pulseaudio",
   "--device=dri",
   "--share=network",
   "--persist=.pki",
   "--filesystem=xdg-documents:ro",
   "--filesystem=xdg-download",
   "--talk-name=org.freedesktop.Notifications",
   "--talk-name=org.kde.StatusNotifierWatcher",
   "--talk-name=com.canonical.AppMenu.Registrar"
  ],
  "modules": [
   {
    "name": "icalingua",
    "buildsystem": "simple",
    "build-options": {
     "no-debuginfo": true
    },
    "build-commands": [
     "bsdtar --to-stdout -xf icalingua.deb data.* | bsdtar -xf -",
     "cp -a opt/Icalingua++ $FLATPAK_DEST/",
     "cp -a usr/share $FLATPAK_DEST/",
     "desktop-file-edit --set-key=\"Exec\" --set-value=\"icalingua %U\" $FLATPAK_DEST/share/applications/*.desktop",
     "install -Dm644 $FLATPAK_ID.appdata.xml -t /app/share/metainfo",
     "install -Dm755 icalingua.sh /app/bin/icalingua"
    ],
    "sources": [
     {
      "type": "file",
      "only-arches": [
       "x86_64"
      ],
      "dest-filename": "icalingua.deb",
      "url": "https://github.com/Icalingua-plus-plus/Icalingua-plus-plus/releases/download/v2.12.28/icalingua_2.12.28_amd64.deb",
      "sha256": "a74af5222d99f299281dd262efc7b75e977cd1fe3802111dafb54dfdba0eb6a7",
      "x-checker-data": {
       "type": "json",
       "is-main-source": true,
       "url": "https://api.github.com/repos/Icalingua-plus-plus/Icalingua-plus-plus/releases/latest",
       "version-query": ".tag_name | sub(\"^v\"; \"\")",
       "url-query": ".assets[] | select(.name==\"icalingua_\" + $version + \"_amd64.deb\") | .browser_download_url"
      }
     },
     {
      "type": "file",
      "only-arches": [
       "aarch64"
      ],
      "dest-filename": "icalingua.deb",
      "url": "https://github.com/Icalingua-plus-plus/Icalingua-plus-plus/releases/download/v2.12.28/icalingua_2.12.28_arm64.deb",
      "sha256": "a52c828836c7c7158ebef1a07859ccfb18b1bef5bffc3eb16066949606009ce1",
      "x-checker-data": {
       "type": "json",
       "url": "https://api.github.com/repos/Icalingua-plus-plus/Icalingua-plus-plus/releases/latest",
       "version-query": ".tag_name | sub(\"^v\"; \"\")",
       "url-query": ".assets[] | select(.name==\"icalingua_\" + $version + \"_arm64.deb\") | .browser_download_url"
      }
     },
     {
      "type": "file",
      "path": "io.github.Icalingua.Icalingua.appdata.xml"
     },
     {
      "type": "script",
      "dest-filename": "icalingua.sh",
      "commands": [
       "export TMPDIR=$XDG_RUNTIME_DIR/app/$FLATPAK_ID",
       "exec zypak-wrapper.sh /app/Icalingua++/icalingua \"$@\""
      ]
     }
    ]
   }
  ]
 }
}