{
 "app_id": "io.github.alper_han.crossmacro",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.alper_han.crossmacro/master/io.github.alper_han.crossmacro.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--device=all",
  "--filesystem=xdg-run/hypr:ro",
  "--filesystem=~/.local/share/gnome-shell/extensions:create",
  "--talk-name=org.kde.keyboard",
  "--talk-name=org.gnome.Shell",
  "--talk-name=org.kde.KWin",
  "--talk-name=org.freedesktop.Flatpak"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-17T16:10:34.481943+00:00",
 "manifest": {
  "app-id": "io.github.alper_han.crossmacro",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.dotnet10"
  ],
  "command": "crossmacro",
  "finish-args": [
   "--socket=wayland",
   "--socket=fallback-x11",
   "--share=ipc",
   "--device=all",
   "--talk-name=org.kde.keyboard",
   "--talk-name=org.kde.KWin",
   "--talk-name=org.gnome.Shell",
   "--talk-name=org.freedesktop.Flatpak",
   "--filesystem=xdg-run/hypr:ro",
   "--filesystem=~/.local/share/gnome-shell/extensions:create",
   "--env=CROSSMACRO_FLATPAK=1"
  ],
  "build-options": {
   "prepend-path": "/usr/lib/sdk/dotnet10/bin",
   "append-ld-library-path": "/usr/lib/sdk/dotnet10/lib",
   "prepend-pkg-config-path": "/usr/lib/sdk/dotnet10/lib/pkgconfig",
   "strip": false,
   "env": {
    "DOTNET_CLI_TELEMETRY_OPTOUT": "true",
    "DOTNET_SKIP_FIRST_TIME_EXPERIENCE": "true"
   }
  },
  "cleanup": [
   "*.pdb"
  ],
  "modules": [
   {
    "name": "crossmacro",
    "buildsystem": "simple",
    "build-commands": [
     "case \"${FLATPAK_ARCH:-$(uname -m)}\" in\n  x86_64) rid=linux-x64 ;;\n  aarch64|arm64) rid=linux-arm64 ;;\n  *) echo \"Unsupported Flatpak architecture: ${FLATPAK_ARCH:-$(uname -m)}\" >&2; exit 1 ;;\nesac\ndotnet publish src/CrossMacro.UI.Linux/CrossMacro.UI.Linux.csproj -c Release -r \"$rid\" -p:CrossMacroPublishProfile=native-aot --source nuget-sources --source /usr/lib/sdk/dotnet10/nuget/packages -o /app/lib/crossmacro\nfind /app/lib/crossmacro -type f -name '*.pdb' -delete\nchmod +x /app/lib/crossmacro/CrossMacro.UI\n",
     "install -d /app/bin && ln -s ../lib/crossmacro/CrossMacro.UI /app/bin/crossmacro",
     "install -Dm644 flatpak/io.github.alper_han.crossmacro.desktop /app/share/applications/io.github.alper_han.crossmacro.desktop",
     "install -Dm644 src/CrossMacro.UI/Assets/icons/512x512/apps/crossmacro.png /app/share/icons/hicolor/512x512/apps/io.github.alper_han.crossmacro.png",
     "install -Dm644 src/CrossMacro.UI/Assets/icons/256x256/apps/crossmacro.png /app/share/icons/hicolor/256x256/apps/io.github.alper_han.crossmacro.png",
     "install -Dm644 src/CrossMacro.UI/Assets/icons/128x128/apps/crossmacro.png /app/share/icons/hicolor/128x128/apps/io.github.alper_han.crossmacro.png",
     "install -Dm644 flatpak/io.github.alper_han.crossmacro.metainfo.xml /app/share/metainfo/io.github.alper_han.crossmacro.metainfo.xml",
     "install -Dm644 LICENSE /app/share/licenses/io.github.alper_han.crossmacro/LICENSE"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/alper-han/CrossMacro.git",
      "tag": "v1.5.0",
      "commit": "2f569b0811a8ec3258f2a26b2fabf4c7c6acff42",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^v([\\d.]+)$"
      }
     },
     "nuget-sources.json"
    ]
   }
  ]
 }
}