From 0d8b3816eb9f73f0ba9efaceec14c7ac5b350176 Mon Sep 17 00:00:00 2001
From: Ribbon <ribbon_45@proton.me>
Date: Sat, 16 Dec 2023 23:07:53 +0000
Subject: [PATCH] Update recipes

---
 recipes/wip/arti/recipe.toml           |  3 ++-
 recipes/wip/assaultcube/recipe.toml    |  3 ++-
 recipes/wip/astc-encoder/recipe.toml   |  3 ++-
 recipes/wip/atuin/recipe.toml          |  3 ++-
 recipes/wip/b3sum/recipe.toml          |  3 ++-
 recipes/wip/backhand/recipe.toml       | 10 +++++++---
 recipes/wip/bacon/recipe.toml          |  3 ++-
 recipes/wip/bandwhich/recipe.toml      |  3 ++-
 recipes/wip/bat/recipe.toml            |  3 ++-
 recipes/wip/battop/recipe.toml         |  2 +-
 recipes/wip/betterspades/recipe.toml   |  2 +-
 recipes/wip/bevy-engine/recipe.toml    |  3 ++-
 recipes/wip/binocle/recipe.toml        |  3 ++-
 recipes/wip/biome/recipe.toml          |  3 ++-
 recipes/wip/bita/recipe.toml           |  3 ++-
 recipes/wip/bottles/recipe.toml        |  3 ++-
 recipes/wip/bottom/recipe.toml         |  3 ++-
 recipes/wip/boytacean/recipe.toml      |  3 ++-
 recipes/wip/broot/recipe.toml          |  3 ++-
 recipes/wip/bullet-physics/recipe.toml |  3 ++-
 recipes/wip/capstone/recipe.toml       |  3 ++-
 recipes/wip/carbonyl/recipe.toml       |  2 +-
 recipes/wip/cargo-about/recipe.toml    |  3 ++-
 recipes/wip/cargo-audit/recipe.toml    |  3 ++-
 24 files changed, 50 insertions(+), 26 deletions(-)

diff --git a/recipes/wip/arti/recipe.toml b/recipes/wip/arti/recipe.toml
index 4dcefc60a..4f7acc99b 100644
--- a/recipes/wip/arti/recipe.toml
+++ b/recipes/wip/arti/recipe.toml
@@ -1,6 +1,7 @@
 #TODO pwd-grp crate error
 [source]
