Merge pull request 'Add meson build instructions (fixes #34)' (#35) from WSDMatty/Bavarder:wsdmatty-patch-1 into main
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

Reviewed-on: https://codeberg.org/Bavarder/Bavarder/pulls/35
This commit is contained in:
0xMRTT 2023-06-12 19:54:29 +00:00
commit 607258ef9f

View file

@ -64,6 +64,8 @@ flatpak install bavarder.flatpak
#### From Source
### Flatpak-builder
Clone the repo and run `flatpak-builder`
``` shell
@ -71,6 +73,17 @@ git clone https://codeberg.org/Bavarder/Bavarder # or https://github.com/Bavarde
cd Bavarder
flatpak-builder --install --user --force-clean repo/ build-aux/flatpak/io.github.Bavarder.Bavarder.json
```
### Meson
``` shell
git clone https://codeberg.org/Bavarder/Bavarder # or https://github.com/Bavarder/Bavarder
cd Bavarder
meson setup build # Configure the build environment in subdirectory 'build'
meson compile -C build
meson check -C build
meson install -C build
chmod 0755 /usr/local/bin/bavarder # Fix binary permissions
```
### Others