From 93d87b80df39e61deaf2f5493317e0446212cb5c Mon Sep 17 00:00:00 2001 From: Ribbon Date: Thu, 16 Jul 2026 08:59:09 -0300 Subject: [PATCH] Add wev recipe, improve recipes and update TODOs --- recipes/wip/dev/lang/micropython/recipe.toml | 2 +- recipes/wip/emu/cpu/6502-emulator/recipe.toml | 2 +- recipes/wip/emu/cpu/rustzx/recipe.toml | 6 ++-- recipes/wip/emu/cpu/unicorn/recipe.toml | 2 +- .../wip/emu/game-console/azahar/recipe.toml | 3 +- .../emu/game-console/dolphin-emu/recipe.toml | 35 ++++++++++--------- .../gameboy/boytacean/recipe.toml | 6 ++-- .../game-console/gameboy/gameroy/recipe.toml | 7 ---- .../game-console/gameboy/mimic/recipe.toml | 2 +- .../wip/emu/game-console/gopher64/recipe.toml | 6 ++-- .../wip/emu/game-console/jgenesis/recipe.toml | 6 ++-- recipes/wip/libs/other/libenet/recipe.toml | 2 +- recipes/wip/libs/other/libpcap/recipe.toml | 2 +- recipes/wip/wayland/wev/recipe.toml | 17 +++++++++ 14 files changed, 53 insertions(+), 45 deletions(-) delete mode 100644 recipes/wip/emu/game-console/gameboy/gameroy/recipe.toml create mode 100644 recipes/wip/wayland/wev/recipe.toml diff --git a/recipes/wip/dev/lang/micropython/recipe.toml b/recipes/wip/dev/lang/micropython/recipe.toml index 25df760eb..371e30411 100644 --- a/recipes/wip/dev/lang/micropython/recipe.toml +++ b/recipes/wip/dev/lang/micropython/recipe.toml @@ -14,7 +14,7 @@ script = """ rsync -av --delete "${COOKBOOK_SOURCE}/" ./ cd ports/unix DYNAMIC_INIT -make -C ../../mpy-cross +make -C ../../mpy-cross # build cross-compiler MAKEFLAGS=( VARIANT=minimal ) diff --git a/recipes/wip/emu/cpu/6502-emulator/recipe.toml b/recipes/wip/emu/cpu/6502-emulator/recipe.toml index 1a647f682..4546a3413 100644 --- a/recipes/wip/emu/cpu/6502-emulator/recipe.toml +++ b/recipes/wip/emu/cpu/6502-emulator/recipe.toml @@ -1,4 +1,4 @@ -#TODO ahash crate error (probably outdated) +#TODO quad-snd crate error after cargo update [source] git = "https://github.com/ArchUsr64/6502_emulator" shallow_clone = true diff --git a/recipes/wip/emu/cpu/rustzx/recipe.toml b/recipes/wip/emu/cpu/rustzx/recipe.toml index de3f47df3..6e50c295f 100644 --- a/recipes/wip/emu/cpu/rustzx/recipe.toml +++ b/recipes/wip/emu/cpu/rustzx/recipe.toml @@ -1,10 +1,8 @@ -#TODO Not compiled or tested +#TODO make sdl2-sys use the sdl2 recipe (after cargo update) [source] git = "https://github.com/rustzx/rustzx" shallow_clone = true [build] template = "cargo" cargopackages = ["rustzx"] -dependencies = [ - "sdl2", -] +dependencies = ["sdl2"] diff --git a/recipes/wip/emu/cpu/unicorn/recipe.toml b/recipes/wip/emu/cpu/unicorn/recipe.toml index e4e1e468a..7d47aff7e 100644 --- a/recipes/wip/emu/cpu/unicorn/recipe.toml +++ b/recipes/wip/emu/cpu/unicorn/recipe.toml @@ -1,4 +1,4 @@ -#TODO not compiled or tested +#TODO undeclared MAP_* and PROT_* # build instructions: https://github.com/unicorn-engine/unicorn/blob/master/docs/COMPILE.md [source] git = "https://github.com/unicorn-engine/unicorn" diff --git a/recipes/wip/emu/game-console/azahar/recipe.toml b/recipes/wip/emu/game-console/azahar/recipe.toml index 559bdb5d6..7a056b304 100644 --- a/recipes/wip/emu/game-console/azahar/recipe.toml +++ b/recipes/wip/emu/game-console/azahar/recipe.toml @@ -1,5 +1,4 @@ -#TODO not compiled or tested -#TODO determine minimum dependencies from cmake log +#TODO assembly errors in bundled cryptopp-modern library # build instructions - https://github.com/azahar-emu/azahar/wiki/Building-From-Source#linux [source] git = "https://github.com/azahar-emu/azahar" diff --git a/recipes/wip/emu/game-console/dolphin-emu/recipe.toml b/recipes/wip/emu/game-console/dolphin-emu/recipe.toml index 6dc01cb44..9d397db69 100644 --- a/recipes/wip/emu/game-console/dolphin-emu/recipe.toml +++ b/recipes/wip/emu/game-console/dolphin-emu/recipe.toml @@ -1,9 +1,9 @@ -#TODO not compiled or tested yet -#TODO discover minimum dependencies from cmake log +#TODO build configuration error +#TODO some failling tests # build instructions: https://github.com/dolphin-emu/dolphin/wiki/Building-for-Linux [source] git = "https://github.com/dolphin-emu/dolphin" -rev = "71e15c2875f36458c8f29ee160f01606967bcd13" +rev = "2606" shallow_clone = true [build] template = "cmake" @@ -24,16 +24,19 @@ cmakeflags = [ "-DENABLE_LLVM=OFF", "-DENABLE_QT=OFF", ] -#dependencies = [ - #"ffmpeg6", - #"libevdev", - #"libusb", - #"pango", - #"cairo", - #"qt6-base", - #"qt6-svg", - #"mesa-x11", - #"curl", - #"libvulkan", - #"openal", -#] +dependencies = [ + "libhidapi", + "mbedtls", + "sdl3", + "libusb", + "lz4", + "minizip-ng", + "zlib", + "zstd", + "xxhash", + "bzip2", + "libenet", + "pugixml", + "glslang", + "libfmt", +] diff --git a/recipes/wip/emu/game-console/gameboy/boytacean/recipe.toml b/recipes/wip/emu/game-console/gameboy/boytacean/recipe.toml index f0a4eaeaa..6eb997024 100644 --- a/recipes/wip/emu/game-console/gameboy/boytacean/recipe.toml +++ b/recipes/wip/emu/game-console/gameboy/boytacean/recipe.toml @@ -1,9 +1,7 @@ -#TODO Not compiled or tested +#TODO compiled but not tested [source] git = "https://github.com/joamag/boytacean" shallow_clone = true [build] template = "cargo" -dependencies = [ - "sdl2", -] +dependencies = ["sdl2"] diff --git a/recipes/wip/emu/game-console/gameboy/gameroy/recipe.toml b/recipes/wip/emu/game-console/gameboy/gameroy/recipe.toml deleted file mode 100644 index ee7ede2cf..000000000 --- a/recipes/wip/emu/game-console/gameboy/gameroy/recipe.toml +++ /dev/null @@ -1,7 +0,0 @@ -#TODO not compiled or tested -[source] -git = "https://github.com/Rodrigodd/gameroy" -shallow_clone = true -[build] -template = "cargo" -cargopackages = ["gameroy-native"] diff --git a/recipes/wip/emu/game-console/gameboy/mimic/recipe.toml b/recipes/wip/emu/game-console/gameboy/mimic/recipe.toml index 85ade83d9..b5853c857 100644 --- a/recipes/wip/emu/game-console/gameboy/mimic/recipe.toml +++ b/recipes/wip/emu/game-console/gameboy/mimic/recipe.toml @@ -1,4 +1,4 @@ -#TODO update mio to 0.8 +#TODO update mio crate version [source] git = "https://github.com/jawline/Mimic" shallow_clone = true diff --git a/recipes/wip/emu/game-console/gopher64/recipe.toml b/recipes/wip/emu/game-console/gopher64/recipe.toml index 6d3937681..4b4a1b15a 100644 --- a/recipes/wip/emu/game-console/gopher64/recipe.toml +++ b/recipes/wip/emu/game-console/gopher64/recipe.toml @@ -1,9 +1,11 @@ -#TODO Not compiled or tested +#TODO update nix crate version +#TODO make it use sdl3 recipe [source] git = "https://github.com/gopher64/gopher64" shallow_clone = true [build] template = "cargo" dependencies = [ - "sdl2", + "sdl3", + "libwayland", ] diff --git a/recipes/wip/emu/game-console/jgenesis/recipe.toml b/recipes/wip/emu/game-console/jgenesis/recipe.toml index 0a554ee07..e9e81b1c0 100644 --- a/recipes/wip/emu/game-console/jgenesis/recipe.toml +++ b/recipes/wip/emu/game-console/jgenesis/recipe.toml @@ -1,10 +1,8 @@ -#TODO Not compiled or tested +#TODO make sdl3-sys crate use sdl3 recipe [source] git = "https://github.com/jsgroth/jgenesis" shallow_clone = true [build] template = "cargo" cargopackages = ["jgenesis-cli"] -dependencies = [ - "sdl2", -] +dependencies = ["sdl3"] diff --git a/recipes/wip/libs/other/libenet/recipe.toml b/recipes/wip/libs/other/libenet/recipe.toml index b2747475b..e927cae95 100644 --- a/recipes/wip/libs/other/libenet/recipe.toml +++ b/recipes/wip/libs/other/libenet/recipe.toml @@ -1,4 +1,4 @@ -#TODO compilation error +#TODO compiled but not tested [source] tar = "http://enet.bespin.org/download/enet-1.3.17.tar.gz" [build] diff --git a/recipes/wip/libs/other/libpcap/recipe.toml b/recipes/wip/libs/other/libpcap/recipe.toml index 00e2d6af5..8a62380f2 100644 --- a/recipes/wip/libs/other/libpcap/recipe.toml +++ b/recipes/wip/libs/other/libpcap/recipe.toml @@ -1,4 +1,4 @@ -#TODO compilation error +#TODO undeclared SIOCGIFADDR and SIOCGIFNETMASK [source] tar = "https://www.tcpdump.org/release/libpcap-1.10.4.tar.gz" [build] diff --git a/recipes/wip/wayland/wev/recipe.toml b/recipes/wip/wayland/wev/recipe.toml new file mode 100644 index 000000000..c717c6fae --- /dev/null +++ b/recipes/wip/wayland/wev/recipe.toml @@ -0,0 +1,17 @@ +#TODO compile and test +# probably wrong gnu make command +[source] +git = "https://git.sr.ht/~sircmpwn/wev" +rev = "1.1.0" +shallow_clone = true +[build] +template = "custom" +dependencies = [ + "libwayland", + "libxkbcommon", +] +script = """ +rsync -av --delete "${COOKBOOK_SOURCE}/" ./ +DYNAMIC_INIT +"${COOKBOOK_MAKE}" install -j"$COOKBOOK_MAKE_JOBS" "${MAKEFLAGS[@]}" DESTDIR="$COOKBOOK_STAGE/usr" +"""