-tar = "https://gitlab.torproject.org/tpo/core/arti/-/archive/arti-v1.1.7/arti-arti-v1.1.7.tar.gz"
+git = "https://gitlab.torproject.org/tpo/core/arti"
+rev = "db9a5263e7b185b90750c658dff8e5a50fce0a2e"
 [build]
 template = "custom"
 dependencies = [
diff --git a/recipes/wip/assaultcube/recipe.toml b/recipes/wip/assaultcube/recipe.toml
index 8e70c6f14..b1c804916 100644
--- a/recipes/wip/assaultcube/recipe.toml
+++ b/recipes/wip/assaultcube/recipe.toml
@@ -1,6 +1,7 @@
 #TODO missing script for "make", see https://wiki.cubers.net/action/view/Linux_Support#Compiling_AssaultCube
 [source]
-tar = "https://github.com/assaultcube/AC/archive/refs/tags/v1.3.0.2.tar.gz"
+git = "https://github.com/assaultcube/AC"
+rev = "1ece5af7533983bb8f827616381d282470793d90"
 [build]
 template = "configure"
 dependencies = [
diff --git a/recipes/wip/astc-encoder/recipe.toml b/recipes/wip/astc-encoder/recipe.toml
index d1817afb6..595155b6b 100644
--- a/recipes/wip/astc-encoder/recipe.toml
+++ b/recipes/wip/astc-encoder/recipe.toml
@@ -1,5 +1,6 @@
 #TODO missing script for CMake, see https://github.com/ARM-software/astc-encoder/blob/main/Docs/Building.md#macos-and-linux-using-make
 [source]
-tar = "https://github.com/ARM-software/astc-encoder/archive/refs/tags/4.6.1.tar.gz"
+git = "https://github.com/ARM-software/astc-encoder"
+rev = "aeece2f609db959d1c5e43e4f00bd177ea130575"
 [build]
 template = "custom"
diff --git a/recipes/wip/atuin/recipe.toml b/recipes/wip/atuin/recipe.toml
index 10e3e70b8..a281a26c9 100644
--- a/recipes/wip/atuin/recipe.toml
+++ b/recipes/wip/atuin/recipe.toml
@@ -1,6 +1,7 @@
 #TODO require a patch on tokio (update the version)
 [source]
-tar = "https://github.com/ellie/atuin/archive/refs/tags/v14.0.1.tar.gz"
+git = "https://github.com/ellie/atuin"
+rev = "da2e58fbb17aa05510df2480f7e1d47e21e74c73"
 [build]
 template = "custom"
 script = """
diff --git a/recipes/wip/b3sum/recipe.toml b/recipes/wip/b3sum/recipe.toml
index 5882d6ff9..ede0f4462 100644
--- a/recipes/wip/b3sum/recipe.toml
+++ b/recipes/wip/b3sum/recipe.toml
@@ -1,6 +1,7 @@
 #TODO probably wrong script
 [source]
-tar = "https://github.com/BLAKE3-team/BLAKE3/archive/refs/tags/1.4.1.tar.gz"
+git = "https://github.com/BLAKE3-team/BLAKE3"
+rev = "5aa53f07f7188a569cadfc5daf1522972d9a9630"
 [build]
 template = "custom"
 script = """
diff --git a/recipes/wip/backhand/recipe.toml b/recipes/wip/backhand/recipe.toml
index 81e083733..65bf91b5b 100644
--- a/recipes/wip/backhand/recipe.toml
+++ b/recipes/wip/backhand/recipe.toml
@@ -1,5 +1,9 @@
-#TODO broken program
+#TODO not compiled or tested
 [source]
-tar = "https://github.com/wcampbell0x2a/backhand/archive/refs/tags/v0.12.0.tar.gz"
+git = "https://github.com/wcampbell0x2a/backhand"
+rev = "96c83729a791526ff0a3fd8e9390740c25ae8184"
 [build]
-template = "cargo"
\ No newline at end of file
+template = "custom"
+script = """
+cookbook_cargo_packages backhand-cli
+"""
diff --git a/recipes/wip/bacon/recipe.toml b/recipes/wip/bacon/recipe.toml
index 2f093f858..91d29e5da 100644
--- a/recipes/wip/bacon/recipe.toml
+++ b/recipes/wip/bacon/recipe.toml
@@ -1,5 +1,6 @@
 #TODO camino crate compilation error
 [source]
-tar = "https://github.com/Canop/bacon/archive/refs/tags/v2.8.1.tar.gz"
+git = "https://github.com/Canop/bacon"
+rev = "4ab9e68ba3003c4f6c97c07df0c2e23508890f52"
 [build]
 template = "cargo"
\ No newline at end of file
diff --git a/recipes/wip/bandwhich/recipe.toml b/recipes/wip/bandwhich/recipe.toml
index 1863abcab..3a34f6340 100644
--- a/recipes/wip/bandwhich/recipe.toml
+++ b/recipes/wip/bandwhich/recipe.toml
@@ -1,5 +1,6 @@
 #TODO redox_syscall crate error
 [source]
-tar = "https://github.com/imsnif/bandwhich/archive/refs/tags/0.20.0.tar.gz"
+git = "https://github.com/imsnif/bandwhich"
+rev = "f987636f785f13fd9e96d942a6b73176c5673d1f"
 [build]
 template = "cargo"
diff --git a/recipes/wip/bat/recipe.toml b/recipes/wip/bat/recipe.toml
index e77efa840..0c4db9a55 100644
--- a/recipes/wip/bat/recipe.toml
+++ b/recipes/wip/bat/recipe.toml
@@ -1,5 +1,6 @@
 #TODO sys-info crate build.rs does not recognize Redox
 [source]
-tar = "https://github.com/sharkdp/bat/archive/refs/tags/v0.23.0.tar.gz"
+git = "https://github.com/sharkdp/bat"
+rev = "fc9546854f5a7b38823f4990453c6cde386bfd3b"
 [build]
 template = "cargo"
diff --git a/recipes/wip/battop/recipe.toml b/recipes/wip/battop/recipe.toml
index 093c8769d..02e81de24 100644
--- a/recipes/wip/battop/recipe.toml
+++ b/recipes/wip/battop/recipe.toml
@@ -1,5 +1,5 @@
 #TODO atty crate error (after cargo update)
 [source]
-tar = "https://github.com/svartalf/rust-battop/archive/refs/tags/v0.2.4.tar.gz"
+git = "https://github.com/svartalf/rust-battop"
 [build]
 template = "cargo"
diff --git a/recipes/wip/betterspades/recipe.toml b/recipes/wip/betterspades/recipe.toml
index 2a384ba3d..1e223a364 100644
--- a/recipes/wip/betterspades/recipe.toml
+++ b/recipes/wip/betterspades/recipe.toml
@@ -1,7 +1,7 @@
 #TODO probably missing dependencies, see https://github.com/xtreme8000/BetterSpades#build-requirements
 #TODO probably wrong script, see https://github.com/xtreme8000/BetterSpades#linux
 [source]
-tar = "https://github.com/xtreme8000/BetterSpades/archive/refs/tags/v0.1.5.tar.gz"
+git = "https://github.com/xtreme8000/BetterSpades"
 [build]
 template = "custom"
 dependencies = [
diff --git a/recipes/wip/bevy-engine/recipe.toml b/recipes/wip/bevy-engine/recipe.toml
index fad6be0f9..b38c9ee80 100644
--- a/recipes/wip/bevy-engine/recipe.toml
+++ b/recipes/wip/bevy-engine/recipe.toml
@@ -1,6 +1,7 @@
 #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"
+git = "https://github.com/bevyengine/bevy"
+rev = "22e39c4abf6e2fdf99ba0820b3c35db73be71347"
 [build]
 template = "custom"
 dependencies = [
diff --git a/recipes/wip/binocle/recipe.toml b/recipes/wip/binocle/recipe.toml
index 59c133c60..573f4d773 100644
--- a/recipes/wip/binocle/recipe.toml
+++ b/recipes/wip/binocle/recipe.toml
@@ -1,5 +1,6 @@
 #TODO compiled but not tested
 [source]
-tar = "https://github.com/sharkdp/binocle/archive/refs/tags/v0.3.2.tar.gz"
+git = "https://github.com/sharkdp/binocle"
+rev = "f7e1bfe28938b5e289e8b353bf592aa3c26ca71f"
 [build]
 template = "cargo"
diff --git a/recipes/wip/biome/recipe.toml b/recipes/wip/biome/recipe.toml
index e27f42222..1f3fac451 100644
--- a/recipes/wip/biome/recipe.toml
+++ b/recipes/wip/biome/recipe.toml
@@ -1,6 +1,7 @@
 #TODO tikv-jemalloc-sys crate error
 [source]
-tar = "https://github.com/biomejs/biome/archive/refs/tags/cli/v1.4.0.tar.gz"
+git = "https://github.com/biomejs/biome"
+rev = "a88751306242058374575b9f511e3c22213032b6"
 [build]
 template = "custom"
 script = """
diff --git a/recipes/wip/bita/recipe.toml b/recipes/wip/bita/recipe.toml
index bccc93733..8131dcf3d 100644
--- a/recipes/wip/bita/recipe.toml
+++ b/recipes/wip/bita/recipe.toml
@@ -1,6 +1,7 @@
 #TODO compilation error (after a cargo update and a patch on the ring and tokio crates)
 [source]
-tar = "https://github.com/oll3/bita/archive/refs/tags/v0.11.0.tar.gz"
+git = "https://github.com/oll3/bita"
+rev = "202579482b94db85e3e49e52dfba1edd498bf733"
 [build]
 template = "custom"
 script = """
diff --git a/recipes/wip/bottles/recipe.toml b/recipes/wip/bottles/recipe.toml
index 746e66ee9..ab9220a41 100644
--- a/recipes/wip/bottles/recipe.toml
+++ b/recipes/wip/bottles/recipe.toml
@@ -1,5 +1,6 @@
 #TODO missing Meson build instructions
 [source]
-tar = "https://github.com/bottlesdevs/Bottles/archive/refs/tags/51.9.tar.gz"
+git = "https://github.com/bottlesdevs/Bottles"
+rev = "0914b2e34c1800784b26ca52d1a80f06d65252fa"
 [build]
 template = "custom"
diff --git a/recipes/wip/bottom/recipe.toml b/recipes/wip/bottom/recipe.toml
index 3951313e1..6ace3b7cb 100644
--- a/recipes/wip/bottom/recipe.toml
+++ b/recipes/wip/bottom/recipe.toml
@@ -1,5 +1,6 @@
 #TODO starship-battery crate compilation error
 [source]
-tar = "https://github.com/ClementTsang/bottom/archive/refs/tags/0.9.1.tar.gz"
+git = "https://github.com/ClementTsang/bottom"
+rev = "6d251098710f3119af11ecdd8761929acb010fab"
 [build]
 template = "cargo"
diff --git a/recipes/wip/boytacean/recipe.toml b/recipes/wip/boytacean/recipe.toml
index bcd4f8737..6c5a1eccb 100644
--- a/recipes/wip/boytacean/recipe.toml
+++ b/recipes/wip/boytacean/recipe.toml
@@ -1,6 +1,7 @@
 #TODO Not compiled or tested
 [source]
-tar = "https://github.com/joamag/boytacean/archive/refs/tags/0.9.16.tar.gz"
+git = "https://github.com/joamag/boytacean"
+rev = "1ef4a9d1689319722dff73dec4a824a7d4289f5d"
 [build]
 template = "cargo"
 dependencies = [
diff --git a/recipes/wip/broot/recipe.toml b/recipes/wip/broot/recipe.toml
index a8d185952..3c74af0c3 100644
--- a/recipes/wip/broot/recipe.toml
+++ b/recipes/wip/broot/recipe.toml
@@ -1,5 +1,6 @@
 #TODO nix crate compilation error
 [source]
-tar = "https://github.com/Canop/broot/archive/refs/tags/v1.22.1.tar.gz"
+git = "https://github.com/Canop/broot"
+rev = "c12f94f23551cbc7142ac6677385fa28cea29d1d"
 [build]
 template = "cargo"
diff --git a/recipes/wip/bullet-physics/recipe.toml b/recipes/wip/bullet-physics/recipe.toml
index f2f39442b..3fe74819d 100644
--- a/recipes/wip/bullet-physics/recipe.toml
+++ b/recipes/wip/bullet-physics/recipe.toml
@@ -1,5 +1,6 @@
 #TODO missing script for Premake or CMake, see https://github.com/bulletphysics/bullet3#build-instructions-for-bullet-using-premake-you-can-also-use-cmake-instead
 [source]
-tar = "https://github.com/bulletphysics/bullet3/archive/refs/tags/3.25.tar.gz"
+git = "https://github.com/bulletphysics/bullet3"
+rev = "2c204c49e56ed15ec5fcfa71d199ab6d6570b3f5"
 [build]
 template = "custom"
diff --git a/recipes/wip/capstone/recipe.toml b/recipes/wip/capstone/recipe.toml
index 8a2eea776..c0cef7518 100644
--- a/recipes/wip/capstone/recipe.toml
+++ b/recipes/wip/capstone/recipe.toml
@@ -1,5 +1,6 @@
 #TODO missing script for building, see https://github.com/capstone-engine/capstone/blob/next/COMPILE.TXT
 [source]
-tar = "https://github.com/capstone-engine/capstone/archive/refs/tags/5.0.1.tar.gz"
+git = "https://github.com/capstone-engine/capstone"
+rev = "097c04d9413c59a58b00d4d1c8d5dc0ac158ffaa"
 [build]
 template = "custom"
diff --git a/recipes/wip/carbonyl/recipe.toml b/recipes/wip/carbonyl/recipe.toml
index e4d434863..eb7814089 100644
--- a/recipes/wip/carbonyl/recipe.toml
+++ b/recipes/wip/carbonyl/recipe.toml
@@ -1,7 +1,7 @@
 #TODO make nss work
 #TODO require Chromium building
 [source]
-tar = "https://github.com/fathyb/carbonyl/archive/refs/tags/v0.0.3.tar.gz"
+git = "https://github.com/fathyb/carbonyl"
 [build]
 template = "cargo"
 dependencies = [
diff --git a/recipes/wip/cargo-about/recipe.toml b/recipes/wip/cargo-about/recipe.toml
index e2e8e8fc8..7dbdd5651 100644
--- a/recipes/wip/cargo-about/recipe.toml
+++ b/recipes/wip/cargo-about/recipe.toml
@@ -1,5 +1,6 @@
 #TODO camino crate error
 [source]
-tar = "https://github.com/EmbarkStudios/cargo-about/archive/refs/tags/0.6.0.tar.gz"
+git = "https://github.com/EmbarkStudios/cargo-about"
+rev = "2f6275808e651dca7d739dbbcd45efc48f4f388d"
 [build]
 template = "cargo"
diff --git a/recipes/wip/cargo-audit/recipe.toml b/recipes/wip/cargo-audit/recipe.toml
index 3315a7eb4..954a58b0d 100644
--- a/recipes/wip/cargo-audit/recipe.toml
+++ b/recipes/wip/cargo-audit/recipe.toml
@@ -1,6 +1,7 @@
 #TODO camino crate error (after a patch on the ring crate)
 [source]
-tar = "https://github.com/rustsec/rustsec/archive/refs/tags/cargo-audit/v0.18.3.tar.gz"
+git = "https://github.com/rustsec/rustsec"
+rev = "3544515990b09441ecc12df8d0291bc6f23d3d30"
 [build]
 template = "custom"
 dependencies = [
-- 
GitLab