From 09025c9392221654122b84432388eae14f20ad9f Mon Sep 17 00:00:00 2001 From: Ribbon Date: Mon, 17 Nov 2025 08:20:26 -0300 Subject: [PATCH] More recipe fixes and improvements --- recipes/wip/emulators/cpu/rustzx/recipe.toml | 1 + recipes/wip/emulators/cpu/unicorn/recipe.toml | 3 ++- .../wip/emulators/game-console/obliteration/recipe.toml | 1 + recipes/wip/emulators/game-console/play/recipe.toml | 1 + .../wip/emulators/game-console/ps1/duckstation/recipe.toml | 4 +++- .../emulators/game-console/ps1/pcsx-rearmed/recipe.toml | 1 + recipes/wip/emulators/game-console/snes9x/recipe.toml | 1 + recipes/wip/emulators/game-console/uoyabause/recipe.toml | 1 + recipes/wip/emulators/game-console/vita3k/recipe.toml | 1 + .../wip/emulators/game-console/xenia-canary/recipe.toml | 1 + recipes/wip/emulators/game-console/zsnes/recipe.toml | 1 + recipes/wip/emulators/mobile/touchhle/recipe.toml | 7 ++++++- recipes/wip/emulators/pc/darling/recipe.toml | 6 +++--- recipes/wip/emulators/pc/martypc/recipe.toml | 6 +++--- recipes/wip/emulators/pc/opengmk/recipe.toml | 6 +++++- recipes/wip/emulators/pc/ruffle/recipe.toml | 5 ++++- 16 files changed, 35 insertions(+), 11 deletions(-) diff --git a/recipes/wip/emulators/cpu/rustzx/recipe.toml b/recipes/wip/emulators/cpu/rustzx/recipe.toml index a29861906..8397b5354 100644 --- a/recipes/wip/emulators/cpu/rustzx/recipe.toml +++ b/recipes/wip/emulators/cpu/rustzx/recipe.toml @@ -7,5 +7,6 @@ dependencies = [ "sdl2", ] script = """ +DYNAMIC_INIT cookbook_cargo_packages rustzx """ diff --git a/recipes/wip/emulators/cpu/unicorn/recipe.toml b/recipes/wip/emulators/cpu/unicorn/recipe.toml index 0e0977ccb..5e0f96ef1 100644 --- a/recipes/wip/emulators/cpu/unicorn/recipe.toml +++ b/recipes/wip/emulators/cpu/unicorn/recipe.toml @@ -2,6 +2,7 @@ # build instructions: https://github.com/unicorn-engine/unicorn/blob/master/docs/COMPILE.md [source] git = "https://github.com/unicorn-engine/unicorn" -rev = "e9c1c17f6df8f8f5da85ee80ad527452db5870ce" +rev = "2.1.4" +shallow_clone = true [build] template = "cmake" diff --git a/recipes/wip/emulators/game-console/obliteration/recipe.toml b/recipes/wip/emulators/game-console/obliteration/recipe.toml index 83c454954..494672161 100644 --- a/recipes/wip/emulators/game-console/obliteration/recipe.toml +++ b/recipes/wip/emulators/game-console/obliteration/recipe.toml @@ -1,5 +1,6 @@ #TODO missing script: https://github.com/obhq/obliteration/blob/main/docs/building.md [source] git = "https://github.com/obhq/obliteration" +shallow_clone = true [build] template = "custom" diff --git a/recipes/wip/emulators/game-console/play/recipe.toml b/recipes/wip/emulators/game-console/play/recipe.toml index 8b46ee57c..9bf494869 100644 --- a/recipes/wip/emulators/game-console/play/recipe.toml +++ b/recipes/wip/emulators/game-console/play/recipe.toml @@ -2,6 +2,7 @@ # build instructions: https://github.com/jpd002/Play-#building-for-unix [source] git = "https://github.com/jpd002/Play-" +shallow_clone = true [build] template = "cmake" dependencies = [ diff --git a/recipes/wip/emulators/game-console/ps1/duckstation/recipe.toml b/recipes/wip/emulators/game-console/ps1/duckstation/recipe.toml index d967efaca..09240d794 100644 --- a/recipes/wip/emulators/game-console/ps1/duckstation/recipe.toml +++ b/recipes/wip/emulators/game-console/ps1/duckstation/recipe.toml @@ -1,7 +1,9 @@ #TODO not compiled or tested yet # build instructions: https://github.com/stenzek/duckstation#linux-1 [source] -tar = "https://github.com/stenzek/duckstation" +git = "https://github.com/stenzek/duckstation" +rev = "16e56d7824e15657be26e30030394d0668493635" +shallow_clone = true [build] template = "cmake" dependencies = [ 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 bdae67d25..1683bfa3c 100644 --- a/recipes/wip/emulators/game-console/ps1/pcsx-rearmed/recipe.toml +++ b/recipes/wip/emulators/game-console/ps1/pcsx-rearmed/recipe.toml @@ -4,5 +4,6 @@ [source] git = "https://github.com/notaz/pcsx_rearmed" rev = "r25" +shallow_clone = true [build] template = "configure" diff --git a/recipes/wip/emulators/game-console/snes9x/recipe.toml b/recipes/wip/emulators/game-console/snes9x/recipe.toml index e263ddf5c..5963cd479 100644 --- a/recipes/wip/emulators/game-console/snes9x/recipe.toml +++ b/recipes/wip/emulators/game-console/snes9x/recipe.toml @@ -3,6 +3,7 @@ [source] git = "https://github.com/snes9xgit/snes9x" rev = "1.63" +shallow_clone = true [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 60d01caae..b1f730447 100644 --- a/recipes/wip/emulators/game-console/uoyabause/recipe.toml +++ b/recipes/wip/emulators/game-console/uoyabause/recipe.toml @@ -3,6 +3,7 @@ [source] git = "https://github.com/devmiyax/yabause" rev = "7d28bd54aa3188e90e4126ff9f7c27b945380488" +shallow_clone = true [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 5d7216e90..cf8b54e2e 100644 --- a/recipes/wip/emulators/game-console/vita3k/recipe.toml +++ b/recipes/wip/emulators/game-console/vita3k/recipe.toml @@ -2,6 +2,7 @@ # build instructions: https://github.com/Vita3K/Vita3K/blob/master/building.md#linux [source] git = "https://github.com/Vita3K/Vita3K" +shallow_clone = true [build] template = "cmake" dependencies = [ diff --git a/recipes/wip/emulators/game-console/xenia-canary/recipe.toml b/recipes/wip/emulators/game-console/xenia-canary/recipe.toml index 0e11d0b13..4cf2b0540 100644 --- a/recipes/wip/emulators/game-console/xenia-canary/recipe.toml +++ b/recipes/wip/emulators/game-console/xenia-canary/recipe.toml @@ -1,6 +1,7 @@ #TODO missing script: https://github.com/xenia-canary/xenia-canary/blob/canary_experimental/docs/building.md#linux [source] git = "https://github.com/xenia-canary/xenia-canary" +shallow_clone = true [build] template = "custom" dependencies = [ diff --git a/recipes/wip/emulators/game-console/zsnes/recipe.toml b/recipes/wip/emulators/game-console/zsnes/recipe.toml index 9c602662f..1a32c2ec1 100644 --- a/recipes/wip/emulators/game-console/zsnes/recipe.toml +++ b/recipes/wip/emulators/game-console/zsnes/recipe.toml @@ -1,6 +1,7 @@ #TODO missing script for gnu make: https://github.com/xyproto/zsnes#build [source] git = "https://github.com/xyproto/zsnes" +shallow_clone = true [build] template = "custom" dependencies = [ diff --git a/recipes/wip/emulators/mobile/touchhle/recipe.toml b/recipes/wip/emulators/mobile/touchhle/recipe.toml index 3d42bb646..c11451713 100644 --- a/recipes/wip/emulators/mobile/touchhle/recipe.toml +++ b/recipes/wip/emulators/mobile/touchhle/recipe.toml @@ -1,8 +1,13 @@ #TODO make boost work [source] git = "https://github.com/hikari-no-yume/touchHLE" +shallow_clone = true [build] -template = "cargo" +template = "custom" dependencies = [ "boost", ] +script = """ +DYNAMIC_INIT +cookbook_cargo +""" diff --git a/recipes/wip/emulators/pc/darling/recipe.toml b/recipes/wip/emulators/pc/darling/recipe.toml index 328476067..a16300118 100644 --- a/recipes/wip/emulators/pc/darling/recipe.toml +++ b/recipes/wip/emulators/pc/darling/recipe.toml @@ -1,8 +1,8 @@ #TODO not compiled or tested # build instructions: https://docs.darlinghq.org/build-instructions.html#building-and-installing -#TODO require Git LFS installed on host [source] git = "https://github.com/darlinghq/darling" +shallow_clone = true [build] template = "cmake" cmakeflags = [ @@ -14,12 +14,12 @@ dependencies = [ "cairo", "mesa", "libtiff", - "freetype", + "freetype2", "libxml2", "fontconfig", "libbsd", "libgif", "ffmpeg6", - "openssl1", + "openssl3", "libxkbfile", ] diff --git a/recipes/wip/emulators/pc/martypc/recipe.toml b/recipes/wip/emulators/pc/martypc/recipe.toml index 50afde34e..5ab9bbe00 100644 --- a/recipes/wip/emulators/pc/martypc/recipe.toml +++ b/recipes/wip/emulators/pc/martypc/recipe.toml @@ -1,9 +1,9 @@ -#TODO maybe wrong script, see https://github.com/dbalsom/martypc/blob/version_0_2_0/BUILDING.md#building-for-linux +#TODO not compiled or tested +# build instructions: https://github.com/dbalsom/martypc/wiki/Building-MartyPC#building-for-linux [source] git = "https://github.com/dbalsom/martypc" [build] template = "custom" script = """ -cd install -cookbook_cargo +cookbook_cargo_packages martypc_eframe """ diff --git a/recipes/wip/emulators/pc/opengmk/recipe.toml b/recipes/wip/emulators/pc/opengmk/recipe.toml index 5c0a004d7..fda49cc62 100644 --- a/recipes/wip/emulators/pc/opengmk/recipe.toml +++ b/recipes/wip/emulators/pc/opengmk/recipe.toml @@ -1,8 +1,12 @@ -#TODO libsoundio-sys crate error, require ALSA (needs to be ported) +#TODO not compiled or tested [source] git = "https://github.com/OpenGMK/OpenGMK" [build] template = "custom" +dependencies = [ + "libalsa", +] script = """ +DYNAMIC_INIT cookbook_cargo_packages gm8emulator """ diff --git a/recipes/wip/emulators/pc/ruffle/recipe.toml b/recipes/wip/emulators/pc/ruffle/recipe.toml index e21470385..1882070aa 100644 --- a/recipes/wip/emulators/pc/ruffle/recipe.toml +++ b/recipes/wip/emulators/pc/ruffle/recipe.toml @@ -1,11 +1,14 @@ #TODO camino crate error +# build instructions: https://github.com/ruffle-rs/ruffle#building-from-source [source] git = "https://github.com/ruffle-rs/ruffle" +shallow_clone = true [build] template = "custom" dependencies = [ - "openssl1", + "openssl3", ] script = """ +DYNAMIC_INIT cookbook_cargo_packages ruffle_desktop """