From 8e18563bf934cb42b7ab605c38c0c7109fcfb3ae Mon Sep 17 00:00:00 2001
From: Ribbon <ribbon_45@proton.me>
Date: Sun, 14 Jul 2024 19:16:48 +0000
Subject: [PATCH] Add recipes

---
 recipes/wip/demos/colored/recipe.toml         |  8 +++++++
 recipes/wip/demos/console-rs/recipe.toml      |  8 +++++++
 recipes/wip/demos/globe-rs/recipe.toml        |  9 ++++++++
 .../wip/players/spotify-player/recipe.toml    | 21 +++++++++++++++++++
 recipes/wip/terminal/agg/recipe.toml          |  5 +++++
 recipes/wip/terminal/pastel/recipe.toml       |  5 +++++
 recipes/wip/terminal/pls/recipe.toml          |  5 +++++
 recipes/wip/terminal/so/recipe.toml           |  8 +++++++
 recipes/wip/terminal/tere/recipe.toml         |  5 +++++
 recipes/wip/text/mdcat/recipe.toml            |  8 +++++++
 recipes/wip/text/zee/recipe.toml              |  8 +++++++
 11 files changed, 90 insertions(+)
 create mode 100644 recipes/wip/demos/colored/recipe.toml
 create mode 100644 recipes/wip/demos/console-rs/recipe.toml
 create mode 100644 recipes/wip/demos/globe-rs/recipe.toml
 create mode 100644 recipes/wip/players/spotify-player/recipe.toml
 create mode 100644 recipes/wip/terminal/agg/recipe.toml
 create mode 100644 recipes/wip/terminal/pastel/recipe.toml
 create mode 100644 recipes/wip/terminal/pls/recipe.toml
 create mode 100644 recipes/wip/terminal/so/recipe.toml
 create mode 100644 recipes/wip/terminal/tere/recipe.toml
 create mode 100644 recipes/wip/text/mdcat/recipe.toml
 create mode 100644 recipes/wip/text/zee/recipe.toml

