From e6192fc27b67126b9b3d6bbaf6deb538051d4b49 Mon Sep 17 00:00:00 2001
From: Ribbon <ribbon_45@proton.me>
Date: Sun, 8 Dec 2024 19:21:40 +0000
Subject: [PATCH] Add recipes

---
 recipes/wip/dev/lang/cjit/recipe.toml         |  6 ++++++
 recipes/wip/graphics/other/curvis/recipe.toml |  5 +++++
 .../wip/net/download/parabolic/recipe.toml    | 21 +++++++++++++++++++
 recipes/wip/office/sheetsui/recipe.toml       |  5 +++++
 recipes/wip/search/clapgrep/recipe.toml       | 11 ++++++++++
 recipes/wip/sound/swyh-rs/recipe.toml         |  5 +++++
 recipes/wip/storage/stor-age/recipe.toml      |  5 +++++
 recipes/wip/terminal/bobr/recipe.toml         |  5 +++++
 recipes/wip/web/spider/recipe.toml            | 11 ++++++++++
 9 files changed, 74 insertions(+)
 create mode 100644 recipes/wip/dev/lang/cjit/recipe.toml
 create mode 100644 recipes/wip/graphics/other/curvis/recipe.toml
 create mode 100644 recipes/wip/net/download/parabolic/recipe.toml
 create mode 100644 recipes/wip/office/sheetsui/recipe.toml
 create mode 100644 recipes/wip/search/clapgrep/recipe.toml
 create mode 100644 recipes/wip/sound/swyh-rs/recipe.toml
 create mode 100644 recipes/wip/storage/stor-age/recipe.toml
 create mode 100644 recipes/wip/terminal/bobr/recipe.toml
 create mode 100644 recipes/wip/web/spider/recipe.toml

diff --git a/recipes/wip/dev/lang/cjit/recipe.toml b/recipes/wip/dev/lang/cjit/recipe.toml
new file mode 100644
index 000000000..7c3020f12
--- /dev/null
+++ b/recipes/wip/dev/lang/cjit/recipe.toml
@@ -0,0 +1,6 @@
+#TODO write a gnu make target for redox, see: https://github.com/dyne/cjit#build-from-source
+[source]
+git = "https://github.com/dyne/cjit"
+rev = "9a4321e64ea1af10e9e3c63de45af80b36846cda"
+[build]
+template = "custom"
diff --git a/recipes/wip/graphics/other/curvis/recipe.toml b/recipes/wip/graphics/other/curvis/recipe.toml
new file mode 100644
index 000000000..68c376635
--- /dev/null
+++ b/recipes/wip/graphics/other/curvis/recipe.toml
@@ -0,0 +1,5 @@
+#TODO not compiled or tested
+[source]
+git = "https://github.com/fragarriss/CurVis"
+[build]
+template = "cargo"
diff --git a/recipes/wip/net/download/parabolic/recipe.toml b/recipes/wip/net/download/parabolic/recipe.toml
new file mode 100644
index 000000000..ba84290f8
--- /dev/null
+++ b/recipes/wip/net/download/parabolic/recipe.toml
@@ -0,0 +1,21 @@
+#TODO it uses vcpkg for dependency management, see: https://github.com/NickvisionApps/parabolic#building-manually
+[source]
+git = "https://github.com/NickvisionApps/Parabolic"
+rev = "b2188390ce14b83c41c68eef87e833d6fd8b7d2f"
+[build]
+template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/office/sheetsui/recipe.toml b/recipes/wip/office/sheetsui/recipe.toml
new file mode 100644
index 000000000..3468441bc
--- /dev/null
+++ b/recipes/wip/office/sheetsui/recipe.toml
@@ -0,0 +1,5 @@
+#TODO not compiled or tested
+[source]
+git = "https://github.com/zaphar/sheetsui"
+[build]
+template = "cargo"
diff --git a/recipes/wip/search/clapgrep/recipe.toml b/recipes/wip/search/clapgrep/recipe.toml
new file mode 100644
index 000000000..9159cad1f
--- /dev/null
+++ b/recipes/wip/search/clapgrep/recipe.toml
@@ -0,0 +1,11 @@
+#TODO write a script to copy the data files, see: https://github.com/luleyleo/clapgrep/blob/main/makefile
+[source]
+git = "https://github.com/luleyleo/clapgrep"
+[build]
+template = "custom"
+dependencies = [
+    "gtk4",
+]
+script = """
+cookbook_cargo_packages clapgrep-gnome
+"""
diff --git a/recipes/wip/sound/swyh-rs/recipe.toml b/recipes/wip/sound/swyh-rs/recipe.toml
new file mode 100644
index 000000000..7dc591fd7
--- /dev/null
+++ b/recipes/wip/sound/swyh-rs/recipe.toml
@@ -0,0 +1,5 @@
+#TODO not compiled or tested
+[source]
+git = "https://github.com/dheijl/swyh-rs"
+[build]
+template = "cargo"
diff --git a/recipes/wip/storage/stor-age/recipe.toml b/recipes/wip/storage/stor-age/recipe.toml
new file mode 100644
index 000000000..04b237b49
--- /dev/null
+++ b/recipes/wip/storage/stor-age/recipe.toml
@@ -0,0 +1,5 @@
+#TODO not compiled or tested
+[source]
+git = "https://github.com/idiv-biodiversity/stor-age"
+[build]
+template = "cargo"
diff --git a/recipes/wip/terminal/bobr/recipe.toml b/recipes/wip/terminal/bobr/recipe.toml
new file mode 100644
index 000000000..a7632aa79
--- /dev/null
+++ b/recipes/wip/terminal/bobr/recipe.toml
@@ -0,0 +1,5 @@
+#TODO not compiled or tested
+[source]
+git = "https://github.com/cchexcode/bobr"
+[build]
+template = "cargo"
diff --git a/recipes/wip/web/spider/recipe.toml b/recipes/wip/web/spider/recipe.toml
new file mode 100644
index 000000000..e153a9315
--- /dev/null
+++ b/recipes/wip/web/spider/recipe.toml
@@ -0,0 +1,11 @@
+#TODO not compiled or tested
+[source]
+git = "https://github.com/spider-rs/spider"
+[build]
+template = "custom"
+dependencies = [
+    "openssl1",
+]
+script = """
+cookbook_cargo_packages spider_cli
+"""
-- 
GitLab