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 install autoconf automake bash bzip2 cmake flac fontconfig freetype2 fribidi git gmake gtar-base harfbuzz jansson lame libass libiconv libjpeg-turbo libogg libopus libsamplerate libtheora libtool-base libvorbis libvpx libxml2 lzmalib m4 meson nasm ninja-build patch pkgconf python37 speex x264-devel

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

sudo pkgin install atk cairo dbus dbus-glib desktop-file-utils gdk-pixbuf2 gettext glib2 glib2-tools gst-plugins1-base gst-plugins1-gdk_pixbuf gst-plugins1-libav gstreamer1 gtk3+ intltool libnotify pango

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.