{
 "app_id": "cn.ottercorp.xivlaunchercn",
 "source_url": "https://raw.githubusercontent.com/flathub/cn.ottercorp.xivlaunchercn/master/cn.ottercorp.xivlaunchercn.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--socket=pulseaudio",
  "--device=all",
  "--filesystem=home",
  "--talk-name=org.freedesktop.secrets"
 ],
 "module_count": 3,
 "fetched_at": "2026-09-21T12:52:03.383118+00:00",
 "manifest": {
  "app-id": "cn.ottercorp.xivlaunchercn",
  "build-options": {
   "append-ld-library-path": "/usr/lib/sdk/dotnet10/lib",
   "append-path": "/usr/lib/sdk/dotnet10/bin",
   "append-pkg-config-path": "/usr/lib/sdk/dotnet10/lib/pkgconfig",
   "env": {
    "DOTNET_CLI_TELEMETRY_OPTOUT": "true"
   }
  },
  "command": "xivlauncher",
  "copy-icon": true,
  "finish-args": [
   "--share=ipc",
   "--socket=x11",
   "--share=network",
   "--filesystem=home",
   "--socket=pulseaudio",
   "--talk-name=org.freedesktop.secrets",
   "--system-talk-name=org.freedesktop.UDisks2",
   "--device=all",
   "--allow=devel"
  ],
  "modules": [
   {
    "buildsystem": "meson",
    "cleanup": [
     "/bin",
     "/include",
     "/lib/pkgconfig",
     "/share/gir-1.0",
     "/share/man"
    ],
    "config-opts": [
     "-Dmanpage=false",
     "-Dvapi=false",
     "-Dgtk_doc=false"
    ],
    "name": "libsecret",
    "sources": [
     {
      "sha256": "3fb3ce340fcd7db54d87c893e69bfc2b1f6e4d4b279065ffe66dac9f0fd12b4d",
      "type": "archive",
      "url": "https://download.gnome.org/sources/libsecret/0.20/libsecret-0.20.5.tar.xz"
     }
    ]
   },
   {
    "config-opts": [
     "--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt"
    ],
    "name": "aria2",
    "sources": [
     {
      "sha256": "60a420ad7085eb616cb6e2bdf0a7206d68ff3d37fb5a956dc44242eb2f79b66b",
      "type": "archive",
      "url": "https://github.com/aria2/aria2/releases/download/release-1.37.0/aria2-1.37.0.tar.xz"
     }
    ]
   },
   {
    "build-commands": [
     "install -d \"${FLATPAK_DEST}/opt/XIVLauncher/\"",
     "dotnet publish -r linux-x64 --sc --source ./nuget-sources -o \"${FLATPAK_DEST}/opt/XIVLauncher/\" src/XIVLauncher.Core/XIVLauncher.Core.csproj --configuration Release -p:ExtraDefineConstants=FLATPAK",
     "install -D -m644 misc/linux_distrib/XIVLauncher.desktop \"${FLATPAK_DEST}/share/applications/cn.ottercorp.xivlaunchercn.desktop\"",
     "install -D -m644 misc/linux_distrib/512.png \"${FLATPAK_DEST}/share/icons/hicolor/512x512/apps/xivlauncher.png\"",
     "install -D -m644 cn.ottercorp.xivlaunchercn.appdata.xml \"${FLATPAK_DEST}/share/metainfo/cn.ottercorp.xivlaunchercn.appdata.xml\"",
     "ln -s \"${FLATPAK_DEST}/opt/XIVLauncher/XIVLauncher.Core\" \"${FLATPAK_DEST}/bin/xivlauncher\""
    ],
    "buildsystem": "simple",
    "name": "xivlauncher",
    "sources": [
     {
      "commit": "722256b9546e4479c5965cf0d996ebda6e3c6b21",
      "type": "git",
      "url": "https://github.com/ottercorp/XIVLauncher.Core.git"
     },
     {
      "dest": "nuget-sources",
      "dest-filename": "microsoft.aspnetcore.app.runtime.linux-x64.6.0.1.nupkg",
      "sha512": "865af2ac328070403202eb5f0c436abbf8edb3fd484dec92b4c0cd6d42d36c8c7e396bc9bfd13cd0b6f877baf72b3fbfb0b425a794711dbab4b0297b20143ce5",
      "type": "file",
      "url": "https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.app.runtime.linux-x64/6.0.1/microsoft.aspnetcore.app.runtime.linux-x64.6.0.1.nupkg"
     },
     {
      "dest": "nuget-sources",
      "sha512": "01d0e6c885a357270dabb65878deed2c147841297d8688a543b7605f4704d2507c70f86f825a59a975ff7789a4b74677262947fc97a7a25f23556292266b50ef",
      "type": "file",
      "url": "https://api.nuget.org/v3-flatcontainer/microsoft.netcore.app.runtime.linux-x64/6.0.1/microsoft.netcore.app.runtime.linux-x64.6.0.1.nupkg"
     },
     {
      "path": "cn.ottercorp.xivlaunchercn.appdata.xml",
      "type": "file"
     },
     "nuget-dependencies.json"
    ]
   }
  ],
  "rename-icon": "xivlauncher",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.dotnet10"
  ]
 }
}