HACKING: add Void Linux packages

This commit is contained in:
tobtoht 2023-01-23 22:53:06 +01:00
parent 8e8be97c3d
commit 80a8c82bd2
No known key found for this signature in database
GPG key ID: E45B10DD027D2472

View file

@ -26,6 +26,14 @@ apt install git cmake build-essential ccache libssl-dev libunbound-dev libboost-
libx11-xcb-dev libprotobuf-dev libhidapi-dev
```
#### Void Linux
```bash
xbps-install -S base-devel cmake boost-devel openssl-devel unbound-devel libsodium-devel libzbar-devel zlib-devel qt6-base-devel \
qt6-svg-devel qt6-websockets-devel qt6-multimedia-devel libgcrypt-devel libzip-devel hidapi-devel protobuf \
protobuf-devel qrencode-devel
```
#### macOS
For macOS it's easiest to leverage [brew](https://brew.sh) to install the required dependencies.
@ -54,6 +62,14 @@ apt update && apt install tor
systemctl enable --now tor
```
#### Void Linux
```bash
xbps-install tor
ln -s /etc/sv/tor /var/service/.
sv start tor
```
#### macOS
```bash
@ -93,12 +109,14 @@ After the target is configured, `Run -> Run 'feather'` or press Shift + F10 to b
To build Feather without an IDE:
```bash
mkdir build && \
cd build && \
cmake .. && \
mkdir build
cd build
cmake ..
cmake --build . -j $(nproc)
```
On platforms without `execinfo.h` use `cmake -DSTACK_TRACE:BOOL=OFF ..` instead of `cmake ..`
### CMake
There are some CMake options that you may pass to control how Feather is built: