Add Smithay compositors

This commit is contained in:
Ribbon 2025-04-15 23:06:29 +00:00
parent f9cd5a5901
commit 87fa597911
2 changed files with 30 additions and 0 deletions

View File

@ -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}"
"""

View File

@ -0,0 +1,8 @@
#TODO not compiled or tested
[source]
git = "https://github.com/Smithay/smithay"
[build]
template = "custom"
script = """
cookbook_cargo_packages smallvil
"""