{
 "app_id": "dev.eden_emu.eden",
 "source_url": "https://raw.githubusercontent.com/flathub/dev.eden_emu.eden/master/dev.eden_emu.eden.yml",
 "runtime": "org.kde.Platform",
 "runtime_version": "6.11",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=pulseaudio",
  "--socket=wayland",
  "--socket=x11",
  "--device=all",
  "--device=if:all:!has-input-device",
  "--device=dri",
  "--device=input",
  "--filesystem=xdg-run/app/com.discordapp.Discord:ro",
  "--filesystem=xdg-config/kdeglobals:ro",
  "--talk-name=com.canonical.AppMenu.Registrar",
  "--talk-name=org.kde.kconfig.notify",
  "--talk-name=org.kde.KGlobalSettings"
 ],
 "module_count": 2,
 "fetched_at": "2026-09-17T16:09:33.910086+00:00",
 "manifest": {
  "app-id": "dev.eden_emu.eden",
  "runtime": "org.kde.Platform",
  "runtime-version": "6.11",
  "sdk": "org.kde.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.llvm22"
  ],
  "command": "eden-launcher",
  "finish-args": [
   "--device-if=all:!has-input-device",
   "--device=dri",
   "--device=input",
   "--socket=wayland",
   "--socket=x11",
   "--socket=pulseaudio",
   "--share=network",
   "--share=ipc",
   "--filesystem=xdg-run/app/com.discordapp.Discord:ro"
  ],
  "modules": [
   {
    "name": "eden",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "build-options": {
     "append-path": "/usr/lib/sdk/llvm22/bin",
     "prepend-ld-library-path": "/usr/lib/sdk/llvm22/lib",
     "strip": true,
     "no-debuginfo": true,
     "arch": {
      "x86_64": {
       "cflags": "-march=x86-64-v3 -mtune=generic -O3 -pipe -fprofile-instr-use=/run/build/eden/eden.profdata",
       "cxxflags": "-march=x86-64-v3 -mtune=generic -O3 -pipe -fprofile-instr-use=/run/build/eden/eden.profdata"
      },
      "aarch64": {
       "cflags": "-march=armv8-a -mtune=generic -O3 -pipe -fprofile-instr-use=/run/build/eden/eden.profdata",
       "cxxflags": "-march=armv8-a -mtune=generic -O3 -pipe -fprofile-instr-use=/run/build/eden/eden.profdata"
      }
     },
     "env": {
      "AR": "llvm-ar",
      "CC": "clang",
      "CXX": "clang++",
      "RANLIB": "llvm-ranlib"
     }
    },
    "config-opts": [
     "-DBUILD_TESTING=OFF",
     "-DCMAKE_BUILD_TYPE=Release",
     "-DYUZU_USE_BUNDLED_QT=OFF",
     "-DYUZU_USE_QT_MULTIMEDIA=OFF",
     "-DYUZU_USE_QT_WEB_ENGINE=OFF",
     "-DENABLE_QT_TRANSLATION=ON",
     "-DENABLE_UPDATE_CHECKER=OFF",
     "-DUSE_DISCORD_PRESENCE=ON",
     "-DENABLE_LTO=ON",
     "-DYUZU_USE_BUNDLED_SIRIT=OFF",
     "-DYUZU_USE_BUNDLED_FFMPEG=OFF",
     "-DYUZU_USE_BUNDLED_OPENSSL=OFF",
     "-DYUZU_DISABLE_LLVM=ON",
     "-DYUZU_STATIC_BUILD=OFF",
     "-DYUZU_CMD=OFF",
     "-DYUZU_ROOM_STANDALONE=OFF",
     "-DNIGHTLY_BUILD=OFF",
     "-DYUZU_USE_BUNDLED_SDL2=OFF",
     "-DVulkanHeaders_FORCE_BUNDLED=ON"
    ],
    "post-install": [
     "desktop-file-edit --set-key Exec --set-value eden-launcher /app/share/applications/dev.eden_emu.eden.desktop"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://git.eden-emu.dev/eden-emu/eden.git",
      "tag": "v0.2.1",
      "commit": "58c1e20ee58efa3900ba616207d460886214480b"
     },
     "generated-sources.yml",
     {
      "type": "file",
      "url": "https://github.com/Eden-CI/PGO/releases/download/v020525/eden.profdata",
      "dest-filename": "eden.profdata",
      "sha256": "777dd9aefb9427ed08a642b02998f32c5ac120e5d32611d8f21cf1f4e68cee57"
     }
    ]
   },
   {
    "name": "eden-flatpak",
    "buildsystem": "simple",
    "build-commands": [
     "install -Dm755 eden-launcher.sh /app/bin/eden-launcher",
     "install -Dm644 dev.eden_emu.eden.metainfo.xml /app/share/metainfo/dev.eden_emu.eden.metainfo.xml"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/seraphicfae/dev.eden_emu.eden",
      "tag": "c825",
      "commit": "c8253d02e7162e4675cbcfedb0f78a7e7e005606"
     }
    ]
   }
  ]
 }
}