HandBrake-docs/source/docs/en/latest/developer/install-dependencies-netbsd.markdown
Bradley Sepos 4669bf4c9e
docs: Add NetBSD 9 dependencies.
Also alphabetize.
2020-02-24 13:31:38 -05:00

2.8 KiB

Type, Title, Project, Project_URL, Project_Version, Language, Language_Code, Authors, Copyright, License, License_Abbr, License_URL
Type Title Project Project_URL Project_Version Language Language_Code Authors Copyright License License_Abbr License_URL
article Installing dependencies on NetBSD HandBrake https://handbrake.fr/ Latest English en
Bradley Sepos <bradley@bradleysepos.com> (BradleyS)
2020 HandBrake Team Creative Commons Attribution-ShareAlike 4.0 International CC BY-SA 4.0 https://handbrake.fr/docs/license.html

Installing dependencies on NetBSD

The following instructions are for NetBSD 8 and 9.

Basic requirements to run commands:

Dependencies:

  • autoconf
  • automake
  • bash
  • bzip2
  • cmake
  • flac
  • fontconfig
  • freetype2
  • fribidi
  • git
  • gmake
  • harfbuzz
  • jansson
  • lame
  • libass
  • libiconv
  • libogg
  • libopus
  • libsamplerate
  • libtheora
  • libvorbis
  • libvpx
  • libxml2
  • m4
  • meson
  • nasm
  • patch
  • pkgconf
  • python37
  • speex
  • x264-devel (pkgsrc)

Additional NetBSD 9 dependencies:

  • gtar-base
  • libtool-base
  • lzmalib
  • ninja-build

Additional NetBSD 8 dependencies:

  • gtar
  • libtool
  • lzma
  • ninja

Graphical interface dependencies:

  • 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
  • libvpx
  • pango

Install dependencies.

sudo pkgin install autoconf automake bash bzip2 cmake flac fontconfig freetype2 fribidi git gmake harfbuzz jansson lame libass libiconv libogg libopus libsamplerate libtheora libvorbis libvpx libxml2 m4 meson nasm patch pkgconf python37 speex

Build and install x264-devel from pkgsrc.

cd /usr/pkgsrc/multimedia/x264-devel
sudo make install

If you are running NetBSD 9, install the additional dependencies.

sudo pkgin install gtar-base libtool-base lzmalib ninja-build

If you are running NetBSD 8, install the additional dependencies.

sudo pkgin install gtar libtool lzma ninja

To build the GTK [GUI](abbr:Graphical User Interface), 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 libvpx 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.