app-id: jp.xenia.xenia-canary runtime: org.freedesktop.Platform runtime-version: '25.08' sdk: org.freedesktop.Sdk command: jp.xenia.xenia-canary.sh sdk-extensions: - org.freedesktop.Sdk.Extension.llvm20 finish-args: # gamepad+DRI support - --device=all # GUI access - --share=ipc - --socket=fallback-x11 - --socket=wayland # Audio - --socket=pulseaudio cleanup: - /bin/spirv* - /bin/glslangValidator - /lib/libSPIRV* - /lib/pkgconfig - /lib/cmake build-options: strip: true no-debuginfo: true modules: - name: spirv-tools buildsystem: cmake-ninja builddir: true config-opts: - -DCMAKE_BUILD_TYPE=Release - -DSPIRV_SKIP_TESTS=ON - -DSPIRV_HEADERS_ENABLE_TESTS=OFF sources: - type: archive url: https://api.github.com/repos/KhronosGroup/SPIRV-Tools/zipball/refs/tags/vulkan-sdk-1.4.357.0 sha256: 0690b6122894f714b49adc82b39e63edc86d363f0aef55af35e2676114a9f9a4 dest-filename: spirv-tools.zip x-checker-data: type: json url: https://api.github.com/repos/KhronosGroup/SPIRV-Tools/tags version-query: .[0].name | sub("vulkan-sdk-"; "") url-query: .[0].zipball_url - type: archive url: https://api.github.com/repos/KhronosGroup/SPIRV-Headers/zipball/refs/tags/vulkan-sdk-1.4.357.0 sha256: 7809515a42e3a01293fc3f091e49ae92ee37179c3f7e663e4e7768471fb3bd95 dest-filename: spirv-headers.zip dest: external/spirv-headers x-checker-data: type: json url: https://api.github.com/repos/KhronosGroup/SPIRV-Headers/tags version-query: .[0].name | sub("vulkan-sdk-"; "") url-query: .[0].zipball_url post-install: - ln -s /usr/bin/glslangValidator /app/bin/glslangValidator - name: xenia-canary buildsystem: cmake-ninja builddir: true build-options: append-path: /usr/lib/sdk/llvm20/bin prepend-ld-library-path: /usr/lib/sdk/llvm20/lib config-opts: - -DCMAKE_C_COMPILER=clang - -DCMAKE_CXX_COMPILER=clang++ - -DCMAKE_LINKER=ldd - -DCMAKE_CXX_FLAGS=-Wno-unused-result - -DXENIA_ICON_OUTLINED=ON sources: - type: git url: https://github.com/xenia-canary/xenia-canary.git commit: 74c4e4acbad21bb16c2266fcff7d6420c6a8fc19 x-checker-data: type: json url: https://api.github.com/repos/xenia-canary/xenia-canary/branches/canary_experimental commit-query: .commit.sha - type: patch path: jp.xenia.xenia-canary.fix-filesystem-link.patch - type: patch path: jp.xenia.xenia-canary.cmake-stuff.patch - type: file path: version.h.in dest: src/ - type: file path: jp.xenia.xenia-canary.desktop dest: assets/freedesktop/ - type: file path: jp.xenia.xenia-canary.svg dest: assets/icon/ dest-filename: jp.xenia.xenia-canary_outline.svg - type: file path: jp.xenia.xenia-canary.metainfo.xml dest: assets/freedesktop/ - type: file path: install.cmake dest: cmake/ - type: file path: version_h.cmake dest: cmake/ - type: script dest-filename: jp.xenia.xenia-canary.sh commands: - xenia_canary --storage_root=$XDG_DATA_HOME/xenia --content_root=$XDG_DATA_HOME/xenia/content --cache_root=$XDG_CACHE_HOME/xenia --mount_cache=false $@ post-install: - install -Dm755 ${FLATPAK_BUILDER_BUILDDIR}/${FLATPAK_ID}.sh -t /app/bin/