From 53baa3ed61c9b6d0fc57921a1d522bb73fa049e3 Mon Sep 17 00:00:00 2001 From: Ribbon Date: Mon, 17 Nov 2025 06:07:10 -0300 Subject: [PATCH] Improve and fix recipes --- .../game-console/mupen64plus-core/recipe.toml | 2 +- .../game-console/obliteration/recipe.toml | 2 +- .../emulators/game-console/pcsx2/recipe.toml | 2 +- .../game-console/picodrive/recipe.toml | 18 ++++++++---------- .../emulators/game-console/play/recipe.toml | 2 +- .../emulators/game-console/ppsspp/recipe.toml | 4 ++-- .../game-console/ps1/duckstation/recipe.toml | 3 +-- .../game-console/ps1/pcsx-rearmed/recipe.toml | 4 +++- .../game-console/ps1/rpsx/recipe.toml | 6 +++++- .../game-console/ps1/trapezoid/recipe.toml | 8 ++++++-- .../{shadPS4 => shadps4}/recipe.toml | 2 +- .../emulators/game-console/snes9x/recipe.toml | 2 +- .../game-console/uoyabause/recipe.toml | 2 +- .../emulators/game-console/vita3k/recipe.toml | 2 +- 14 files changed, 33 insertions(+), 26 deletions(-) rename recipes/wip/emulators/game-console/{shadPS4 => shadps4}/recipe.toml (96%) diff --git a/recipes/wip/emulators/game-console/mupen64plus-core/recipe.toml b/recipes/wip/emulators/game-console/mupen64plus-core/recipe.toml index 00d650a88..9eefea697 100644 --- a/recipes/wip/emulators/game-console/mupen64plus-core/recipe.toml +++ b/recipes/wip/emulators/game-console/mupen64plus-core/recipe.toml @@ -1,4 +1,4 @@ -#TODO missing script for "make", see https://github.com/mupen64plus/mupen64plus-core#2-building-from-source +#TODO missing script for "make": https://github.com/mupen64plus/mupen64plus-core#2-building-from-source [source] tar = "https://github.com/mupen64plus/mupen64plus-core/releases/download/2.6.0/mupen64plus-bundle-src-2.6.0.tar.gz" [build] diff --git a/recipes/wip/emulators/game-console/obliteration/recipe.toml b/recipes/wip/emulators/game-console/obliteration/recipe.toml index 7a361a3c9..83c454954 100644 --- a/recipes/wip/emulators/game-console/obliteration/recipe.toml +++ b/recipes/wip/emulators/game-console/obliteration/recipe.toml @@ -1,4 +1,4 @@ -#TODO missing script, see: https://github.com/obhq/obliteration/blob/main/docs/building.md +#TODO missing script: https://github.com/obhq/obliteration/blob/main/docs/building.md [source] git = "https://github.com/obhq/obliteration" [build] diff --git a/recipes/wip/emulators/game-console/pcsx2/recipe.toml b/recipes/wip/emulators/game-console/pcsx2/recipe.toml index 88c5f1f2c..c8161ae28 100644 --- a/recipes/wip/emulators/game-console/pcsx2/recipe.toml +++ b/recipes/wip/emulators/game-console/pcsx2/recipe.toml @@ -2,7 +2,7 @@ # build instructions: https://pcsx2.net/docs/advanced/building#building-on-linux [source] git = "https://github.com/PCSX2/pcsx2" -rev = "2.4.x" +branch = "2.4.x" shallow_clone = true [build] template = "cmake" diff --git a/recipes/wip/emulators/game-console/picodrive/recipe.toml b/recipes/wip/emulators/game-console/picodrive/recipe.toml index 08655459f..73bce5266 100644 --- a/recipes/wip/emulators/game-console/picodrive/recipe.toml +++ b/recipes/wip/emulators/game-console/picodrive/recipe.toml @@ -1,13 +1,11 @@ -#TODO configuration problem -#TODO discover the dependencies +#TODO not compiled or tested +#TODO discover the minimum dependencies from autotools log [source] git = "https://github.com/notaz/picodrive" +rev = "26ecb2b6358fefba24e3d68b9eb2efba7f10d5ee" [build] -template = "custom" -script = """ -COOKBOOK_CONFIGURE_FLAGS+=( - --platform=generic - --sound-drivers=sdl -) -cookbook_configure -""" +template = "configure" +configureflags = [ + "--platform=generic", + "--sound-drivers=sdl", +] diff --git a/recipes/wip/emulators/game-console/play/recipe.toml b/recipes/wip/emulators/game-console/play/recipe.toml index b65ade643..8b46ee57c 100644 --- a/recipes/wip/emulators/game-console/play/recipe.toml +++ b/recipes/wip/emulators/game-console/play/recipe.toml @@ -1,5 +1,5 @@ #TODO not compiled or tested -# build instructions - https://github.com/jpd002/Play-#building-for-unix +# build instructions: https://github.com/jpd002/Play-#building-for-unix [source] git = "https://github.com/jpd002/Play-" [build] diff --git a/recipes/wip/emulators/game-console/ppsspp/recipe.toml b/recipes/wip/emulators/game-console/ppsspp/recipe.toml index 54b1621f9..fe76b84d8 100644 --- a/recipes/wip/emulators/game-console/ppsspp/recipe.toml +++ b/recipes/wip/emulators/game-console/ppsspp/recipe.toml @@ -20,8 +20,8 @@ dependencies = [ script = """ DYNAMIC_INIT COOKBOOK_CMAKE_FLAGS+=( - -DCMAKE_C_FLAGS="-I"${COOKBOOK_SYSROOT}/include" -I"${COOKBOOK_SYSROOT}/include/SDL2"" - -DCMAKE_CXX_FLAGS="-I"${COOKBOOK_SYSROOT}/include" -I"${COOKBOOK_SYSROOT}/include/SDL2"" + -DCMAKE_C_FLAGS="-I${COOKBOOK_SYSROOT}/include" -I${COOKBOOK_SYSROOT}/include/SDL2" + -DCMAKE_CXX_FLAGS="-I${COOKBOOK_SYSROOT}/include" -I${COOKBOOK_SYSROOT}/include/SDL2" -DOPENGL_opengl_LIBRARY="/dev/null" -DOPENGL_glx_LIBRARY="/dev/null" -DUSE_DISCORD=OFF diff --git a/recipes/wip/emulators/game-console/ps1/duckstation/recipe.toml b/recipes/wip/emulators/game-console/ps1/duckstation/recipe.toml index aaa892f86..d967efaca 100644 --- a/recipes/wip/emulators/game-console/ps1/duckstation/recipe.toml +++ b/recipes/wip/emulators/game-console/ps1/duckstation/recipe.toml @@ -1,6 +1,5 @@ #TODO not compiled or tested yet # build instructions: https://github.com/stenzek/duckstation#linux-1 -#TODO make qt6 work [source] tar = "https://github.com/stenzek/duckstation" [build] @@ -9,5 +8,5 @@ dependencies = [ "sdl2", "qt6-base", "qt6-svg", - "qt6-tools", + #"qt6-tools", ] diff --git a/recipes/wip/emulators/game-console/ps1/pcsx-rearmed/recipe.toml b/recipes/wip/emulators/game-console/ps1/pcsx-rearmed/recipe.toml index 21d232fb0..164c6fcdc 100644 --- a/recipes/wip/emulators/game-console/ps1/pcsx-rearmed/recipe.toml +++ b/recipes/wip/emulators/game-console/ps1/pcsx-rearmed/recipe.toml @@ -1,5 +1,7 @@ -#TODO discover the dependencies, probably the same of PCSX +#TODO not compiled or tested +#TODO discover the minimum dependencies from autotools log [source] git = "https://github.com/notaz/pcsx_rearmed" +rev = "913629046745fb5f5ce548fcb248f02cf5b9c079" [build] template = "configure" diff --git a/recipes/wip/emulators/game-console/ps1/rpsx/recipe.toml b/recipes/wip/emulators/game-console/ps1/rpsx/recipe.toml index 289d7a837..42593ea63 100644 --- a/recipes/wip/emulators/game-console/ps1/rpsx/recipe.toml +++ b/recipes/wip/emulators/game-console/ps1/rpsx/recipe.toml @@ -2,7 +2,11 @@ [source] git = "https://github.com/KieronJ/rpsx" [build] -template = "cargo" +template = "custom" dependencies = [ "sdl2", ] +script = """ +DYNAMIC_INIT +cookbook_cargo +""" diff --git a/recipes/wip/emulators/game-console/ps1/trapezoid/recipe.toml b/recipes/wip/emulators/game-console/ps1/trapezoid/recipe.toml index 5d171151b..a91f5cb09 100644 --- a/recipes/wip/emulators/game-console/ps1/trapezoid/recipe.toml +++ b/recipes/wip/emulators/game-console/ps1/trapezoid/recipe.toml @@ -1,8 +1,12 @@ -#TODO make shaderc work +#TODO not compiled or tested [source] git = "https://github.com/Amjad50/Trapezoid" [build] -template = "cargo" +template = "custom" dependencies = [ "shaderc", ] +script = """ +DYNAMIC_INIT +cookbook_cargo +""" diff --git a/recipes/wip/emulators/game-console/shadPS4/recipe.toml b/recipes/wip/emulators/game-console/shadps4/recipe.toml similarity index 96% rename from recipes/wip/emulators/game-console/shadPS4/recipe.toml rename to recipes/wip/emulators/game-console/shadps4/recipe.toml index d90202479..12bdf524d 100644 --- a/recipes/wip/emulators/game-console/shadPS4/recipe.toml +++ b/recipes/wip/emulators/game-console/shadps4/recipe.toml @@ -11,7 +11,7 @@ cmakeflags = [ dependencies = [ "pulseaudio", "openal", - "openssl1", + "openssl3", "libedit", "eudev", "libevdev", diff --git a/recipes/wip/emulators/game-console/snes9x/recipe.toml b/recipes/wip/emulators/game-console/snes9x/recipe.toml index a00eedcb8..e263ddf5c 100644 --- a/recipes/wip/emulators/game-console/snes9x/recipe.toml +++ b/recipes/wip/emulators/game-console/snes9x/recipe.toml @@ -2,7 +2,7 @@ # build instructions: https://github.com/snes9xgit/snes9x/wiki/Compiling [source] git = "https://github.com/snes9xgit/snes9x" -rev = "8b82d487937d9ea39f7229d280c6f6686c415fe7" +rev = "1.63" [build] template = "cmake" dependencies = [ diff --git a/recipes/wip/emulators/game-console/uoyabause/recipe.toml b/recipes/wip/emulators/game-console/uoyabause/recipe.toml index f5d3c5c69..60d01caae 100644 --- a/recipes/wip/emulators/game-console/uoyabause/recipe.toml +++ b/recipes/wip/emulators/game-console/uoyabause/recipe.toml @@ -1,8 +1,8 @@ #TODO not compiled or tested yet # build instructions: https://github.com/devmiyax/yabause/blob/master/yabause/README.LIN#L77 -#TODO make gtk2 work [source] git = "https://github.com/devmiyax/yabause" +rev = "7d28bd54aa3188e90e4126ff9f7c27b945380488" [build] template = "cmake" dependencies = [ diff --git a/recipes/wip/emulators/game-console/vita3k/recipe.toml b/recipes/wip/emulators/game-console/vita3k/recipe.toml index 65de26d1e..5d7216e90 100644 --- a/recipes/wip/emulators/game-console/vita3k/recipe.toml +++ b/recipes/wip/emulators/game-console/vita3k/recipe.toml @@ -7,5 +7,5 @@ template = "cmake" dependencies = [ "sdl2", "gtk3", - "openssl1", + "openssl3", ]