{
 "app_id": "com.adamcake.Bolt",
 "source_url": "https://raw.githubusercontent.com/flathub/com.adamcake.Bolt/master/com.adamcake.Bolt.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=pulseaudio",
  "--socket=wayland",
  "--socket=x11",
  "--device=dri",
  "--filesystem=xdg-run/app/com.discordapp.Discord",
  "--filesystem=xdg-data/icons:create",
  "--filesystem=xdg-run/discord-ipc-0",
  "--allow=multiarch",
  "--talk-name=org.freedesktop.Notifications"
 ],
 "module_count": 7,
 "fetched_at": "2026-09-20T11:37:56.442699+00:00",
 "manifest": {
  "app-id": "com.adamcake.Bolt",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "bolt",
  "build_options": {
   "cflags": "-O3",
   "cflags-override": true,
   "cppflags": "-O3",
   "cppflags-override": true,
   "cxxflags": "-O3",
   "cxxflags-override": true
  },
  "finish-args": [
   "--device=dri",
   "--share=ipc",
   "--socket=x11",
   "--socket=wayland",
   "--socket=pulseaudio",
   "--share=network",
   "--allow=multiarch",
   "--env=JAVA_HOME=/app/jre",
   "--talk-name=org.freedesktop.Notifications",
   "--filesystem=xdg-data/icons:create",
   "--filesystem=xdg-run/app/com.discordapp.Discord",
   "--filesystem=xdg-run/discord-ipc-0"
  ],
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.openjdk21"
  ],
  "add-build-extensions": {
   "org.freedesktop.Sdk.Extension.node22": {
    "version": "25.08",
    "remove-after-build": true
   }
  },
  "modules": [
   {
    "name": "krb5",
    "buildsystem": "simple",
    "build-commands": [
     "autoreconf",
     "./configure --prefix=/app",
     "make -j $FLATPAK_BUILDER_N_JOBS",
     "make install"
    ],
    "subdir": "src",
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/krb5/krb5.git",
      "tag": "krb5-1.22.1-final",
      "commit": "4272fb71b130e50185a7711769a6296a4e562a5d"
     }
    ]
   },
   {
    "name": "openjdk",
    "buildsystem": "simple",
    "build-commands": [
     "/usr/lib/sdk/openjdk21/install.sh"
    ]
   },
   "shared-modules/gtk2/gtk2.json",
   {
    "name": "openssl",
    "buildsystem": "simple",
    "build-commands": [
     "./config --prefix=/app --openssldir=/app/ssl shared zlib",
     "make -j $FLATPAK_BUILDER_N_JOBS",
     "make install_sw"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/openssl/openssl.git",
      "tag": "OpenSSL_1_1_1w",
      "commit": "e04bd3433fd84e1861bf258ea37928d9845e6a86"
     }
    ]
   },
   {
    "name": "luajit",
    "buildsystem": "simple",
    "build-commands": [
     "make -j $FLATPAK_BUILDER_N_JOBS",
     "make PREFIX=/app install"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/LuaJIT/LuaJIT.git",
      "tag": "v2.1.ROLLING",
      "commit": "2090842410e0ba6f81fad310a77bf5432488249a"
     }
    ]
   },
   {
    "name": "wine-staging",
    "buildsystem": "simple",
    "build-commands": [
     "mkdir -p wine-staging",
     "tar xf wine-staging.tar.xz -C wine-staging --strip-components=1",
     "cp -r wine-staging/bin/* /app/bin/",
     "cp -r wine-staging/lib/* /app/lib/",
     "cp -r wine-staging/share/* /app/share/"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://github.com/Kron4ek/Wine-Builds/releases/download/11.1/wine-11.1-staging-amd64-wow64.tar.xz",
      "dest-filename": "wine-staging.tar.xz",
      "sha256": "65d83e5ea0fb71cc88c54e19b7d694eeba67fc25dad73a38e58acd90de9e2f5b"
     }
    ]
   },
   {
    "name": "bolt",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release",
     "-DBOLT_META_NAME=com.adamcake.Bolt",
     "-DBOLT_BINDIR=bin",
     "-DBOLT_LIBDIR=lib",
     "-DBOLT_SHAREDIR=share"
    ],
    "sources": [
     {
      "type": "archive",
      "only-arches": [
       "x86_64"
      ],
      "url": "https://adamcake.com/cef/cef-139.0.7258.139-linux-x86_64-minimal-ungoogled-flatpak-25.08.tar.gz",
      "sha256": "a7e8ca9afef73f58cb61120653c2bb9949a229232d5df42925ca83a2abc91bd4",
      "dest": "cef/dist"
     },
     {
      "type": "archive",
      "only-arches": [
       "aarch64"
      ],
      "url": "https://adamcake.com/cef/cef-139.0.7258.139-linux-aarch64-minimal-ungoogled-flatpak-25.08.tar.gz",
      "sha256": "f2926c4de6eebb9d50c54426846d1162c53c7013381577f641ca8ef4461d405c",
      "dest": "cef/dist"
     },
     {
      "type": "git",
      "url": "https://codeberg.org/Adamcake/Bolt",
      "tag": "0.24.0",
      "commit": "d8589d80f9849e51f121646e31daa5be7038da28"
     }
    ]
   }
  ]
 }
}