From 9892ce43ed1fc9d5c6d1f37d805e943fed28823d Mon Sep 17 00:00:00 2001 From: iAmInAction <83808704+iAmInActions@users.noreply.github.com> Date: Sat, 27 Dec 2025 02:50:10 +0100 Subject: [PATCH] Add build instructions for Void Linux (#391) Since Void doesnt package nlohmann json, add instructions for installing the headers manually. --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 44a0055..0e7b51d 100644 --- a/README.md +++ b/README.md @@ -91,10 +91,22 @@ the result of fundamental issues with Discord's thread implementation. ```Shell $ sudo apt install g++ cmake libgtkmm-3.0-dev libcurl4-gnutls-dev libsqlite3-dev libssl-dev nlohmann-json3-dev libhandy-1-dev libsecret-1-dev libopus-dev libsodium-dev libspdlog-dev ``` - * On Arch Linux + * On Arch Linux: ```Shell $ sudo pacman -S gcc cmake gtkmm3 libcurl-gnutls lib32-sqlite lib32-openssl nlohmann-json libhandy opus libsodium spdlog ``` + * On Void Linux: + ```Shell + $ # Install core dependencies + $ sudo xbps-install cmake make meson pkg-config gcc libcurl libcurl-devel libsecret libsecret-devel gtkmm gtkmm-devel sqlite sqlite-devel openssl openssl-devel libhandy1 libhandy1-devel opus opus-devel libsodium libsodium-devel spdlog libspdlog + $ # Clone and install nlohmann json: + $ git clone https://github.com/nlohmann/json && cd json + $ mkdir build + $ meson build + $ cd build + $ sudo meson install + $ cd ../.. + ``` * On Fedora Linux: ```Shell $ sudo dnf install g++ cmake gtkmm3.0-devel libcurl-devel sqlite-devel openssl-devel json-devel libsecret-devel libhandy-devel opus-devel libsodium-devel spdlog-devel