{
 "app_id": "io.github.Adda0.Stardrop",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.Adda0.Stardrop/master/io.github.Adda0.Stardrop.yaml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "26.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=pulseaudio",
  "--socket=x11",
  "--device=dri",
  "--filesystem=home"
 ],
 "module_count": 2,
 "fetched_at": "2026-09-20T06:38:27.519024+00:00",
 "manifest": {
  "app-id": "io.github.Adda0.Stardrop",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "26.08",
  "sdk": "org.freedesktop.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.dotnet8"
  ],
  "build-options": {
   "append-path": "/usr/lib/sdk/dotnet8/bin",
   "append-ld-library-path": "/usr/lib/sdk/dotnet8/lib",
   "prepend-pkg-config-path": "/usr/lib/sdk/dotnet8/lib/pkgconfig"
  },
  "command": "Stardrop",
  "finish-args": [
   "--socket=x11",
   "--share=ipc",
   "--share=network",
   "--device=dri",
   "--filesystem=home",
   "--socket=pulseaudio"
  ],
  "modules": [
   {
    "name": "Stardrop",
    "buildsystem": "simple",
    "build-commands": [
     "install-sdk.sh",
     "dotnet publish -c Release --source ./nuget-sources Stardrop/Stardrop.csproj --self-contained true",
     "cp -r --remove-destination /run/build/Stardrop/Stardrop/bin/Release/linux-*/publish/* /app/bin/"
    ],
    "sources": [
     "nuget-sources.json",
     {
      "type": "archive",
      "url": "https://github.com/Floogen/Stardrop/archive/refs/tags/v1.10.3.tar.gz",
      "sha256": "11879f55c1268247cef31c4bbf928377fe765d9ab32dae5007be763125d9a445",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 390531,
       "stable-only": false,
       "url-template": "https://github.com/Floogen/Stardrop/archive/refs/tags/v${version}.tar.gz"
      }
     },
     {
      "type": "file",
      "path": "global.json"
     }
    ]
   },
   {
    "name": "Meta",
    "buildsystem": "simple",
    "build-commands": [
     "install -Dm644 $FLATPAK_ID.metainfo.xml /app/share/metainfo/$FLATPAK_ID.metainfo.xml",
     "install -Dm644 $FLATPAK_ID.desktop /app/share/applications/$FLATPAK_ID.desktop",
     "install -Dm644 Stardrop_512x512x32.png /app/share/icons/hicolor/512x512/apps/$FLATPAK_ID.png"
    ],
    "sources": [
     {
      "type": "file",
      "path": "io.github.Adda0.Stardrop.metainfo.xml"
     },
     {
      "type": "file",
      "path": "io.github.Adda0.Stardrop.desktop"
     },
     {
      "type": "file",
      "path": "Stardrop_512x512x32.png"
     }
    ]
   }
  ]
 }
}