added hunspell for building deps (#6705)

Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
This commit is contained in:
killertofus
2026-01-04 03:15:23 -07:00
committed by GitHub
parent 5dda451238
commit 7fed720d18
+5 -5
View File
@@ -17,13 +17,13 @@ The built binary should be exportable from the final image & able to run on your
### Debian 13 (trixie) or later
```sh
sudo apt install qt6-base-dev qt6-svg-dev qt6-image-formats-plugins libboost-dev libnotify-dev libssl-dev libsecret-1-dev pkg-config cmake g++ git
sudo apt install qt6-base-dev qt6-svg-dev qt6-image-formats-plugins libboost-dev libnotify-dev libssl-dev libsecret-1-dev pkg-config cmake g++ git hunspell
```
### Arch Linux
```sh
sudo pacman -S --needed qt6-base qt6-tools boost-libs openssl qt6-imageformats qt6-svg boost libnotify rapidjson pkgconf cmake
sudo pacman -S --needed qt6-base qt6-tools boost-libs openssl qt6-imageformats qt6-svg boost libnotify rapidjson pkgconf cmake hunspell
```
If you use Wayland, you will also need to ensure `qt6-wayland` is installed.
@@ -35,13 +35,13 @@ Alternatively you can use the [chatterino2-git](https://aur.archlinux.org/packag
_Most likely works the same for other Red Hat-like distros. Substitute `dnf` with `yum`._
```sh
sudo dnf install qt6-qtbase-devel qt6-qtimageformats qt6-qtsvg-devel g++ git openssl-devel boost-devel libnotify-devel cmake
sudo dnf install qt6-qtbase-devel qt6-qtimageformats qt6-qtsvg-devel g++ git openssl-devel boost-devel libnotify-devel cmake hunspell
```
### NixOS 18.09+
```sh
nix-shell -p openssl boost qt6.full pkg-config cmake libnotify
nix-shell -p openssl boost qt6.full pkg-config cmake libnotify hunspell
```
## Compile
@@ -55,7 +55,7 @@ nix-shell -p openssl boost qt6.full pkg-config cmake libnotify
```
1. Generate build files. To enable Lua plugins in your build add `-DCHATTERINO_PLUGINS=ON` to this command.
```sh
cmake -DBUILD_WITH_QTKEYCHAIN=OFF ..
cmake -DBUILD_WITH_QTKEYCHAIN=OFF -DCHATTERINO_SPELLCHECK=On ..
```
1. Build the project
```sh