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 +"""