From e8c4dad5fe553077fdc99062d6b48a302264b82b Mon Sep 17 00:00:00 2001
From: Ribbon <ribbon_45@proton.me>
Date: Sun, 23 Jun 2024 23:22:38 +0000
Subject: [PATCH] Add recipes

---
 recipes/wip/graphics/darktable/recipe.toml   | 19 +++++++++++++++++++
 recipes/wip/libs/libuuid-ossp/recipe.toml    |  7 +++++++
 recipes/wip/net/guacamole-client/recipe.toml |  6 ++++++
 recipes/wip/net/guacamole-server/recipe.toml | 17 +++++++++++++++++
 4 files changed, 49 insertions(+)
 create mode 100644 recipes/wip/graphics/darktable/recipe.toml
 create mode 100644 recipes/wip/libs/libuuid-ossp/recipe.toml
 create mode 100644 recipes/wip/net/guacamole-client/recipe.toml
 create mode 100644 recipes/wip/net/guacamole-server/recipe.toml

diff --git a/recipes/wip/graphics/darktable/recipe.toml b/recipes/wip/graphics/darktable/recipe.toml
new file mode 100644
index 000000000..b25c96284
--- /dev/null
+++ b/recipes/wip/graphics/darktable/recipe.toml
@@ -0,0 +1,19 @@
+#TODO missing script for CMake, see https://github.com/darktable-org/darktable?tab=readme-ov-file#linux
+# dependencies - https://github.com/darktable-org/darktable?tab=readme-ov-file#dependencies
+[source]
+tar = "https://github.com/darktable-org/darktable/releases/download/release-4.8.0/darktable-4.8.0.tar.xz"
+[build]
+template = "custom"
+dependencies = [
+    "gtk3",
+    "glib",
+    "sqlite3",
+    "gexiv2",
+    "liblensfun",
+    "liblcms",
+    "libpugixml",
+    "libavif",
+    "libheif",
+    "libwebp",
+    "libgphoto2",
+]
diff --git a/recipes/wip/libs/libuuid-ossp/recipe.toml b/recipes/wip/libs/libuuid-ossp/recipe.toml
new file mode 100644
index 000000000..90f45ad69
--- /dev/null
+++ b/recipes/wip/libs/libuuid-ossp/recipe.toml
@@ -0,0 +1,7 @@
+#TODO require a data type for FTP
+# download link - ftp://ftp.ossp.org/pkg/lib/uuid/uuid-1.6.2.tar.gz
+#TODO if this template doesn't work, read this http://cvs.ossp.org/fileview?f=ossp-pkg/uuid/INSTALL&v=1.6
+[source]
+
+[build]
+template = "configure"
diff --git a/recipes/wip/net/guacamole-client/recipe.toml b/recipes/wip/net/guacamole-client/recipe.toml
new file mode 100644
index 000000000..3cc0d7516
--- /dev/null
+++ b/recipes/wip/net/guacamole-client/recipe.toml
@@ -0,0 +1,6 @@
+#TODO this recipe require this data type to download the Java bytecode - https://gitlab.redox-os.org/redox-os/cookbook/-/issues/190
+# download link - https://apache.org/dyn/closer.lua/guacamole/1.5.5/binary/guacamole-1.5.5.war?action=download
+[source]
+
+[build]
+template = "custom"
diff --git a/recipes/wip/net/guacamole-server/recipe.toml b/recipes/wip/net/guacamole-server/recipe.toml
new file mode 100644
index 000000000..90faa903b
--- /dev/null
+++ b/recipes/wip/net/guacamole-server/recipe.toml
@@ -0,0 +1,17 @@
+#TODO not compiled or tested
+# dependencies - https://guacamole.apache.org/doc/gug/installing-guacamole.html#required-dependencies
+[source]
+tar = "https://apache.org/dyn/closer.lua/guacamole/1.5.5/source/guacamole-server-1.5.5.tar.gz?action=download"
+[build]
+template = "configure"
+dependencies = [
+    "cairo",
+    "libjpeg-turbo",
+    "libpng",
+    "libuuid",
+    "libssh2",
+    "openssl1",
+    "pango",
+    "pulseaudio",
+    "libvorbis",
+]
-- 
GitLab