Installing dependencies on NetBSD
The following instructions are for NetBSD 8 and 9.
Basic requirements to run commands:
Dependencies:
- autoconf
- automake
- bzip2
- 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
Graphical interface dependencies:
- desktop-file-utils
- gettext
- glib2-tools
- gnome-themes-standard
- gst-plugins1-gdk_pixbuf
- gst-plugins1-libav
- gstreamer1
- gtk3+
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 gtk3+
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.