Skip to content

Installation from Source

Vincent Chernin edited this page Oct 4, 2022 · 66 revisions

Installation from Source

All commands on this page, unless otherwise specified, are expected to be run as an unprivileged user (not root). Whenever root privileges are necessary, sudo will be used. If sudo is unavailable you may become root using su -, at which point you may execute any command as the root user. Use exit to become a normal user again.

Distribution Specifics

Arch Linux

Arch Linux includes a package and PKGBUILD in Community Repository.

Run sudo pacman -S easyeffects to install binary package.

Fedora

sudo dnf builddep easyeffects

GNOME Builder

The canonical EasyEffects Flatpak manifest is contained in this repository, so you can clone the repository to easily test builds with GNOME Builder's "build" and "run" buttons. It is recommended instal GNOME Builder from Flathub.

Note many Plugins do not currently work with GNOME Builder Flatpak builds due to GNOME Builder limitations/use of Flatpak runtime extensions.

Flatpak

If you need to fully install a Flatpak for testing you can build it without GNOME Builder, instead using flatpak-builder directly. Note it is also possible to export a build from GNOME Builder.

Ensure flatpak and flatpak-builder are installed and available on your system. If it is not installed, you can find detailed installation instructions at https://flatpak.org/setup/.

Within this repo:

flatpak-builder build-dir --user --install util/flatpak/com.github.wwmm.easyeffects.Devel.json --force-clean --ccache

Important: To use Linux Studio Plugins, Zam Plugins, and MDA Plugins you will have to install the Flatpak plugin packages separately. They are available from Flathub, and are automatically installed when installing the stable Flathub package.

flatpak install flathub org.freedesktop.LinuxAudio.Plugins.LSP//22.08 org.freedesktop.LinuxAudio.Plugins.ZamPlugins//22.08 org.freedesktop.LinuxAudio.Plugins.MDA//22.08

You can remove the Flatpak build and its configurations with:

flatpak remove com.github.wwmm.easyeffects --delete-data

Note the canonical copy of the Flatpak manifest is kept at https://github.com/wwmm/easyeffects. The downstream repo https://github.com/flathub/com.github.wwmm.easyeffects contains a slighly modified copy of part of the manifest (needed due to Flathub requiring the manifest in the root directory).

Download

Clone the git repository.

git clone https://github.com/wwmm/easyeffects.git
cd easyeffects

Optional: Select a release

Substitute v6.2.0 with the latest release.

git checkout v6.2.0

Build & Install

meson _build --prefix=/usr
sudo ninja -C _build install

Note: *If you get the error: wrong parameters to Project(), minimum project name and one language is required you need a newer version of Meson. If one is not provided by your distribution you may install a newer one with pip3.

sudo pip3 install meson

See the official instructions for getting meson for more information.

Installing into a specific directory

This is useful if you are creating a package for a distribution. Substitute $pkgdir with a directory into which you wish to install the files.

meson _build --prefix=/usr
env DESTDIR="$pkgdir" ninja -C _build install

If your distribution of choice provides a package you will have to remember to remove all the files you just added or it could cause conflicts with the package manager. To avoid this headache you can run EasyEffects without installing it on the system or build in the temp folder:

meson _build --prefix=/tmp/pe
cd _build
ninja install

Build and run without installing

Compile Schemas & Make Executable

This will compile the glib schemas and generate EasyEffects executable:

glib-compile-schemas data/schemas
meson _build
cd _build
ninja

Run EasyEffects from build directory

You can now run EasyEffects directly from the build directory:

GSETTINGS_SCHEMA_DIR=data/schemas ./_build/src/easyeffects
Clone this wiki locally