Skip to content

Commit

Permalink
Add Wayland dev package dependency info to README.md. (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
xStrom authored Aug 6, 2023
1 parent ca5abad commit 29aecdc
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,20 +95,20 @@ The type erasure of View nodes is not an easy trick, as the trait has two associ

## Prerequisites

### Linux
### Linux and BSD

Building and running Xilem on Linux and BSD requires `pkg-config`, `clang`,
and the development packages of `libxkbcommon`, `libxcb`, and `vulkan-loader`,
to be installed.
You need to have installed `pkg-config`, `clang`, and the development packages of `wayland`,
`libxkbcommon`, `libxcb`, and `vulkan-loader`.

Most distributions have `pkg-config` installed by default. To install the remaining packages on Fedora, run
```
sudo dnf install clang libxkbcommon-x11-devel libxcb-devel vulkan-loader-devel
```sh
sudo dnf install clang wayland-devel libxkbcommon-x11-devel libxcb-devel vulkan-loader-devel
```
To install them on Debian or Ubuntu, run
```sh
sudo apt-get install pkg-config clang libwayland-dev libxkbcommon-x11-dev libvulkan-dev
```
sudo apt-get install clang libxkbcommon-x11-dev pkg-config libvulkan-dev
```

## License

Licensed under the Apache License, Version 2.0
Expand Down

0 comments on commit 29aecdc

Please sign in to comment.