From cc964cd208522830a4bdec4acce7dbfe0f701952 Mon Sep 17 00:00:00 2001
From: Ribbon <ribbon_45@proton.me>
Date: Thu, 14 Dec 2023 23:29:04 +0000
Subject: [PATCH] Update recipes

---
 recipes/wip/b3sum/recipe.toml       |  8 ++++++--
 recipes/wip/bevy-engine/recipe.toml | 17 ++++-------------
 recipes/wip/binocle/recipe.toml     |  4 ++--
 3 files changed, 12 insertions(+), 17 deletions(-)

diff --git a/recipes/wip/b3sum/recipe.toml b/recipes/wip/b3sum/recipe.toml
index 9ed6015ff..5882d6ff9 100644
--- a/recipes/wip/b3sum/recipe.toml
+++ b/recipes/wip/b3sum/recipe.toml
@@ -1,8 +1,12 @@
-#TODO require a custom script to move the binary?
+#TODO probably wrong script
 [source]
 tar = "https://github.com/BLAKE3-team/BLAKE3/archive/refs/tags/1.4.1.tar.gz"
 [build]
 template = "custom"
 script = """
-cookbook_cargo_packages blake3
+"${COOKBOOK_CARGO}" install \
+        --path "${COOKBOOK_SOURCE}/b3sum" \
+        --root "${COOKBOOK_STAGE}" \
+        --locked \
+        --no-track
 """
diff --git a/recipes/wip/bevy-engine/recipe.toml b/recipes/wip/bevy-engine/recipe.toml
index 613fdfc27..fad6be0f9 100644
--- a/recipes/wip/bevy-engine/recipe.toml
+++ b/recipes/wip/bevy-engine/recipe.toml
@@ -1,17 +1,8 @@
-#TODO Not compiled or tested yet
+#TODO missing script for the "hello_world" example and the "wayland" flag
 [source]
 tar = "https://github.com/bevyengine/bevy/archive/refs/tags/v0.11.1.tar.gz"
 [build]
 template = "custom"
-script = """
-package="hello_world"
-"${COOKBOOK_CARGO}" build \
-            --manifest-path "${COOKBOOK_SOURCE}/Cargo.toml" \
-            --package "${package}" \
-            --release
-           --no-default-features
-        mkdir -pv "${COOKBOOK_STAGE}/bin"
-        cp -v \
-            "target/${TARGET}/release/${package}" \
-            "${COOKBOOK_STAGE}/bin/${package}"
-"""
+dependencies = [
+    "libwayland",
+]
diff --git a/recipes/wip/binocle/recipe.toml b/recipes/wip/binocle/recipe.toml
index 915063243..b18eb77c2 100644
--- a/recipes/wip/binocle/recipe.toml
+++ b/recipes/wip/binocle/recipe.toml
@@ -1,5 +1,5 @@
-#TODO Not compiled or tested
+#TODO wgpu-hal crate error
 [source]
-tar = "https://github.com/sharkdp/binocle/archive/refs/tags/v0.3.1.tar.gz"
+tar = "https://github.com/sharkdp/binocle/archive/refs/tags/v0.3.2.tar.gz"
 [build]
 template = "cargo"
-- 
GitLab