Installing dependencies on NetBSD

The following instructions are for NetBSD 8 and 9.

Basic requirements to run commands:

Dependencies:

Graphical interface dependencies:

Install dependencies.

sudo pkgin in autoconf automake cmake flac fontconfig freetype2 fribidi git gmake gtar-base harfbuzz jansson lame libass libiconv libogg libopus libsamplerate libtheora libtool-base libvorbis libvpx libxml2 m4 meson nasm ninja-build patch pkgconf speex x264 xz

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

sudo pkgin in desktop-file-utils gettext glib2-tools gnome-themes-standard gst-plugins1-gdk_pixbuf gst-plugins1-libav gstreamer1 gtk4+

Ensure the newly installed packages have search path priority.

export PATH="${LOCALBASE:-/usr/pkg}/bin:${PATH}"

NetBSD is now prepared to build HandBrake. See Building HandBrake for BSD for further instructions.