From 1a817d29c1e0d5981d35143ee85f7c99b8a812db Mon Sep 17 00:00:00 2001 From: Bart Ribbers Date: Sat, 10 Oct 2020 04:31:40 +0200 Subject: [PATCH] Improve build instructions (#402) Add dependencies required to build some Rust crates for at least Debian/Ubuntu and Alpine Linux Fixes #397 --- README.md | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 82d7d41..22f812b 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Stevenarella [![Build Status](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Ficeiix%2Fstevenarella%2Fbadge%3Fref%3Dmaster&style=plastic)](https://actions-badge.atrox.dev/iceiix/stevenarella/goto?ref=master) -Multi-protocol Minecraft-compatible client written in Rust +Multi-protocol Minecraft-compatible client written in Rust. Don't expect it to go anywhere, just doing this for fun. @@ -60,9 +60,23 @@ Windows, Ubuntu Linux, and macOS users can download pre-compiled builds from [GitHub Actions](https://actions-badge.atrox.dev/iceiix/stevenarella/goto?ref=master). (Click the artifacts drop-down and select your platform.) -## Building +## Dependencies -Requires Rust stable version 1.44.1 or newer to build. +Requires Rust stable version 1.44.1 or newer. + +**Debian/Ubuntu** + +```bash +sudo apt-get install libxcb1-dev libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev +``` + +**Alpine Linux** + +```bash +sudo apk add openssl-dev xcb-util-dev +``` + +## Building Compile and run: ```bash