From 6156be4571a6cd31a95b7d323bb5596fe88a3ea7 Mon Sep 17 00:00:00 2001
From: Ribbon <ribbon_45@proton.me>
Date: Thu, 14 Dec 2023 00:34:44 +0000
Subject: [PATCH] Update recipes

---
 recipes/wip/apitrace/recipe.toml          |  6 ++++++
 recipes/wip/capstone/recipe.toml          |  5 +++++
 recipes/wip/cling/recipe.toml             |  5 +++++
 recipes/wip/firedbg/recipe.toml           |  5 +++++
 recipes/wip/hx/recipe.toml                |  5 +++++
 recipes/wip/{skia => libskia}/recipe.toml |  0
 recipes/wip/nano/recipe.toml              |  6 +++++-
 recipes/wip/netop/recipe.toml             |  8 ++++++++
 recipes/wip/succeed2ban-tui/recipe.toml   |  5 +++++
 recipes/wip/svt-av1/recipe.toml           |  2 +-
 recipes/wip/tracy/recipe.toml             | 11 +++++++++++
 recipes/wip/xwayland/recipe.toml          |  2 +-
 12 files changed, 57 insertions(+), 3 deletions(-)
 create mode 100644 recipes/wip/apitrace/recipe.toml
 create mode 100644 recipes/wip/capstone/recipe.toml
 create mode 100644 recipes/wip/cling/recipe.toml
 create mode 100644 recipes/wip/firedbg/recipe.toml
 create mode 100644 recipes/wip/hx/recipe.toml
 rename recipes/wip/{skia => libskia}/recipe.toml (100%)
 create mode 100644 recipes/wip/netop/recipe.toml
 create mode 100644 recipes/wip/succeed2ban-tui/recipe.toml
 create mode 100644 recipes/wip/tracy/recipe.toml

diff --git a/recipes/wip/apitrace/recipe.toml b/recipes/wip/apitrace/recipe.toml
new file mode 100644
index 000000000..ab5fb810b
--- /dev/null
+++ b/recipes/wip/apitrace/recipe.toml
@@ -0,0 +1,6 @@
+#TODO missing script for CMake, see https://github.com/apitrace/apitrace/blob/master/docs/INSTALL.markdown#linux
+[source]
+git = "https://github.com/apitrace/apitrace"
+rev = "9352fc02bba106fbbeef9e8452ef34643c0d0764"
+[build]
+template = "custom"
diff --git a/recipes/wip/capstone/recipe.toml b/recipes/wip/capstone/recipe.toml
new file mode 100644
index 000000000..8a2eea776
--- /dev/null
+++ b/recipes/wip/capstone/recipe.toml
@@ -0,0 +1,5 @@
+#TODO missing script for building, see https://github.com/capstone-engine/capstone/blob/next/COMPILE.TXT
+[source]
+tar = "https://github.com/capstone-engine/capstone/archive/refs/tags/5.0.1.tar.gz"
+[build]
+template = "custom"
diff --git a/recipes/wip/cling/recipe.toml b/recipes/wip/cling/recipe.toml
new file mode 100644
index 000000000..3471b28c7
--- /dev/null
+++ b/recipes/wip/cling/recipe.toml
@@ -0,0 +1,5 @@
+#TODO missing script for CMake, see https://github.com/vgvassilev/cling#building-from-source
+[source]
+tar = "https://github.com/vgvassilev/cling/archive/refs/tags/v1.0.tar.gz"
+[build]
+template = "custom"
diff --git a/recipes/wip/firedbg/recipe.toml b/recipes/wip/firedbg/recipe.toml
new file mode 100644
index 000000000..15c3cf559
--- /dev/null
+++ b/recipes/wip/firedbg/recipe.toml
@@ -0,0 +1,5 @@
+#TODO probably wrong template, if it doesn't work use the "command" package
+[source]
+tar = "https://github.com/SeaQL/FireDBG.for.Rust/archive/refs/tags/1.74.1.tar.gz"
+[build]
+template = "cargo"
diff --git a/recipes/wip/hx/recipe.toml b/recipes/wip/hx/recipe.toml
new file mode 100644
index 000000000..b1673a811
--- /dev/null
+++ b/recipes/wip/hx/recipe.toml
@@ -0,0 +1,5 @@
+#TODO missing script for "make", see https://github.com/krpors/hx#compiling-and-running
+[source]
+tar = "https://github.com/krpors/hx/archive/refs/tags/v1.0.14.tar.gz"
+[build]
+template = "custom"
diff --git a/recipes/wip/skia/recipe.toml b/recipes/wip/libskia/recipe.toml
similarity index 100%
rename from recipes/wip/skia/recipe.toml
rename to recipes/wip/libskia/recipe.toml
diff --git a/recipes/wip/nano/recipe.toml b/recipes/wip/nano/recipe.toml
index 89990c756..0ad7927f6 100644
--- a/recipes/wip/nano/recipe.toml
+++ b/recipes/wip/nano/recipe.toml
@@ -2,7 +2,11 @@
 [source]
 tar = "https://www.nano-editor.org/dist/v7/nano-7.2.tar.xz"
 [build]
