HandBrake-docs/source/docs/en/latest/developer/install-dependencies-netbsd.markdown
2024-04-03 09:32:21 +02:00

2.1 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)
2023 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
  • 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
  • gtk4+

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](abbr:Graphical User Interface), 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.