Installing dependencies on Mageia

The following instructions are for Mageia 9.

Basic requirements to run commands:

Dependencies:

Additional dependencies not available in the base repository:

Intel Quick Sync Video dependencies (optional):

Graphical interface dependencies:

Install dependencies.

sudo dnf install automake autoconf cmake dnf-plugins-core gcc-c++ git jansson-devel lame-devel libass-devel libogg-devel libtheora-devel libtool libvorbis-devel libvpx-devel m4 make meson nasm ninja numa-devel opus-devel patch speex-devel

Enable the Mageia Tainted repository and install related additional dependencies.

sudo dnf config-manager --enable mageia-x86_64-tainted updates-x86_64-tainted
sudo dnf install x264-devel

To build with Intel Quick Sync Video support, install the QSV dependencies.

sudo dnf install libva-devel libdrm-devel

To build the GTK GUI, install the graphical interface dependencies.

sudo dnf install desktop-file-utils gtk+3.0-devel gstreamer1.0-libav gstreamer1.0-plugins-good gstreamer1.0-plugins-base-devel

Mageia is now prepared to build HandBrake. See Building HandBrake for Linux for further instructions.