-template = "configure"
+template = "custom"
 dependencies = [
     "ncurses",
 ]
+script = """
+export CPPFLAGS="-I${COOKBOOK_SYSROOT}/include"
+cookbook_configure
+"""
diff --git a/recipes/wip/netop/recipe.toml b/recipes/wip/netop/recipe.toml
new file mode 100644
index 000000000..cdeca28af
--- /dev/null
+++ b/recipes/wip/netop/recipe.toml
@@ -0,0 +1,8 @@
+#TODO Not compiled or tested
+[source]
+git = "https://github.com/ZingerLittleBee/netop"
+[build]
+template = "cargo"
+dependencies = [
+    "libpcap",
+]
diff --git a/recipes/wip/succeed2ban-tui/recipe.toml b/recipes/wip/succeed2ban-tui/recipe.toml
new file mode 100644
index 000000000..df20b74cc
--- /dev/null
+++ b/recipes/wip/succeed2ban-tui/recipe.toml
@@ -0,0 +1,5 @@
+#TODO Not compiled or tested
+[source]
+git = "https://github.com/J-Bockhofer/succeed2ban-tui"
+[build]
+template = "cargo"
diff --git a/recipes/wip/svt-av1/recipe.toml b/recipes/wip/svt-av1/recipe.toml
index 67975389e..9c81d55d9 100644
--- a/recipes/wip/svt-av1/recipe.toml
+++ b/recipes/wip/svt-av1/recipe.toml
@@ -1,5 +1,5 @@
 #TODO missing script for building, see https://gitlab.com/AOMediaCodec/SVT-AV1/-/blob/master/Docs/Build-Guide.md#linux-operating-systems-64-bit
 [source]
-tar = "https://gitlab.com/AOMediaCodec/SVT-AV1/-/archive/v1.7.0/SVT-AV1-v1.7.0.tar.bz2"
+tar = "https://gitlab.com/AOMediaCodec/SVT-AV1/-/archive/v1.8.0/SVT-AV1-v1.8.0.tar.bz2"
 [build]
 template = "custom"
diff --git a/recipes/wip/tracy/recipe.toml b/recipes/wip/tracy/recipe.toml
new file mode 100644
index 000000000..1dd2a8761
--- /dev/null
+++ b/recipes/wip/tracy/recipe.toml
@@ -0,0 +1,11 @@
+#TODO missing script for "make", see https://github.com/wolfpld/tracy/releases/latest/download/tracy.pdf
+[source]
+tar = "https://github.com/wolfpld/tracy/archive/refs/tags/v0.10.tar.gz"
+[build]
+template = "custom"
+dependencies = [
+    "glfw",
+    "freetype2",
+    "dbus",
+    "capstone",
+]
diff --git a/recipes/wip/xwayland/recipe.toml b/recipes/wip/xwayland/recipe.toml
index 7fad169dc..7a80c4426 100644
--- a/recipes/wip/xwayland/recipe.toml
+++ b/recipes/wip/xwayland/recipe.toml
@@ -1,6 +1,6 @@
 #TODO missing script for Meson, see https://wayland.freedesktop.org/xserver.html#heading_toc_j_3
 [source]
-tar = "https://www.x.org/releases/individual/xserver/xwayland-23.1.1.tar.xz"
+tar = "https://www.x.org/releases/individual/xserver/xwayland-23.2.3.tar.xz"
 [build]
 template = "custom"
 dependencies = [
-- 
GitLab