{
 "app_id": "page.kramo.Sly",
 "source_url": "https://raw.githubusercontent.com/flathub/page.kramo.Sly/master/page.kramo.Sly.json",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "24.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--device=dri"
 ],
 "module_count": 2,
 "fetched_at": "2026-09-17T16:17:14.401476+00:00",
 "manifest": {
  "//": "# DO NOT EDIT..# Any changes will be overwritten..#.# Generated by flatpak-flutter v0.15.0.# Source: ./flatpak-flutter.json.#.# Visit the project at https://github.com/TheAppgineer/flatpak-flutter..",
  "app-id": "page.kramo.Sly",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "24.08",
  "sdk": "org.freedesktop.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.llvm19"
  ],
  "command": "sly",
  "separate-locales": false,
  "finish-args": [
   "--device=dri",
   "--share=ipc",
   "--socket=wayland",
   "--socket=fallback-x11"
  ],
  "cleanup-commands": [
   "rm -r /var/lib/*"
  ],
  "modules": [
   {
    "name": "Sly",
    "buildsystem": "simple",
    "build-options": {
     "arch": {
      "x86_64": {
       "env": {
        "BUNDLE_PATH": "/run/build/Sly/build/linux/x64/release/bundle"
       }
      },
      "aarch64": {
       "env": {
        "BUNDLE_PATH": "/run/build/Sly/build/linux/arm64/release/bundle"
       }
      }
     },
     "append-path": "/usr/lib/sdk/llvm19/bin:/var/lib/flutter/bin",
     "prepend-ld-library-path": "/usr/lib/sdk/llvm19/lib",
     "env": {
      "PUB_CACHE": "/run/build/Sly/.pub-cache"
     }
    },
    "build-commands": [
     "setup-flutter.sh",
     "flutter build linux --release --no-pub",
     "install -d \"${FLATPAK_DEST}/lib\"",
     "cp -r $BUNDLE_PATH/lib/* \"${FLATPAK_DEST}/lib/\"",
     "install -d \"${FLATPAK_DEST}/data\"",
     "cp -r $BUNDLE_PATH/data/* \"${FLATPAK_DEST}/data/\"",
     "install -d \"${FLATPAK_DEST}/bin\"",
     "install -Dm755 $BUNDLE_PATH/sly \"${FLATPAK_DEST}/sly\"",
     "ln -s \"${FLATPAK_DEST}/sly\" \"${FLATPAK_DEST}/bin/sly\"",
     "install -Dm644 linux/${FLATPAK_ID}.desktop \"${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop\"",
     "install -Dm644 linux/flatpak/${FLATPAK_ID}.metainfo.xml \"${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.metainfo.xml\"",
     "install -Dm644 linux/flatpak/${FLATPAK_ID}.svg \"${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.svg\"",
     "install -Dm644 linux/flatpak/${FLATPAK_ID}-symbolic.svg \"${FLATPAK_DEST}/share/icons/hicolor/symbolic/apps/${FLATPAK_ID}-symbolic.svg\""
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://codeberg.org/Sly/Sly",
      "tag": "v1.1.2",
      "commit": "2cd3004c2ab5aec966b8f1cca09a96d13198bab8"
     },
     "generated/sources/pubspec.json"
    ],
    "modules": [
     "generated/modules/flutter-sdk-3.44.4.json"
    ]
   }
  ]
 }
}