diff --git a/recipes/wip/wayland/smallvil/recipe.toml b/recipes/wip/wayland/smallvil/recipe.toml index d4e1fb51b..dd1d203b7 100644 --- a/recipes/wip/wayland/smallvil/recipe.toml +++ b/recipes/wip/wayland/smallvil/recipe.toml @@ -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 """ diff --git a/recipes/wip/wayland/wayland-rs/recipe.toml b/recipes/wip/wayland/wayland-rs/recipe.toml new file mode 100644 index 000000000..f735f4ae9 --- /dev/null +++ b/recipes/wip/wayland/wayland-rs/recipe.toml @@ -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 +"""