{
 "app_id": "com.jetbrains.IntelliJ-IDEA-Community",
 "source_url": "https://raw.githubusercontent.com/flathub/com.jetbrains.IntelliJ-IDEA-Community/master/com.jetbrains.IntelliJ-IDEA-Community.json",
 "runtime": "org.freedesktop.Sdk",
 "runtime_version": "26.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=gpg-agent",
  "--socket=pulseaudio",
  "--socket=ssh-auth",
  "--socket=wayland",
  "--device=all",
  "--filesystem=home",
  "--filesystem=xdg-run/docker",
  "--filesystem=xdg-run/keyring",
  "--filesystem=xdg-run/podman",
  "--talk-name=org.freedesktop.Notifications",
  "--talk-name=org.freedesktop.secrets",
  "--talk-name=org.freedesktop.FileManager1"
 ],
 "module_count": 3,
 "fetched_at": "2026-09-17T16:08:06.636852+00:00",
 "manifest": {
  "id": "com.jetbrains.IntelliJ-IDEA-Community",
  "runtime": "org.freedesktop.Sdk",
  "runtime-version": "26.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "idea-wrapper",
  "finish-args": [
   "--device=all",
   "--env=JAVA_HOME=/app/jbr",
   "--filesystem=home",
   "--filesystem=xdg-run/docker",
   "--filesystem=xdg-run/keyring",
   "--filesystem=xdg-run/podman",
   "--share=ipc",
   "--share=network",
   "--socket=ssh-auth",
   "--socket=gpg-agent",
   "--socket=pulseaudio",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--talk-name=org.freedesktop.Notifications",
   "--talk-name=org.freedesktop.secrets",
   "--talk-name=org.freedesktop.FileManager1"
  ],
  "modules": [
   {
    "name": "idea",
    "build-commands": [
     "cp -a idea-*/* ${FLATPAK_DEST}",
     "cat idea.properties >> ${FLATPAK_DEST}/bin/idea.properties",
     "install -Dm644 -t ${FLATPAK_DEST}/share/applications/ ${FLATPAK_ID}.desktop",
     "install -Dm644 -t ${FLATPAK_DEST}/share/metainfo/ ${FLATPAK_ID}.metainfo.xml",
     "install -Dm644 -t ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/ ${FLATPAK_ID}.svg"
    ],
    "buildsystem": "simple",
    "sources": [
     {
      "type": "archive",
      "strip-components": 0,
      "only-arches": [
       "aarch64"
      ],
      "sha256": "c771b64cc7691928f3177a018cac4833b3a014d22ff25de789076d440c7d4e4c",
      "url": "https://github.com/JetBrains/intellij-community/releases/download/idea/2026.2.3/idea-2026.2.3-aarch64.tar.gz",
      "x-checker-data": {
       "type": "json",
       "url": "https://api.github.com/repos/JetBrains/intellij-community/releases",
       "version-query": "first(.[] | select(.tag_name | test(\"^idea/\"))).tag_name | sub(\"^idea/\"; \"\")",
       "url-query": "first(.[] | select(.tag_name | test(\"^idea/\"))).assets[] | select(.name==\"idea-\" + $version + \"-aarch64.tar.gz\") | .browser_download_url",
       "is-main-source": true
      }
     },
     {
      "type": "archive",
      "strip-components": 0,
      "only-arches": [
       "x86_64"
      ],
      "sha256": "c820f8a56d192beb344cd8546b33713340130982b2fe6f90b837cb7df5979f20",
      "url": "https://github.com/JetBrains/intellij-community/releases/download/idea/2026.2.3/idea-2026.2.3.tar.gz",
      "x-checker-data": {
       "type": "json",
       "url": "https://api.github.com/repos/JetBrains/intellij-community/releases",
       "version-query": "first(.[] | select(.tag_name | test(\"^idea/\"))).tag_name | sub(\"^idea/\"; \"\")",
       "url-query": "first(.[] | select(.tag_name | test(\"^idea/\"))).assets[] | select(.name==\"idea-\" + $version + \".tar.gz\") | .browser_download_url",
       "is-main-source": true
      }
     },
     {
      "type": "file",
      "path": "com.jetbrains.IntelliJ-IDEA-Community.desktop"
     },
     {
      "type": "file",
      "path": "com.jetbrains.IntelliJ-IDEA-Community.metainfo.xml"
     },
     {
      "type": "file",
      "path": "idea.properties"
     },
     {
      "type": "file",
      "path": "com.jetbrains.IntelliJ-IDEA-Community.svg"
     }
    ]
   },
   {
    "name": "dbus",
    "buildsystem": "meson",
    "config-opts": [
     "-Dtools=true",
     "-Dmessage_bus=false",
     "-Dsystemd=disabled",
     "-Dx11_autolaunch=disabled"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://dbus.freedesktop.org/releases/dbus/dbus-1.16.2.tar.xz",
      "sha256": "0ba2a1a4b16afe7bceb2c07e9ce99a8c2c3508e5dec290dbb643384bd6beb7e2",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 5356,
       "stable-only": true,
       "url-template": "https://dbus.freedesktop.org/releases/dbus/dbus-$version.tar.xz"
      }
     }
    ]
   },
   {
    "name": "ide-flatpak-wrapper",
    "buildsystem": "meson",
    "config-opts": [
     "-Deditor_binary=/app/bin/idea",
     "-Deditor_title=IntelliJ IDEA Open",
     "-Dprogram_name=idea-wrapper",
     "-Dfirst_run_template=README.md",
     "-Dflagfile_prefix=flatpak-idea"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/flathub/ide-flatpak-wrapper.git",
      "commit": "a9d22d1b36fc8bb814c77d70957715bbc5840f83"
     },
     {
      "type": "file",
      "path": "README.md"
     }
    ]
   }
  ]
 }
}