Update recipes

This commit is contained in:
Ribbon 2023-12-14 23:29:04 +00:00
parent 4ec8581ac8
commit cc964cd208
3 changed files with 12 additions and 17 deletions

View File

@ -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
"""

View File

@ -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",
]

View File

@ -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"