Update Flatpak manifest to use clang and include the default soundpack (#73818)

* Add default soundpack to flatpak build

* make default Flatpak branch 'experimental'
This commit is contained in:
AshenColors
2024-05-17 23:41:06 -04:00
committed by GitHub
parent a7fd858741
commit 88f00e909d
+24 -3
View File
@@ -1,8 +1,12 @@
{
"id": "org.cataclysmdda.CataclysmDDA",
"default-branch": "experimental",
"runtime": "org.freedesktop.Platform",
"runtime-version": "22.08",
"sdk": "org.freedesktop.Sdk",
"sdk-extensions": [
"org.freedesktop.Sdk.Extension.llvm16"
],
"command": "cataclysm-tiles",
"finish-args": [
"--socket=pulseaudio",
@@ -16,10 +20,27 @@
"name": "cataclysm-tiles",
"buildsystem": "simple",
"build-options": {
"env": { "MAKE_ARGS": "PREFIX=/app LANGUAGES=all USE_XDG_DIR=1 TILES=1 SOUND=1 RELEASE=1 TESTS=0 ASTYLE=0 LINTJSON=0" }
"append-path": "/usr/lib/sdk/llvm16/bin",
"prepend-ld-library-path": "/usr/lib/sdk/llvm16/lib",
"env": {
"MAKE_ARGS": "PREFIX=/app LANGUAGES=all CLANG=1 CCACHE=1 USE_XDG_DIR=1 TILES=1 SOUND=1 RELEASE=1 TESTS=0 ASTYLE=0 LINTJSON=0"
}
},
"build-commands": [ "make -j $FLATPAK_BUILDER_N_JOBS $MAKE_ARGS", "make $MAKE_ARGS localization", "make $MAKE_ARGS install" ],
"sources": [ { "type": "git", "url": "https://github.com/CleverRaven/Cataclysm-DDA", "branch": "master" } ]
"build-commands": [
"mv soundpack/sound/CC-Sounds/ data/sound/",
"make -j $FLATPAK_BUILDER_N_JOBS $MAKE_ARGS",
"make $MAKE_ARGS localization",
"make $MAKE_ARGS install"
],
"sources": [
{ "type": "git", "url": "https://github.com/CleverRaven/Cataclysm-DDA", "branch": "master" },
{
"type": "git",
"url": "https://github.com/Fris0uman/CDDA-Soundpacks",
"branch": "main",
"dest": "soundpack"
}
]
}
]
}