mirror of https://github.com/linebender/xilem
docs: fix deps discrepency between Fedora/Ubuntu (#299)
Slight discrepancy between the instructions for Fedora and Ubuntu. In the Fedora instructions, it doesn't include `pkg-config`, in Ubuntu, it does.
This commit is contained in:
parent
c1da921af5
commit
b54266d605
11
README.md
11
README.md
|
@ -121,15 +121,18 @@ The type erasure of View nodes is not an easy trick, as the trait has two associ
|
||||||
### Linux and BSD
|
### Linux and BSD
|
||||||
|
|
||||||
You need to have installed `pkg-config`, `clang`, and the development packages of `wayland`,
|
You need to have installed `pkg-config`, `clang`, and the development packages of `wayland`,
|
||||||
`libxkbcommon`, `libxcb`, and `vulkan-loader`.
|
`libxkbcommon`, `libxcb`, and `vulkan-loader`. Most distributions have `pkg-config` installed by default.
|
||||||
|
|
||||||
|
To install the remaining packages on Fedora, run:
|
||||||
|
|
||||||
Most distributions have `pkg-config` installed by default. To install the remaining packages on Fedora, run
|
|
||||||
```sh
|
```sh
|
||||||
sudo dnf install clang wayland-devel libxkbcommon-x11-devel libxcb-devel vulkan-loader-devel
|
sudo dnf install clang wayland-devel libxkbcommon-x11-devel libxcb-devel vulkan-loader-devel
|
||||||
```
|
```
|
||||||
To install them on Debian or Ubuntu, run
|
|
||||||
|
To install the remaining packages on Debian or Ubuntu, run:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sudo apt-get install pkg-config clang libwayland-dev libxkbcommon-x11-dev libvulkan-dev
|
sudo apt-get install clang libwayland-dev libxkbcommon-x11-dev libvulkan-dev
|
||||||
```
|
```
|
||||||
|
|
||||||
## Minimum supported Rust Version (MSRV)
|
## Minimum supported Rust Version (MSRV)
|
||||||
|
|
Loading…
Reference in New Issue