From 64ed9dbd7ded383fca77a9e9d9b1c328d02f445f Mon Sep 17 00:00:00 2001 From: Ribbon Date: Sat, 23 May 2026 11:55:42 -0300 Subject: [PATCH] Add recipes --- recipes/wip/dev/graphics/ratscad/recipe.toml | 11 +++++++++++ .../wip/dev/graphics/spirv-cross/recipe.toml | 10 ++++++++++ .../graphics/spirv-llvm-translator/recipe.toml | 14 ++++++++++++++ .../wip/dev/graphics/spirv-tools/recipe.toml | 11 +++++++++++ recipes/wip/dev/ide/codebook/recipe.toml | 7 +++++++ recipes/wip/libs/compute/pocl/recipe.toml | 17 +++++++++++++++++ .../wip/libs/graphics/spirv-headers/recipe.toml | 10 ++++++++++ recipes/wip/math/ratex/recipe.toml | 12 ++++++++++++ recipes/wip/science/fluidx3d/recipe.toml | 10 ++++++++++ recipes/wip/security/threatdeck/recipe.toml | 6 ++++++ recipes/wip/time/psleep/recipe.toml | 6 ++++++ 11 files changed, 114 insertions(+) create mode 100644 recipes/wip/dev/graphics/ratscad/recipe.toml create mode 100644 recipes/wip/dev/graphics/spirv-cross/recipe.toml create mode 100644 recipes/wip/dev/graphics/spirv-llvm-translator/recipe.toml create mode 100644 recipes/wip/dev/graphics/spirv-tools/recipe.toml create mode 100644 recipes/wip/dev/ide/codebook/recipe.toml create mode 100644 recipes/wip/libs/compute/pocl/recipe.toml create mode 100644 recipes/wip/libs/graphics/spirv-headers/recipe.toml create mode 100644 recipes/wip/math/ratex/recipe.toml create mode 100644 recipes/wip/science/fluidx3d/recipe.toml create mode 100644 recipes/wip/security/threatdeck/recipe.toml create mode 100644 recipes/wip/time/psleep/recipe.toml diff --git a/recipes/wip/dev/graphics/ratscad/recipe.toml b/recipes/wip/dev/graphics/ratscad/recipe.toml new file mode 100644 index 00000000..7634449e --- /dev/null +++ b/recipes/wip/dev/graphics/ratscad/recipe.toml @@ -0,0 +1,11 @@ +#TODO compile and test +[source] +git = "https://github.com/qewer33/ratscad" +shallow_clone = true +[build] +template = "cargo" +[package] +dependencies = [ + "openscad", + "ratty", +] diff --git a/recipes/wip/dev/graphics/spirv-cross/recipe.toml b/recipes/wip/dev/graphics/spirv-cross/recipe.toml new file mode 100644 index 00000000..37aaaac0 --- /dev/null +++ b/recipes/wip/dev/graphics/spirv-cross/recipe.toml @@ -0,0 +1,10 @@ +#TODO compile and test +[source] +git = "https://github.com/KhronosGroup/SPIRV-Cross" +rev = "vulkan-sdk-1.4.350.0" +shallow_clone = true +[build] +template = "cmake" +cmakeflags = [ + "-DSPIRV_CROSS_ENABLE_TESTS=OFF" +] diff --git a/recipes/wip/dev/graphics/spirv-llvm-translator/recipe.toml b/recipes/wip/dev/graphics/spirv-llvm-translator/recipe.toml new file mode 100644 index 00000000..0c083f82 --- /dev/null +++ b/recipes/wip/dev/graphics/spirv-llvm-translator/recipe.toml @@ -0,0 +1,14 @@ +#TODO compile and test +# build instructions: https://github.com/KhronosGroup/SPIRV-LLVM-Translator#build-instructions +[source] +git = "https://github.com/KhronosGroup/SPIRV-LLVM-Translator" +rev = "v21.1.7" +shallow_clone = true +[build] +template = "cmake" +#cmakeflags = [ + #"-DLLVM_DIR=" # probably avoid llvm compilation, use to specify the llvm21 recipe sysroot +#] +#dependencies = [ +# "llvm21-common", +#] diff --git a/recipes/wip/dev/graphics/spirv-tools/recipe.toml b/recipes/wip/dev/graphics/spirv-tools/recipe.toml new file mode 100644 index 00000000..52187c5c --- /dev/null +++ b/recipes/wip/dev/graphics/spirv-tools/recipe.toml @@ -0,0 +1,11 @@ +#TODO compile and test +# build instructions: https://github.com/KhronosGroup/SPIRV-Tools#build +[source] +git = "https://github.com/KhronosGroup/SPIRV-Tools" +rev = "vulkan-sdk-1.4.350.0" +shallow_clone = true +[build] +template = "cmake" +cmakeflags = [ + "-DSPIRV_SKIP_TESTS=ON" +] diff --git a/recipes/wip/dev/ide/codebook/recipe.toml b/recipes/wip/dev/ide/codebook/recipe.toml new file mode 100644 index 00000000..98e81c27 --- /dev/null +++ b/recipes/wip/dev/ide/codebook/recipe.toml @@ -0,0 +1,7 @@ +#TODO compile and test +[source] +git = "https://github.com/blopker/codebook" +shallow_clone = true +[build] +template = "cargo" +cargopackages = ["codebook-lsp"] diff --git a/recipes/wip/libs/compute/pocl/recipe.toml b/recipes/wip/libs/compute/pocl/recipe.toml new file mode 100644 index 00000000..7e9f2f6d --- /dev/null +++ b/recipes/wip/libs/compute/pocl/recipe.toml @@ -0,0 +1,17 @@ +#TODO compile and test +# build instructions: https://portablecl.org/docs/html/install.html +[source] +git = "https://github.com/pocl/pocl" +rev = "v7.1" +shallow_clone = true +[build] +template = "cmake" +cmakeflags = [ + "-DENABLE_TESTS=OFF" + #"-DENABLE_HOST_CPU_DEVICES_OPENMP=ON" # probably used to enable multi-threading +] +dependencies = [ + "llvm21-common", + #"hwloc", # better performance + #"openmp", # needed for multi-threading? +] diff --git a/recipes/wip/libs/graphics/spirv-headers/recipe.toml b/recipes/wip/libs/graphics/spirv-headers/recipe.toml new file mode 100644 index 00000000..9823f93a --- /dev/null +++ b/recipes/wip/libs/graphics/spirv-headers/recipe.toml @@ -0,0 +1,10 @@ +#TODO compile and test +[source] +git = "https://github.com/KhronosGroup/SPIRV-Headers" +rev = "vulkan-sdk-1.4.350.0" +shallow_clone = true +[build] +template = "cmake" +cmakeflags = [ + "-DSPIRV_HEADERS_ENABLE_TESTS=OFF" +] diff --git a/recipes/wip/math/ratex/recipe.toml b/recipes/wip/math/ratex/recipe.toml new file mode 100644 index 00000000..ca8d40a0 --- /dev/null +++ b/recipes/wip/math/ratex/recipe.toml @@ -0,0 +1,12 @@ +#TODO compile and test +[source] +git = "https://github.com/erweixin/RaTeX" +shallow_clone = true +[build] +template = "cargo" +cargopackages = [ + "ratex-render", + "ratex-pdf", + "ratex-svg", +] +cargoflags = ["--features cli embed-fonts"] diff --git a/recipes/wip/science/fluidx3d/recipe.toml b/recipes/wip/science/fluidx3d/recipe.toml new file mode 100644 index 00000000..75dbe54f --- /dev/null +++ b/recipes/wip/science/fluidx3d/recipe.toml @@ -0,0 +1,10 @@ +#TODO missing script for compilation: https://github.com/ProjectPhysX/FluidX3D/blob/master/DOCUMENTATION.md +[source] +git = "https://github.com/ProjectPhysX/FluidX3D" +rev = "v3.7" +shallow_clone = true +[build] +template = "custom" +dependencies = [ + "pocl", +] diff --git a/recipes/wip/security/threatdeck/recipe.toml b/recipes/wip/security/threatdeck/recipe.toml new file mode 100644 index 00000000..12955a6b --- /dev/null +++ b/recipes/wip/security/threatdeck/recipe.toml @@ -0,0 +1,6 @@ +#TODO compile and test +[source] +git = "https://github.com/gripebomb/ThreatDeck" +shallow_clone = true +[build] +template = "cargo" diff --git a/recipes/wip/time/psleep/recipe.toml b/recipes/wip/time/psleep/recipe.toml new file mode 100644 index 00000000..d5e41a82 --- /dev/null +++ b/recipes/wip/time/psleep/recipe.toml @@ -0,0 +1,6 @@ +#TODO compile and test +[source] +git = "https://github.com/Yesh-02/psleep" +shallow_clone = true +[build] +template = "cargo"