From a83e1539d9b16c85cba243420d0cdc64fe4b1945 Mon Sep 17 00:00:00 2001 From: Ribbon <ribbon_45@proton.me> Date: Sun, 23 Jun 2024 21:54:44 +0000 Subject: [PATCH] Add recipes --- recipes/wip/dev/git-lfs/recipe.toml | 5 +++++ recipes/wip/net/vimini/recipe.toml | 8 ++++++++ recipes/wip/tools/simplemoji/recipe.toml | 5 +++++ recipes/wip/vm/cloud-hypervisor/recipe.toml | 6 ++++++ recipes/wip/vm/crosvm/recipe.toml | 18 ++++++++++++++++++ recipes/wip/vm/firecracker/recipe.toml | 8 ++++++++ recipes/wip/vm/libguestfs/recipe.toml | 5 +++++ 7 files changed, 55 insertions(+) create mode 100644 recipes/wip/dev/git-lfs/recipe.toml create mode 100644 recipes/wip/net/vimini/recipe.toml create mode 100644 recipes/wip/tools/simplemoji/recipe.toml create mode 100644 recipes/wip/vm/cloud-hypervisor/recipe.toml create mode 100644 recipes/wip/vm/crosvm/recipe.toml create mode 100644 recipes/wip/vm/firecracker/recipe.toml create mode 100644 recipes/wip/vm/libguestfs/recipe.toml diff --git a/recipes/wip/dev/git-lfs/recipe.toml b/recipes/wip/dev/git-lfs/recipe.toml new file mode 100644 index 000000000..1816e464d --- /dev/null +++ b/recipes/wip/dev/git-lfs/recipe.toml @@ -0,0 +1,5 @@ +#TODO missing script for GNU Make, see https://github.com/git-lfs/git-lfs?tab=readme-ov-file#from-source +[source] +tar = "https://github.com/git-lfs/git-lfs/releases/download/v3.5.1/git-lfs-v3.5.1.tar.gz" +[build] +template = "custom" diff --git a/recipes/wip/net/vimini/recipe.toml b/recipes/wip/net/vimini/recipe.toml new file mode 100644 index 000000000..2c571acfd --- /dev/null +++ b/recipes/wip/net/vimini/recipe.toml @@ -0,0 +1,8 @@ +#TODO not compiled or tested +[source] +git = "https://git.sr.ht/~lufte/vimini" +[build] +template = "cargo" +dependencies = [ + "sqlite3", +] diff --git a/recipes/wip/tools/simplemoji/recipe.toml b/recipes/wip/tools/simplemoji/recipe.toml new file mode 100644 index 000000000..d1b76c3b6 --- /dev/null +++ b/recipes/wip/tools/simplemoji/recipe.toml @@ -0,0 +1,5 @@ +#TODO require the Noto Color Emoji font, see https://fonts.google.com/noto/specimen/Noto+Color+Emoji +[source] +git = "https://github.com/SergioRibera/Simplemoji" +[build] +template = "cargo" diff --git a/recipes/wip/vm/cloud-hypervisor/recipe.toml b/recipes/wip/vm/cloud-hypervisor/recipe.toml new file mode 100644 index 000000000..e2d9bca3a --- /dev/null +++ b/recipes/wip/vm/cloud-hypervisor/recipe.toml @@ -0,0 +1,6 @@ +#TODO port to redox +# required host dependencies - https://github.com/cloud-hypervisor/cloud-hypervisor/blob/main/docs/building.md#install-prerequisites +[source] +git = "https://github.com/cloud-hypervisor/cloud-hypervisor" +[build] +template = "cargo" diff --git a/recipes/wip/vm/crosvm/recipe.toml b/recipes/wip/vm/crosvm/recipe.toml new file mode 100644 index 000000000..967bc0ffb --- /dev/null +++ b/recipes/wip/vm/crosvm/recipe.toml @@ -0,0 +1,18 @@ +#TODO port to redox +#TODO maybe missing dependencies +#TODO required host dependencies - https://github.com/google/crosvm/blob/main/tools/install-deps +# feature flags - https://crosvm.dev/doc/crosvm/#feature-flags +# how to use - https://crosvm.dev/book/running_crosvm/example_usage.html +# examples - https://github.com/google/crosvm/tree/main/tools/examples +[source] +git = "https://chromium.googlesource.com/crosvm/crosvm" +[build] +template = "cargo" +dependencies = [ + "ffmpeg6", + "libcap", + "dbus", + "libepoxy", + "glib", + "libslirp", +] diff --git a/recipes/wip/vm/firecracker/recipe.toml b/recipes/wip/vm/firecracker/recipe.toml new file mode 100644 index 000000000..ea9463d3b --- /dev/null +++ b/recipes/wip/vm/firecracker/recipe.toml @@ -0,0 +1,8 @@ +#TODO not compiled or tested +[source] +git = "https://github.com/firecracker-microvm/firecracker" +[build] +template = "custom" +script = """ +cookbook_cargo_packages firecracker +""" diff --git a/recipes/wip/vm/libguestfs/recipe.toml b/recipes/wip/vm/libguestfs/recipe.toml new file mode 100644 index 000000000..cc3244b81 --- /dev/null +++ b/recipes/wip/vm/libguestfs/recipe.toml @@ -0,0 +1,5 @@ +#TODO determine the dependencies, read https://libguestfs.org/guestfs-building.1.html +[source] +tar = "https://download.libguestfs.org/1.52-stable/libguestfs-1.52.1.tar.gz" +[build] +template = "configure" -- GitLab