mirror of
https://github.com/HandBrake/HandBrake-docs.git
synced 2025-12-10 00:44:52 -06:00
2.4 KiB
2.4 KiB
Type, State, Title, Project, Project_URL, Project_Version, Language, Language_Code, Authors, Copyright, License, License_Abbr, License_URL
| Type | State | 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/ | 1.6.0 | English | en |
|
2023 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 and 12.
Basic requirements to run commands:
- sudo (for normal user accounts)
Dependencies:
- autoconf
- automake
- bash
- bzip2
- cmake
- flac
- fontconfig
- freetype2
- fribidi
- gcc
- git
- gmake
- gtar
- harfbuzz
- jansson
- lame (source port)
- libass
- libiconv
- libjpeg-turbo
- libogg
- libsamplerate
- libtheora
- libtool
- libvorbis
- libvpx
- libx264
- libxml2
- lzma
- m4
- meson
- nasm
- ninja
- opus
- patch
- pkgconf
- python
- speex
Intel Quick Sync Video dependencies (optional):
- intel-media-sdk
Graphical interface dependencies:
- atk
- cairo
- dbus
- dbus-glib
- desktop-file-utils
- gdk-pixbuf2
- gettext
- glib
- gnome3
- gstreamer1-plugins-gdkpixbuf
- gtk3
- intltool
- libdvdcss
- libnotify
- pango
Install dependencies.
sudo pkg install autoconf automake bash bzip2 cmake flac fontconfig freetype2 fribidi gcc git lzma gmake gtar harfbuzz jansson libass libiconv libjpeg-turbo libogg libsamplerate libtheora libtool libvorbis libvpx libx264 libxml2 m4 meson nasm ninja opus patch pkgconf python speex
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 || sudo make reinstall
cd "$LASTDIR"
To build with Intel Quick Sync Video support, install the QSV dependencies.
sudo pkg install intel-media-sdk
To build the GTK [GUI](abbr:Graphical User Interface), install the graphical interface dependencies.
sudo pkg install atk cairo dbus dbus-glib desktop-file-utils gdk-pixbuf2 gettext glib gnome3 gstreamer1-plugins-gdkpixbuf gtk3 intltool libdvdcss libnotify pango
FreeBSD is now prepared to build HandBrake. See Building HandBrake for BSD for further instructions.