mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-03-30 07:01:49 +00:00
* See https://github.com/flathub/org.DolphinEmu.dolphin-emu/pull/178#issuecomment-1905194043 for more information * Bug only occurs on the Steam Deck OLED. To replicate the error, on a Steam Deck OLED, install the Flatpak, launch the recomp in Game Mode, see error. Gamescope Flatpak is primarily used for HDR in other Flatpaks (Dolphin, PrimeHack, Heroic, etc.). 
47 lines
1.7 KiB
JSON
47 lines
1.7 KiB
JSON
{
|
|
"id": "io.github.hedge_dev.unleashedrecomp",
|
|
"runtime": "org.freedesktop.Platform",
|
|
"runtime-version": "24.08",
|
|
"sdk": "org.freedesktop.Sdk",
|
|
"sdk-extensions" : [ "org.freedesktop.Sdk.Extension.llvm18" ],
|
|
"finish-args": [
|
|
"--share=network",
|
|
"--socket=wayland",
|
|
"--socket=fallback-x11",
|
|
"--socket=pulseaudio",
|
|
"--device=all",
|
|
"--filesystem=host",
|
|
"--filesystem=/media",
|
|
"--filesystem=/run/media",
|
|
"--filesystem=/mnt",
|
|
"--filesystem=xdg-run/gamescope-0:ro"
|
|
],
|
|
"modules": [
|
|
{
|
|
"name": "UnleashedRecomp",
|
|
"buildsystem": "simple",
|
|
"build-commands": [
|
|
"cmake --preset linux-release -DUNLEASHED_RECOMP_FLATPAK=ON -DSDL2MIXER_VORBIS=VORBISFILE -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER_LAUNCHER=ccache",
|
|
"cmake --build out/build/linux-release --target UnleashedRecomp",
|
|
"mkdir -p /app/bin",
|
|
"cp out/build/linux-release/UnleashedRecomp/UnleashedRecomp /app/bin/UnleashedRecomp",
|
|
"install -Dm644 UnleashedRecompResources/images/game_icon.png /app/share/icons/hicolor/128x128/apps/${FLATPAK_ID}.png",
|
|
"install -Dm644 flatpak/io.github.hedge_dev.unleashedrecomp.metainfo.xml /app/share/metainfo/${FLATPAK_ID}.metainfo.xml",
|
|
"install -Dm644 flatpak/io.github.hedge_dev.unleashedrecomp.desktop /app/share/applications/${FLATPAK_ID}.desktop"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "dir",
|
|
"path": "../"
|
|
}
|
|
],
|
|
"build-options": {
|
|
"append-path": "/usr/lib/sdk/llvm18/bin",
|
|
"prepend-ld-library-path": "/usr/lib/sdk/llvm18/lib",
|
|
"build-args": [
|
|
"--share=network"
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|