HandBrake-docs/source/docs/en/latest/developer/install-dependencies-freebsd.markdown
2017-12-07 09:54:38 -05:00

1.7 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 FreeBSD HandBrake https://handbrake.fr/ Latest English en
Bradley Sepos <bradley@bradleysepos.com> (BradleyS)
2017 HandBrake Team Creative Commons Attribution-ShareAlike 4.0 International CC BY-SA 4.0 https://handbrake.fr/docs/license.html

Installing dependencies on FreeBSD

The following instructions are for FreeBSD 11.1.

Dependencies:

  • autoconf
  • automake
  • bash
  • bzip2
  • cmake
  • flac
  • fontconfig
  • freetype2
  • fribidi
  • git
  • gcc
  • gm4
  • gmake
  • gpatch
  • gtar
  • harfbuzz
  • jansson
  • lame (source port)
  • libass
  • libiconv
  • libogg
  • libsamplerate
  • libtheora
  • libtool
  • libvorbis
  • libx264
  • libxml2
  • opus
  • pkgconf
  • python
  • yasm

Install the sudo package when running as a regular user (not root).

pkg install sudo

Install dependencies.

sudo pkg install autoconf automake bash bzip2 cmake flac fontconfig freetype2 fribidi git gcc gm4 gmake gpatch gtar harfbuzz jansson libass libiconv libogg libsamplerate libtheora libtool libvorbis libx264 libxml2 opus pkgconf python yasm

Build and install the lame source port.

sudo portsnap fetch
bash -c 'if [[ ! -e /usr/ports ]]; then sudo portsnap extract; fi'
sudo portsnap update
LASTDIR="`pwd`"
cd /usr/ports/audio/lame
sudo make install
cd "LASTDIR"

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