Installing dependencies on OpenSUSE
The following instructions are for OpenSUSE Leap 15.4 and Tumbleweed.
Basic requirements to run commands:
- sudo (for normal user accounts)
Dependencies:
- autoconf
- automake
- binutils
- bzip2
- cmake
- fontconfig-devel
- freetype-devel
- fribidi-devel
- gcc-c++
- git
- gzip
- harfbuzz-devel
- lbzip2
- libass-devel
- libbluray-devel
- libdvdnav-devel
- libjansson-devel
- libjpeg8-devel
- libmp3lame-devel
- libnuma-devel
- libogg-devel
- libopus-devel
- libsamplerate-devel
- libtheora-devel
- libtool
- libvorbis-devel
- libxml2-devel
- libvpx-devel
- m4
- make
- meson
- nasm
- ninja
- patch
- pkg-config
- python3
- speex-devel
- tar
- xz-devel
- zimg-devel
- zlib-devel
Additional dependencies not available in the base repository:
- libx264-devel [Packman]
Intel Quick Sync Video dependencies (optional):
- libva-devel
- libdrm-devel
Graphical interface dependencies:
- AppStream
- desktop-file-utils
- gstreamer-plugins-base-devel
- gstreamer-plugins-good
- gstreamer-plugins-libav
- gtk4-devel
Install dependencies.
sudo zypper in autoconf automake binutils bzip2 cmake fontconfig-devel freetype-devel fribidi-devel gcc-c++ git gzip harfbuzz-devel lbzip2 libass-devel libbluray-devel libdvdnav-devel libjansson-devel libjpeg8-devel libmp3lame-devel libnuma-devel libogg-devel libopus-devel libsamplerate-devel libtheora-devel libtool libvorbis-devel libxml2-devel libvpx-devel m4 make meson nasm ninja patch pkg-config python3 speex-devel tar xz-devel zimg-devel zlib-devel
Install the Packman Essentials repository and related additional dependencies.
# OpenSUSE Leap
sudo zypper ar -cfp 90 'https://ftp.fau.de/packman/suse/openSUSE_Leap_$releasever/Essentials' packman-essentials
# OpenSUSE Slowroll
sudo zypper ar -cfp 90 'https://ftp.fau.de/packman/suse/openSUSE_Slowroll/Essentials' packman-essentials
# OpenSUSE Tumbleweed
sudo zypper ar -cfp 90 'https://ftp.fau.de/packman/suse/openSUSE_Tumbleweed/Essentials' packman-essentials
sudo zypper dup --from packman-essentials --allow-vendor-change
sudo zypper in libx264-devel
To build with Intel Quick Sync Video support, install the QSV dependencies.
sudo zypper in libva-devel libdrm-devel
To build the GTK GUI, install the graphical interface dependencies.
sudo zypper in AppStream desktop-file-utils gstreamer-plugins-base-devel gstreamer-plugins-good gstreamer-plugins-libav gtk4-devel
OpenSUSE is now prepared to build HandBrake. See Building HandBrake for Linux for further instructions.