{
 "app_id": "com.exok.Celeste64",
 "source_url": "https://raw.githubusercontent.com/flathub/com.exok.Celeste64/master/com.exok.Celeste64.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "26.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=pulseaudio",
  "--socket=x11",
  "--device=all"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-17T16:07:19.567795+00:00",
 "manifest": {
  "id": "com.exok.Celeste64",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "26.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "celeste64",
  "finish-args": [
   "--device=all",
   "--env=XCURSOR_PATH=/run/host/user-share/icons:/run/host/share/icons",
   "--share=ipc",
   "--socket=pulseaudio",
   "--socket=x11"
  ],
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.dotnet8"
  ],
  "build-options": {
   "arch": {
    "x86_64": {
     "env": {
      "RUNTIME": "linux-x64"
     }
    }
   },
   "prepend-pkg-config-path": "/usr/lib/sdk/dotnet8/lib/pkgconfig",
   "append-path": "/usr/lib/sdk/dotnet8/bin",
   "append-ld-library-path": "/usr/lib/sdk/dotnet8/lib"
  },
  "modules": [
   {
    "name": "celeste64",
    "buildsystem": "simple",
    "only-arches": [
     "x86_64"
    ],
    "build-commands": [
     "install-sdk.sh",
     "dotnet publish -c Release --runtime $RUNTIME --source ./nuget-sources Celeste64.csproj",
     "cp -r --remove-destination /run/build/celeste64/bin/Release/net8.0/$RUNTIME/publish/ /app/${FLATPAK_ID}",
     "cp -r --remove-destination /run/build/celeste64/Content/ /app/${FLATPAK_ID}/Content",
     "ln -s /app/${FLATPAK_ID}/Celeste64 /app/bin/celeste64",
     "install -Dm644 ${FLATPAK_ID}.metainfo.xml -t ${FLATPAK_DEST}/share/metainfo/",
     "install -Dm644 ${FLATPAK_ID}.desktop -t ${FLATPAK_DEST}/share/applications/",
     "install -Dm644 ${FLATPAK_ID}.png -t ${FLATPAK_DEST}/share/icons/hicolor/128x128/apps/"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/ExOK/Celeste64.git",
      "tag": "v1.1.1",
      "commit": "bfc7a3ba6f35d25bd11b4c4bad749398f70034e2"
     },
     "sources.json",
     "platform-sources.json",
     {
      "type": "file",
      "path": "com.exok.Celeste64.metainfo.xml"
     },
     {
      "type": "file",
      "path": "com.exok.Celeste64.desktop"
     },
     {
      "type": "file",
      "path": "com.exok.Celeste64.png"
     }
    ]
   }
  ]
 }
}