Skip to content

Commit

Permalink
Docs - update linux build instructions
Browse files Browse the repository at this point in the history
Now we require Qt6 and pipewire and can build under Wayland
  • Loading branch information
samaaron committed Nov 1, 2023
1 parent c94f892 commit 5a25d30
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions BUILD-LINUX.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ and to run
In order to build Sonic Pi's various components, we need to install a
few dependencies:

* Build Tools (c++ compiler , cmake, git.)
* Qt + Dev tools (5.15+)
* Jack (and pulse-audio-module-jack if you are running Raspberry Pi OS)
* Build Tools (c++ compiler, cmake, git.)
* Qt + Dev tools (6+)
* Pipewire
* Ruby + Dev tools (2.5+)
* Elixir + Dev tools (12.0+)
* SuperCollider + SC3 plugins
Expand All @@ -60,10 +60,10 @@ Note: please make sure that you have gcc12 installed. Compiling vcpkg dependenci
### 1.1 Debian
The following is a rough list of Debian packages that are needed that can serve as a starting position:
```bash
sudo apt-get install -y build-essential git libssl-dev ruby-dev elixir erlang-dev erlang-xmerl qttools5-dev qttools5-dev-tools libqt5svg5-dev libqt5opengl5-dev supercollider-server sc3-plugins-server alsa-utils jackd2 libjack-jackd2-dev libjack-jackd2-0 libasound2-dev pulseaudio-module-jack cmake ninja-build
sudo apt-get install -y build-essential git libssl-dev ruby-dev elixir erlang-dev erlang-xmerl qt6-tools-dev qt6-tools-dev-tools libqt6svg6-dev libqt6opengl6-dev supercollider-server sc3-plugins-server alsa-utils libasound2-dev cmake ninja-build pipewire-jack libspa-0.2-jack qt6-wayland libwayland-dev libxkbcommon-dev libegl1-mesa-dev libx11-dev libxft-dev libxext-dev qpwgraph compton
```

*Notes:*
*Notes:*

1. Check the version of `Qt` after package installation.

Expand All @@ -78,12 +78,6 @@ following methods:
* Get newer packaged versions of Elixir from [Erlang Solutions' repository](https://www.erlang-solutions.com/downloads/) (though installing packages from outside your distros main repository is at your own risk!)
* Build and install it yourself

### 1.2 Fedora
```bash
sudo dnf group install "Development Tools"
sudo dnf install alsa-utils aubio-devel catch-devel cmake crossguid-devel elixir erlang erlang-xmerl fmt-devel glew-devel gsl-lite-devel jack-audio-connection-kit-devel jack-audio-connection-kit-example-clients libsndfile-devel ninja-build openssl-devel qt5-qtconfiguration-devel qt5-qttools-devel qt5-qtsvg-devel reproc-devel ruby-devel SDL2-devel supercollider-devel vcpkg
```

There is an Audinux Copr [repository]()https://copr.fedorainfracloud.org/coprs/ycollet/audinux/package/sonic-pi/) with Sonic-Pi.

## 2. Preparing the Build
Expand Down

0 comments on commit 5a25d30

Please sign in to comment.