From 87fa597911681d9e03dcbe389a876b39b10f1ea4 Mon Sep 17 00:00:00 2001 From: Ribbon Date: Tue, 15 Apr 2025 23:06:29 +0000 Subject: [PATCH] Add Smithay compositors --- recipes/wip/demos/anvil/recipe.toml | 22 ++++++++++++++++++++++ recipes/wip/demos/smallvil/recipe.toml | 8 ++++++++ 2 files changed, 30 insertions(+) create mode 100644 recipes/wip/demos/anvil/recipe.toml create mode 100644 recipes/wip/demos/smallvil/recipe.toml diff --git a/recipes/wip/demos/anvil/recipe.toml b/recipes/wip/demos/anvil/recipe.toml new file mode 100644 index 000000000..4f53c48d0 --- /dev/null +++ b/recipes/wip/demos/anvil/recipe.toml @@ -0,0 +1,22 @@ +#TODO not compiled or tested +[source] +git = "https://github.com/Smithay/smithay" +[build] +dependencies = [ + "libwayland", + "libxkbcommon", +] +template = "custom" +script = """ +script = """ +package=anvil +"${COOKBOOK_CARGO}" build \ + --manifest-path "${COOKBOOK_SOURCE}/Cargo.toml" \ + --package "${package}" \ + --release + --winit + mkdir -pv "${COOKBOOK_STAGE}/usr/bin" + cp -v \ + "target/${TARGET}/release/${package}" \ + "${COOKBOOK_STAGE}/usr/bin/${package}" +""" diff --git a/recipes/wip/demos/smallvil/recipe.toml b/recipes/wip/demos/smallvil/recipe.toml new file mode 100644 index 000000000..668b1fead --- /dev/null +++ b/recipes/wip/demos/smallvil/recipe.toml @@ -0,0 +1,8 @@ +#TODO not compiled or tested +[source] +git = "https://github.com/Smithay/smithay" +[build] +template = "custom" +script = """ +cookbook_cargo_packages smallvil +"""