diff --git a/recipes/wip/demos/colored/recipe.toml b/recipes/wip/demos/colored/recipe.toml
new file mode 100644
index 000000000..ec395b0b7
--- /dev/null
+++ b/recipes/wip/demos/colored/recipe.toml
@@ -0,0 +1,8 @@
+#TODO not compiled or tested
+[source]
+git = "https://github.com/colored-rs/colored"
+[build]
+template = "custom"
+script = """
+cookbook_cargo_examples control custom_colors dynamic_colors most_simple nested_colors
+"""
diff --git a/recipes/wip/demos/console-rs/recipe.toml b/recipes/wip/demos/console-rs/recipe.toml
new file mode 100644
index 000000000..020bc40f4
--- /dev/null
+++ b/recipes/wip/demos/console-rs/recipe.toml
@@ -0,0 +1,8 @@
+#TODO not compiled or tested
+[source]
+git = "https://github.com/console-rs/console"
+[build]
+template = "custom"
+script = """
+cookbook_cargo_examples colors colors256 cursor_at keyboard term
+"""
diff --git a/recipes/wip/demos/globe-rs/recipe.toml b/recipes/wip/demos/globe-rs/recipe.toml
new file mode 100644
index 000000000..a9c83c5cf
--- /dev/null
+++ b/recipes/wip/demos/globe-rs/recipe.toml
@@ -0,0 +1,9 @@
+#TODO not compiled or tested
+[source]
+git = "https://github.com/adamsky/globe"
+[build]
+template = "custom"
+script = """
+cookbook_cargo_packages globe-cli
+mv "${COOKBOOK_STAGE}/usr/bin/globe" "${COOKBOOK_STAGE}/usr/bin/globe-rs"
+"""
diff --git a/recipes/wip/players/spotify-player/recipe.toml b/recipes/wip/players/spotify-player/recipe.toml
new file mode 100644
index 000000000..decb29a56
--- /dev/null
+++ b/recipes/wip/players/spotify-player/recipe.toml
@@ -0,0 +1,21 @@
+#TODO not compiled or tested
+[source]
+git = "https://github.com/aome510/spotify-player"
+[build]
+template = "custom"
+dependencies = [
+    "openssl1",
+]
+script = """
+package=spotify_player
+"${COOKBOOK_CARGO}" build \
+            --manifest-path "${COOKBOOK_SOURCE}/Cargo.toml" \
+            --package "${package}" \
+            --release
+            --no-default-features
+            --rodio-backend
+        mkdir -pv "${COOKBOOK_STAGE}/usr/bin"
+        cp -v \
+            "target/${TARGET}/release/${package}" \
+            "${COOKBOOK_STAGE}/usr/bin/${package}"
+"""
diff --git a/recipes/wip/terminal/agg/recipe.toml b/recipes/wip/terminal/agg/recipe.toml
new file mode 100644
index 000000000..0cc12f405
--- /dev/null
+++ b/recipes/wip/terminal/agg/recipe.toml
@@ -0,0 +1,5 @@
+#TODO not compiled or tested
+[source]
+git = "https://github.com/asciinema/agg"
+[build]
+template = "cargo"
diff --git a/recipes/wip/terminal/pastel/recipe.toml b/recipes/wip/terminal/pastel/recipe.toml
new file mode 100644
index 000000000..2bf28ff08
--- /dev/null
+++ b/recipes/wip/terminal/pastel/recipe.toml
@@ -0,0 +1,5 @@
+#TODO not compiled or tested
+[source]
+git = "https://github.com/sharkdp/pastel"
+[build]
+template = "cargo"
diff --git a/recipes/wip/terminal/pls/recipe.toml b/recipes/wip/terminal/pls/recipe.toml
new file mode 100644
index 000000000..db04dd571
--- /dev/null
+++ b/recipes/wip/terminal/pls/recipe.toml
@@ -0,0 +1,5 @@
+#TODO not compiled or tested
+[source]
+git = "https://github.com/pls-rs/pls"
+[build]
+template = "cargo"
diff --git a/recipes/wip/terminal/so/recipe.toml b/recipes/wip/terminal/so/recipe.toml
new file mode 100644
index 000000000..d32b099d5
--- /dev/null
+++ b/recipes/wip/terminal/so/recipe.toml
@@ -0,0 +1,8 @@
+#TODO not compiled or tested
+[source]
+git = "https://github.com/samtay/so"
+[build]
+template = "custom"
+script = """
+cookbook_cargo --no-default-features --features termion-backend
+"""
diff --git a/recipes/wip/terminal/tere/recipe.toml b/recipes/wip/terminal/tere/recipe.toml
new file mode 100644
index 000000000..e4ac6774e
--- /dev/null
+++ b/recipes/wip/terminal/tere/recipe.toml
@@ -0,0 +1,5 @@
+#TODO not compiled or tested
+[source]
+git = "https://github.com/mgunyho/tere"
+[build]
+template = "cargo"
diff --git a/recipes/wip/text/mdcat/recipe.toml b/recipes/wip/text/mdcat/recipe.toml
new file mode 100644
index 000000000..231a1730a
--- /dev/null
+++ b/recipes/wip/text/mdcat/recipe.toml
@@ -0,0 +1,8 @@
+#TODO not compiled or tested
+[source]
+git = "https://github.com/swsnr/mdcat"
+[build]
+template = "custom"
+script = """
+cookbook_cargo --features=static
+"""
diff --git a/recipes/wip/text/zee/recipe.toml b/recipes/wip/text/zee/recipe.toml
new file mode 100644
index 000000000..7cec4da92
--- /dev/null
+++ b/recipes/wip/text/zee/recipe.toml
@@ -0,0 +1,8 @@
+#TODO not compiled or tested
+[source]
+git = "https://github.com/zee-editor/zee"
+[build]
+template = "custom"
+script = """
+cookbook_cargo_packages zee
+"""
-- 
GitLab