From 47b7acca312137f2b8e644f575cf81c27903131f Mon Sep 17 00:00:00 2001
From: Ribbon <ribbon_45@proton.me>
Date: Sun, 24 Dec 2023 16:57:21 +0000
Subject: [PATCH] update recipes

---
 recipes/wip/cosmic-term/recipe.toml |  2 +-
 recipes/wip/flamegraph/recipe.toml  |  8 ++++++++
 recipes/wip/gobang/recipe.toml      |  2 +-
 recipes/wip/mimic/recipe.toml       |  2 +-
 recipes/wip/news-rs/recipe.toml     |  2 +-
 recipes/wip/nsh/recipe.toml         |  2 +-
 recipes/wip/pipr/recipe.toml        |  2 +-
 recipes/wip/pure/recipe.toml        | 10 ++++++++++
 recipes/wip/ruffle/recipe.toml      |  1 +
 9 files changed, 25 insertions(+), 6 deletions(-)
 create mode 100644 recipes/wip/flamegraph/recipe.toml
 create mode 100644 recipes/wip/pure/recipe.toml

diff --git a/recipes/wip/cosmic-term/recipe.toml b/recipes/wip/cosmic-term/recipe.toml
index 5ee76928e..199d73c70 100644
--- a/recipes/wip/cosmic-term/recipe.toml
+++ b/recipes/wip/cosmic-term/recipe.toml
@@ -1,4 +1,4 @@
-#TODO mio crate error
+#TODO update mio to 0.8
 [source]
 git = "https://github.com/pop-os/cosmic-term"
 [build]
diff --git a/recipes/wip/flamegraph/recipe.toml b/recipes/wip/flamegraph/recipe.toml
new file mode 100644
index 000000000..21a22105b
--- /dev/null
+++ b/recipes/wip/flamegraph/recipe.toml
@@ -0,0 +1,8 @@
+#TODO require DTrace support
+[source]
+git = "https://github.com/flamegraph-rs/flamegraph"
+[build]
+template = "custom"
+script = """
+cookbook_cargo_packages flamegraph
+"""
diff --git a/recipes/wip/gobang/recipe.toml b/recipes/wip/gobang/recipe.toml
index 6a20b6d0f..275810a14 100644
--- a/recipes/wip/gobang/recipe.toml
+++ b/recipes/wip/gobang/recipe.toml
@@ -1,4 +1,4 @@
-#TODO mio crate error (after cargo update and patch on ring)
+#TODO update mio to 0.8 (after cargo update and patch on ring)
 [source]
 git = "https://github.com/TaKO8Ki/gobang"
 [build]
diff --git a/recipes/wip/mimic/recipe.toml b/recipes/wip/mimic/recipe.toml
index 1b3bb2735..7122d7c4e 100644
--- a/recipes/wip/mimic/recipe.toml
+++ b/recipes/wip/mimic/recipe.toml
@@ -1,4 +1,4 @@
-#TODO mio crate error (even after cargo update)
+#TODO update mio to 0.8
 [source]
 git = "https://github.com/jawline/Mimic"
 [build]
diff --git a/recipes/wip/news-rs/recipe.toml b/recipes/wip/news-rs/recipe.toml
index 8f5b6ef20..44177d64f 100644
--- a/recipes/wip/news-rs/recipe.toml
+++ b/recipes/wip/news-rs/recipe.toml
@@ -1,4 +1,4 @@
-#TODO mio crate error (after cargo update)
+#TODO update mio to 0.8 (after cargo update)
 [source]
 git = "https://github.com/Atticus64/news"
 [build]
diff --git a/recipes/wip/nsh/recipe.toml b/recipes/wip/nsh/recipe.toml
index 69a1e4fd1..50c411985 100644
--- a/recipes/wip/nsh/recipe.toml
+++ b/recipes/wip/nsh/recipe.toml
@@ -1,4 +1,4 @@
-#TODO mio crate error
+#TODO update mio to 0.8
 [source]
 git = "https://github.com/nuta/nsh"
 [build]
diff --git a/recipes/wip/pipr/recipe.toml b/recipes/wip/pipr/recipe.toml
index 33e24f7d4..08ca75d9c 100644
--- a/recipes/wip/pipr/recipe.toml
+++ b/recipes/wip/pipr/recipe.toml
@@ -1,4 +1,4 @@
-#TODO mio crate error (after cargo update)
+#TODO update mio to 0.8 (after cargo update)
 [source]
 git = "https://github.com/Elkowar/pipr"
 [build]
diff --git a/recipes/wip/pure/recipe.toml b/recipes/wip/pure/recipe.toml
new file mode 100644
index 000000000..dfd1da305
--- /dev/null
+++ b/recipes/wip/pure/recipe.toml
@@ -0,0 +1,10 @@
+#TODO move to proper category
+[source]
+git = "https://github.com/sindresorhus/pure"
+rev = "87e6f5dd4c793f6d980532205aaefe196780606f"
+[build]
+template = "custom"
+script = """
+mkdir -pv "${COOKBOOK_STAGE}"/home/user/.zsh/pure
+cp -rv "${COOKBOOK_SOURCE}"/* "${COOKBOOK_STAGE}"/home/user/.zsh/pure
+"""
diff --git a/recipes/wip/ruffle/recipe.toml b/recipes/wip/ruffle/recipe.toml
index 3b794390d..207b03bb3 100644
--- a/recipes/wip/ruffle/recipe.toml
+++ b/recipes/wip/ruffle/recipe.toml
@@ -5,6 +5,7 @@ git = "https://github.com/ruffle-rs/ruffle"
 template = "custom"
 dependencies = [
 	"openssl1",
+	"gtk3",
 ]
 script = """
 cookbook_cargo_packages ruffle_desktop
-- 
GitLab