mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-22 12:54:20 +08:00
Add wayland-rs and fix smallvil
This commit is contained in:
parent
246ed0fbde
commit
84684ff7da
@ -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
|
||||
"""
|
||||
|
||||
16
recipes/wip/wayland/wayland-rs/recipe.toml
Normal file
16
recipes/wip/wayland/wayland-rs/recipe.toml
Normal 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
|
||||
"""
|
||||
Loading…
Reference in New Issue
Block a user