From d0e955ad0fb2a889707a0a61b21a21df2c22b135 Mon Sep 17 00:00:00 2001
From: Ribbon <ribbon_45@proton.me>
Date: Fri, 12 Jul 2024 16:07:05 +0000
Subject: [PATCH] Add recipes

---
 recipes/wip/demos/avian/recipe.toml        | 8 ++++++++
 recipes/wip/demos/chess-engine/recipe.toml | 9 +++++++++
 recipes/wip/demos/fyrox/recipe.toml        | 8 ++++++++
 recipes/wip/demos/ggez/recipe.toml         | 8 ++++++++
 recipes/wip/demos/kira/recipe.toml         | 8 ++++++++
 recipes/wip/demos/macroquad/recipe.toml    | 8 ++++++++
 recipes/wip/demos/piston/recipe.toml       | 8 ++++++++
 7 files changed, 57 insertions(+)
 create mode 100644 recipes/wip/demos/avian/recipe.toml
 create mode 100644 recipes/wip/demos/chess-engine/recipe.toml
 create mode 100644 recipes/wip/demos/fyrox/recipe.toml
 create mode 100644 recipes/wip/demos/ggez/recipe.toml
 create mode 100644 recipes/wip/demos/kira/recipe.toml
 create mode 100644 recipes/wip/demos/macroquad/recipe.toml
 create mode 100644 recipes/wip/demos/piston/recipe.toml

diff --git a/recipes/wip/demos/avian/recipe.toml b/recipes/wip/demos/avian/recipe.toml
new file mode 100644
index 000000000..763ce94cf
--- /dev/null
+++ b/recipes/wip/demos/avian/recipe.toml
@@ -0,0 +1,8 @@
+#TODO not compiled or tested
+[source]
+git = "https://github.com/Jondolf/avian"
+[build]
+template = "custom"
+script = """
+cookbook_cargo_examples chain_2d many_shapes ray_caster chain_3d cubes
+"""
diff --git a/recipes/wip/demos/chess-engine/recipe.toml b/recipes/wip/demos/chess-engine/recipe.toml
new file mode 100644
index 000000000..1724e7672
--- /dev/null
+++ b/recipes/wip/demos/chess-engine/recipe.toml
@@ -0,0 +1,9 @@
+#TODO maybe wrong script
+[source]
+git = "https://github.com/adam-mcdaniel/chess-engine"
+[build]
+template = "custom"
+script = """
+cookbook_cargo_packages chess-gui
+cookbook_cargo_examples terminal
+"""
diff --git a/recipes/wip/demos/fyrox/recipe.toml b/recipes/wip/demos/fyrox/recipe.toml
new file mode 100644
index 000000000..228dca163
--- /dev/null
+++ b/recipes/wip/demos/fyrox/recipe.toml
@@ -0,0 +1,8 @@
+#TODO not compiled or tested
+[source]
+git = "https://github.com/FyroxEngine/Fyrox"
+[build]
+template = "custom"
+script = """
+cookbook_cargo_examples 2d
+"""
diff --git a/recipes/wip/demos/ggez/recipe.toml b/recipes/wip/demos/ggez/recipe.toml
new file mode 100644
index 000000000..a55d09196
--- /dev/null
+++ b/recipes/wip/demos/ggez/recipe.toml
@@ -0,0 +1,8 @@
+#TODO not compiled or tested
+[source]
+git = "https://github.com/ggez/ggez"
+[build]
+template = "custom"
+script = """
+cookbook_cargo_examples 02_hello_world 04_snake cube hello_canvas input_test shader shadows sounds text vertex_shader
+"""
diff --git a/recipes/wip/demos/kira/recipe.toml b/recipes/wip/demos/kira/recipe.toml
new file mode 100644
index 000000000..377c94d51
--- /dev/null
+++ b/recipes/wip/demos/kira/recipe.toml
@@ -0,0 +1,8 @@
+#TODO not compiled or tested
+[source]
+git = "https://github.com/tesselode/kira-examples"
+[build]
+template = "custom"
+script = """
+cookbook_cargo_packages dynamic-music ghost-noise metronome score-counter spatial-audio simple-sound-playback
+"""
diff --git a/recipes/wip/demos/macroquad/recipe.toml b/recipes/wip/demos/macroquad/recipe.toml
new file mode 100644
index 000000000..5c30eb817
--- /dev/null
+++ b/recipes/wip/demos/macroquad/recipe.toml
@@ -0,0 +1,8 @@
+#TODO not compiled or tested
+[source]
+git = "https://github.com/not-fl3/macroquad"
+[build]
+template = "custom"
+script = """
+cookbook_cargo_examples 3d basic_shapes camera chess ferris first_person particles_example platformer shadertoy snake text ui
+"""
diff --git a/recipes/wip/demos/piston/recipe.toml b/recipes/wip/demos/piston/recipe.toml
new file mode 100644
index 000000000..f470907d8
--- /dev/null
+++ b/recipes/wip/demos/piston/recipe.toml
@@ -0,0 +1,8 @@
+#TODO not compiled or tested
+[source]
+git = "https://github.com/pistondevelopers/piston-examples"
+[build]
+template = "custom"
+script = """
+cookbook_cargo_examples cube hello_world image multi_window shapes snake sprite
+"""
-- 
GitLab