{
 "app_id": "io.github.yesser_studios.Yesser-Calculator",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.yesser_studios.Yesser-Calculator/master/io.github.yesser_studios.Yesser-Calculator.yaml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=x11",
  "--device=dri"
 ],
 "module_count": 2,
 "fetched_at": "2026-09-17T16:12:35.930760+00:00",
 "manifest": {
  "id": "io.github.yesser_studios.Yesser-Calculator",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.dotnet10"
  ],
  "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"
  },
  "command": "YesserCalculator",
  "finish-args": [
   "--device=dri",
   "--socket=x11",
   "--share=ipc",
   "--env=DOTNET_ROOT=/app/lib/dotnet"
  ],
  "modules": [
   {
    "name": "dotnet",
    "buildsystem": "simple",
    "build-commands": [
     "/usr/lib/sdk/dotnet10/bin/install.sh"
    ]
   },
   {
    "name": "YesserCalculator",
    "buildsystem": "simple",
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/yesser-studios/yesser-calculator.git",
      "tag": "1.3.0",
      "commit": "3fb8001be6210da1717b2c4ec711a77d0579387f"
     },
     "./nuget-sources.json"
    ],
    "build-commands": [
     "dotnet publish YesserCalculator/YesserCalculator.csproj -c Release --no-self-contained --source ./nuget-sources",
     "mkdir -p ${FLATPAK_DEST}/bin",
     "rm -rf YesserCalculator/bin/Release/net10.0/publish/runtimes/win*",
     "rm -rf YesserCalculator/bin/Release/net10.0/publish/runtimes/osx*",
     "rm -rf YesserCalculator/bin/Release/net10.0/publish/runtimes/linux-musl*",
     "rm -rf YesserCalculator/bin/Release/net10.0/publish/runtimes/linux*loongarch64",
     "rm -rf YesserCalculator/bin/Release/net10.0/publish/runtimes/linux*riscv64",
     "cp -r YesserCalculator/bin/Release/net10.0/publish/* ${FLATPAK_DEST}/bin",
     "install -Dm644 flatpak-data/io.github.yesser_studios.Yesser-Calculator.desktop -t ${FLATPAK_DEST}/share/applications/",
     "install -Dm644 flatpak-data/io.github.yesser_studios.Yesser-Calculator.svg -t ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps",
     "install -Dm644 flatpak-data/io.github.yesser_studios.Yesser-Calculator.metainfo.xml -t ${FLATPAK_DEST}/share/metainfo"
    ]
   }
  ]
 }
}