Add wayland-rs and fix smallvil

This commit is contained in:
Jeremy Soller 2025-11-04 20:05:28 -07:00
parent 246ed0fbde
commit 84684ff7da
No known key found for this signature in database
GPG Key ID: 670FDFB5428E05CA
2 changed files with 21 additions and 1 deletions

View File

@ -1,13 +1,17 @@
#TODO make libwayland work
[source]
git = "https://github.com/Smithay/smithay"
git = "https://github.com/jackpot51/smithay"
branch = "redox"
[build]
template = "custom"
dependencies = [
"libffi",
"libwayland",
"libxkbcommon",
]
script = """
DYNAMIC_INIT
export RUSTFLAGS="${RUSTFLAGS} -lffi"
cookbook_cargo_packages smallvil
"""

View File

@ -0,0 +1,16 @@
#TODO make libwayland work
[source]
git = "https://github.com/jackpot51/wayland-rs"
branch = "redox"
[build]
template = "custom"
dependencies = [
"libffi",
"libwayland",
]
script = """
DYNAMIC_INIT
export RUSTFLAGS="${RUSTFLAGS} -lffi"
cookbook_cargo_examples simple_window
"""