From 715ccde87289863ad4d4b9f9ca2c84da422b9bfe Mon Sep 17 00:00:00 2001
From: Ribbon <ribbon_45@proton.me>
Date: Sat, 13 Jul 2024 11:58:45 +0000
Subject: [PATCH] Add recipes

---
 recipes/wip/demos/albedo/recipe.toml              |  8 ++++++++
 recipes/wip/demos/kiss3d/recipe.toml              |  8 ++++++++
 recipes/wip/demos/lyon/recipe.toml                |  8 ++++++++
 recipes/wip/demos/rui/recipe.toml                 |  8 ++++++++
 recipes/wip/demos/terra/recipe.toml               |  9 +++++++++
 recipes/wip/demos/three-d/recipe.toml             |  8 ++++++++
 recipes/wip/demos/vizia/recipe.toml               |  8 ++++++++
 recipes/wip/demos/wgpu-sky-rendering/recipe.toml  |  5 +++++
 recipes/wip/games/simulation/nbodysim/recipe.toml | 10 ++++++++++
 recipes/wip/graphics/editors/rx/recipe.toml       |  5 +++++
 10 files changed, 77 insertions(+)
 create mode 100644 recipes/wip/demos/albedo/recipe.toml
 create mode 100644 recipes/wip/demos/kiss3d/recipe.toml
 create mode 100644 recipes/wip/demos/lyon/recipe.toml
 create mode 100644 recipes/wip/demos/rui/recipe.toml
 create mode 100644 recipes/wip/demos/terra/recipe.toml
 create mode 100644 recipes/wip/demos/three-d/recipe.toml
 create mode 100644 recipes/wip/demos/vizia/recipe.toml
 create mode 100644 recipes/wip/demos/wgpu-sky-rendering/recipe.toml
 create mode 100644 recipes/wip/games/simulation/nbodysim/recipe.toml
 create mode 100644 recipes/wip/graphics/editors/rx/recipe.toml

diff --git a/recipes/wip/demos/albedo/recipe.toml b/recipes/wip/demos/albedo/recipe.toml
new file mode 100644
index 000000000..365d915d0
--- /dev/null
+++ b/recipes/wip/demos/albedo/recipe.toml
@@ -0,0 +1,8 @@
+#TODO not compiled or tested
+[source]
+git = "https://github.com/albedo-engine/albedo"
+[build]
+template = "custom"
+script = """
+cookbook_cargo_examples gpu_picking
+"""
diff --git a/recipes/wip/demos/kiss3d/recipe.toml b/recipes/wip/demos/kiss3d/recipe.toml
new file mode 100644
index 000000000..ce7afd986
--- /dev/null
+++ b/recipes/wip/demos/kiss3d/recipe.toml
@@ -0,0 +1,8 @@
+#TODO not compiled or tested
+[source]
+git = "https://github.com/sebcrozet/kiss3d"
+[build]
+template = "custom"
+script = """
+cookbook_cargo_examples camera cube lines multi_windows planar_lines points post_processing primitives primitives2d procedural rectangle screenshot stereo text texturing ui window
+"""
diff --git a/recipes/wip/demos/lyon/recipe.toml b/recipes/wip/demos/lyon/recipe.toml
new file mode 100644
index 000000000..0d21e6d4f
--- /dev/null
+++ b/recipes/wip/demos/lyon/recipe.toml
@@ -0,0 +1,8 @@
+#TODO not compiled or tested
+[source]
+git = "https://github.com/nical/lyon"
+[build]
+template = "custom"
+script = """
+cookbook_cargo_examples wgpu-example
+"""
diff --git a/recipes/wip/demos/rui/recipe.toml b/recipes/wip/demos/rui/recipe.toml
new file mode 100644
index 000000000..1dd4e1938
--- /dev/null
+++ b/recipes/wip/demos/rui/recipe.toml
@@ -0,0 +1,8 @@
+#TODO not compiled or tested
+[source]
+git = "https://github.com/audulus/rui"
+[build]
+template = "custom"
+script = """
+cookbook_cargo_examples action background basic calc canvas counter counter2 font_size gallery list menu shapes slider text_editor toggle
+"""
diff --git a/recipes/wip/demos/terra/recipe.toml b/recipes/wip/demos/terra/recipe.toml
new file mode 100644
index 000000000..098123fe5
--- /dev/null
+++ b/recipes/wip/demos/terra/recipe.toml
@@ -0,0 +1,9 @@
+#TODO not compiled or tested
+[source]
+git = "https://github.com/fintelia/terra"
+[build]
+template = "cargo"
+dependencies = [
+    "openssl1",
+    "mesa",
+]
diff --git a/recipes/wip/demos/three-d/recipe.toml b/recipes/wip/demos/three-d/recipe.toml
new file mode 100644
index 000000000..b232ae74d
--- /dev/null
+++ b/recipes/wip/demos/three-d/recipe.toml
@@ -0,0 +1,8 @@
+#TODO not compiled or tested
+[source]
+git = "https://github.com/asny/three-d"
+[build]
+template = "custom"
+script = """
+cookbook_cargo_examples animation environment fireworks fog forest image instanced_shapes lighting lights logo mandelbrot multiwindow pbr shapes shapes2d sprites statues terrain texture triangle
+"""
diff --git a/recipes/wip/demos/vizia/recipe.toml b/recipes/wip/demos/vizia/recipe.toml
new file mode 100644
index 000000000..555c6a8fb
--- /dev/null
+++ b/recipes/wip/demos/vizia/recipe.toml
@@ -0,0 +1,8 @@
+#TODO not compiled or tested
+[source]
+git = "https://github.com/vizia/vizia"
+[build]
+template = "custom"
+script = """
+cookbook_cargo_examples animation dragdrop number input timers
+"""
diff --git a/recipes/wip/demos/wgpu-sky-rendering/recipe.toml b/recipes/wip/demos/wgpu-sky-rendering/recipe.toml
new file mode 100644
index 000000000..1e1c6c923
--- /dev/null
+++ b/recipes/wip/demos/wgpu-sky-rendering/recipe.toml
@@ -0,0 +1,5 @@
+#TODO not compiled or tested
+[source]
+git = "https://github.com/bmatthieu3/wgpu-sky-rendering"
+[build]
+template = "cargo"
diff --git a/recipes/wip/games/simulation/nbodysim/recipe.toml b/recipes/wip/games/simulation/nbodysim/recipe.toml
new file mode 100644
index 000000000..154732ebb
--- /dev/null
+++ b/recipes/wip/games/simulation/nbodysim/recipe.toml
@@ -0,0 +1,10 @@
+#TODO not compiled or tested
+[source]
+git = "https://github.com/timokoesters/nbodysim"
+[build]
+template = "custom"
+script = """
+mkdir -pv "${COOKBOOK_STAGE}"/usr/share/nbodysim
+cp -rv "${COOKBOOK_SOURCE}"/examples/* "${COOKBOOK_STAGE}"/usr/share/nbodysim
+cookbook_cargo
+"""
diff --git a/recipes/wip/graphics/editors/rx/recipe.toml b/recipes/wip/graphics/editors/rx/recipe.toml
new file mode 100644
index 000000000..ad719de42
--- /dev/null
+++ b/recipes/wip/graphics/editors/rx/recipe.toml
@@ -0,0 +1,5 @@
+#TODO not compiled or tested
+[source]
+git = "https://github.com/cloudhead/rx"
+[build]
+template = "cargo"
-- 
GitLab