Skip to content

Commit 6235363

Browse files
Upgrade to fdo 25.08 and tighten sandbox
- Upgrade runtime from fdo 24.08 to 25.08 and LLVM from 18 to 20 - Remove network permission - Add ipc permission - Replace broad devices permission with only dri and input permissions - Make filesystem permissions read-only (:ro) - Remove ccache support (conflicts with flatpak cache)
1 parent cf829a9 commit 6235363

1 file changed

Lines changed: 12 additions & 11 deletions

File tree

flatpak/io.github.hedge_dev.unleashedrecomp.json

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,27 @@
11
{
22
"id": "io.github.hedge_dev.unleashedrecomp",
33
"runtime": "org.freedesktop.Platform",
4-
"runtime-version": "24.08",
4+
"runtime-version": "25.08",
55
"sdk": "org.freedesktop.Sdk",
6-
"sdk-extensions" : [ "org.freedesktop.Sdk.Extension.llvm18" ],
6+
"sdk-extensions" : [ "org.freedesktop.Sdk.Extension.llvm20" ],
77
"finish-args": [
8-
"--share=network",
8+
"--share=ipc",
99
"--socket=wayland",
1010
"--socket=fallback-x11",
1111
"--socket=pulseaudio",
12-
"--device=all",
13-
"--filesystem=host",
14-
"--filesystem=/media",
15-
"--filesystem=/run/media",
16-
"--filesystem=/mnt"
12+
"--device=dri",
13+
"--device=input",
14+
"--filesystem=host:ro",
15+
"--filesystem=/media:ro",
16+
"--filesystem=/run/media:ro",
17+
"--filesystem=/mnt:ro"
1718
],
1819
"modules": [
1920
{
2021
"name": "UnleashedRecomp",
2122
"buildsystem": "simple",
2223
"build-commands": [
23-
"cmake --preset linux-release -DUNLEASHED_RECOMP_FLATPAK=ON -DSDL2MIXER_VORBIS=VORBISFILE -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER_LAUNCHER=ccache",
24+
"cmake --preset linux-release -DUNLEASHED_RECOMP_FLATPAK=ON -DSDL2MIXER_VORBIS=VORBISFILE",
2425
"cmake --build out/build/linux-release --target UnleashedRecomp",
2526
"mkdir -p /app/bin",
2627
"cp out/build/linux-release/UnleashedRecomp/UnleashedRecomp /app/bin/UnleashedRecomp",
@@ -35,8 +36,8 @@
3536
}
3637
],
3738
"build-options": {
38-
"append-path": "/usr/lib/sdk/llvm18/bin",
39-
"prepend-ld-library-path": "/usr/lib/sdk/llvm18/lib",
39+
"append-path": "/usr/lib/sdk/llvm20/bin",
40+
"prepend-ld-library-path": "/usr/lib/sdk/llvm20/lib",
4041
"build-args": [
4142
"--share=network"
4243
]

0 commit comments

Comments
 (0)