{
 "app_id": "io.github.BrisklyDev.Brisk",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.BrisklyDev.Brisk/master/io.github.BrisklyDev.Brisk.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "24.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--device=dri",
  "--filesystem=xdg-download",
  "--talk-name=org.kde.StatusNotifierWatcher",
  "--talk-name=org.freedesktop.Notifications"
 ],
 "module_count": 5,
 "fetched_at": "2026-09-19T12:39:31.846111+00:00",
 "manifest": {
  "id": "io.github.BrisklyDev.Brisk",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "24.08",
  "sdk": "org.freedesktop.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.llvm19"
  ],
  "command": "brisk",
  "finish-args": [
   "--socket=fallback-x11",
   "--socket=wayland",
   "--share=network",
   "--share=ipc",
   "--device=dri",
   "--filesystem=xdg-download",
   "--talk-name=org.freedesktop.Notifications",
   "--talk-name=org.kde.StatusNotifierWatcher"
  ],
  "cleanup": [
   "/var/lib"
  ],
  "modules": [
   "shared-modules/libayatana-appindicator/libayatana-appindicator-gtk3.json",
   {
    "name": "keybinder",
    "buildsystem": "autotools",
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/kupferlauncher/keybinder/releases/download/keybinder-3.0-v0.3.2/keybinder-3.0-0.3.2.tar.gz",
      "sha256": "e6e3de4e1f3b201814a956ab8f16dfc8a262db1937ff1eee4d855365398c6020"
     }
    ]
   },
   {
    "name": "Brisk",
    "buildsystem": "simple",
    "build-options": {
     "arch": {
      "x86_64": {
       "env": {
        "BUNDLE_PATH": "build/linux/x64/release/bundle"
       }
      },
      "aarch64": {
       "env": {
        "BUNDLE_PATH": "build/linux/arm64/release/bundle"
       }
      }
     },
     "append-path": "/usr/lib/sdk/llvm19/bin:/var/lib/rustup/bin:/var/lib/flutter/bin",
     "prepend-ld-library-path": "/usr/lib/sdk/llvm19/lib",
     "env": {
      "CARGO_HOME": "/run/build/Brisk/cargo",
      "RUSTUP_HOME": "/var/lib/rustup",
      "PUB_CACHE": "/run/build/Brisk/.pub-cache"
     }
    },
    "build-commands": [
     "setup-flutter.sh -C .",
     "flutter build linux --release",
     "install -Dm644 .github/io.github.BrisklyDev.Brisk.appdata.xml /app/share/appdata/io.github.BrisklyDev.Brisk.appdata.xml",
     "install -D $BUNDLE_PATH/brisk /app/bin/brisk",
     "cp -r $BUNDLE_PATH/lib /app/bin/lib",
     "cp -r $BUNDLE_PATH/data /app/bin/data",
     "install -Dm644 assets/icons/logo-128.png /app/share/icons/hicolor/128x128/apps/io.github.BrisklyDev.Brisk.png",
     "install -Dm644 assets/icons/tray-inactive-dark.png /app/share/icons/hicolor/128x128/apps/io.github.BrisklyDev.Brisk.trayInactiveDark.png",
     "install -Dm644 assets/icons/tray-inactive-light.png /app/share/icons/hicolor/128x128/apps/io.github.BrisklyDev.Brisk.trayInactiveLight.png",
     "install -Dm644 assets/icons/tray-active.png /app/share/icons/hicolor/128x128/apps/io.github.BrisklyDev.Brisk.trayActive.png",
     "desktop-file-edit linux/brisk.desktop --set-icon=io.github.BrisklyDev.Brisk",
     "install -Dm644 linux/brisk.desktop /app/share/applications/io.github.BrisklyDev.Brisk.desktop"
    ],
    "sources": [
     "pubspec-sources.json",
     "cargo-sources.json",
     {
      "type": "git",
      "url": "https://github.com/BrisklyDev/brisk.git",
      "tag": "v2.3.9",
      "commit": "517c669953f2e7f261aec45a96b0611d541313fe"
     },
     {
      "type": "patch",
      "path": "run_build_tool.sh.offline.patch"
     }
    ],
    "modules": [
     "flutter-sdk-3.32.0.json",
     "rustup-1.83.0.json"
    ]
   }
  ]
 }
}