From 29aecdcd2b01db044e9d722f9f62b7e595484bfa Mon Sep 17 00:00:00 2001 From: Kaur Kuut Date: Sun, 6 Aug 2023 03:41:30 +0300 Subject: [PATCH] Add Wayland dev package dependency info to `README.md`. (#121) --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 16353ef38..cb6ec93ef 100644 --- a/README.md +++ b/README.md @@ -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