From 209455747c5bfaa3968c4693c7e333b99e486d5a Mon Sep 17 00:00:00 2001 From: Ribbon <ribbon_45@proton.me> Date: Fri, 22 Nov 2024 10:08:23 +0000 Subject: [PATCH] Add a recipe --- .../game-console/ps4/shadPS4/recipe.toml | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 recipes/wip/emulators/game-console/ps4/shadPS4/recipe.toml diff --git a/recipes/wip/emulators/game-console/ps4/shadPS4/recipe.toml b/recipes/wip/emulators/game-console/ps4/shadPS4/recipe.toml new file mode 100644 index 000000000..2b1c631df --- /dev/null +++ b/recipes/wip/emulators/game-console/ps4/shadPS4/recipe.toml @@ -0,0 +1,36 @@ +#TODO maybe incomplete script for cmake +#TODO missing dependencies +# build instructions - https://github.com/shadps4-emu/shadPS4/blob/main/documents/building-linux.md +[source] +git = "https://github.com/shadps4-emu/shadPS4" +[build] +template = "custom" +dependencies = [ + "pulseaudio", + "openal", + "openssl1", + "libedit", + "eudev", + "libevdev", + "sdl2", + "sndio", + "qt6-base", + "qt6-multimedia", + "libvulkan", +] +script = """ +COOKBOOK_CONFIGURE="cmake" +COOKBOOK_CONFIGURE_FLAGS=( + -DCMAKE_BUILD_TYPE=Release + -DCMAKE_CROSSCOMPILING=True + -DCMAKE_EXE_LINKER_FLAGS="-static" + -DCMAKE_INSTALL_PREFIX="/" + -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}" + -DCMAKE_SYSTEM_NAME=Generic + -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)" + -DCMAKE_VERBOSE_MAKEFILE=On + -DENABLE_QT_GUI=ON +"${COOKBOOK_SOURCE}" +) +cookbook_configure +""" -- GitLab