{
 "app_id": "dev.goats.xivlauncher",
 "source_url": "https://raw.githubusercontent.com/flathub/dev.goats.xivlauncher/master/dev.goats.xivlauncher.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",
  "--filesystem=/media",
  "--filesystem=/run/media",
  "--filesystem=/mnt",
  "--filesystem=xdg-run/app/com.discordapp.DiscordCanary:create",
  "--filesystem=xdg-run/app/com.discordapp.Discord:create",
  "--allow=devel",
  "--talk-name=org.freedesktop.secrets",
  "--system-talk-name=org.freedesktop.UDisks2"
 ],
 "module_count": 3,
 "fetched_at": "2026-09-17T16:09:38.285479+00:00",
 "manifest": {
  "app-id": "dev.goats.xivlauncher",
  "command": "start-xivlauncher",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.dotnet10"
  ],
  "finish-args": [
   "--socket=x11",
   "--share=ipc",
   "--share=network",
   "--socket=pulseaudio",
   "--talk-name=org.freedesktop.secrets",
   "--system-talk-name=org.freedesktop.UDisks2",
   "--device=all",
   "--allow=devel",
   "--filesystem=home",
   "--filesystem=/media",
   "--filesystem=/run/media",
   "--filesystem=/mnt",
   "--filesystem=xdg-run/app/com.discordapp.Discord:create",
   "--filesystem=xdg-run/app/com.discordapp.DiscordCanary:create"
  ],
  "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"
   }
  },
  "modules": [
   {
    "name": "xivlauncher",
    "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 dev.goats.xivlauncher.metainfo.xml \"${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.metainfo.xml\"",
     "install -D -m644 dev.goats.xivlauncher.desktop \"${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop\"",
     "install -D -m644 icon-64.png \"${FLATPAK_DEST}/share/icons/hicolor/64x64/apps/${FLATPAK_ID}.png\"",
     "install -D -m644 icon-128.png \"${FLATPAK_DEST}/share/icons/hicolor/128x128/apps/${FLATPAK_ID}.png\"",
     "install -D -m644 icon-256.png \"${FLATPAK_DEST}/share/icons/hicolor/256x256/apps/${FLATPAK_ID}.png\"",
     "install -D -m644 icon-512.png \"${FLATPAK_DEST}/share/icons/hicolor/512x512/apps/${FLATPAK_ID}.png\"",
     "install -d \"${FLATPAK_DEST}/bin/\"",
     "ln -s \"${FLATPAK_DEST}/opt/XIVLauncher/XIVLauncher.Core\" \"${FLATPAK_DEST}/bin/xivlauncher\"",
     "install -D -m755 start-xivlauncher \"${FLATPAK_DEST}/bin/start-xivlauncher\""
    ],
    "buildsystem": "simple",
    "sources": [
     "nuget-dependencies.json",
     {
      "type": "git",
      "url": "https://github.com/goatcorp/XIVLauncher.Core.git",
      "tag": "1.4.0",
      "commit": "06c32980a75447fe0f15cdac30f8931f70d687e9",
      "x-checker-data": {
       "type": "git",
       "is-main-source": true,
       "tag-pattern": "^([\\d.]+)$"
      }
     },
     {
      "type": "file",
      "path": "start-xivlauncher"
     },
     {
      "type": "file",
      "path": "dev.goats.xivlauncher.metainfo.xml"
     },
     {
      "type": "file",
      "path": "distrib/dev.goats.xivlauncher.desktop"
     },
     {
      "type": "file",
      "path": "distrib/icon-64.png"
     },
     {
      "type": "file",
      "path": "distrib/icon-128.png"
     },
     {
      "type": "file",
      "path": "distrib/icon-256.png"
     },
     {
      "type": "file",
      "path": "distrib/icon-512.png"
     }
    ]
   },
   {
    "name": "gamemode",
    "buildsystem": "meson",
    "config-opts": [
     "-Dwith-examples=false",
     "-Dwith-util=false",
     "-Dwith-sd-bus-provider=no-daemon"
    ],
    "sources": [
     {
      "commit": "c54d6d4243b0dd0afcb49f2c9836d432da171a2b",
      "tag": "1.8.2",
      "type": "git",
      "url": "https://github.com/FeralInteractive/gamemode.git",
      "x-checker-data": {
       "type": "git"
      }
     }
    ]
   },
   {
    "name": "aria2",
    "config-opts": [
     "--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt"
    ],
    "sources": [
     {
      "sha256": "60a420ad7085eb616cb6e2bdf0a7206d68ff3d37fb5a956dc44242eb2f79b66b",
      "type": "archive",
      "url": "https://github.com/aria2/aria2/releases/download/release-1.37.0/aria2-1.37.0.tar.xz",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 109,
       "stable-only": true,
       "url-template": "https://github.com/aria2/aria2/releases/download/release-$version/aria2-$version.tar.xz"
      }
     }
    ]
   }
  ]
 }
}