docs: Add OpenBSD initial documentation

This commit is contained in:
Brad Smith 2022-09-10 20:46:12 -04:00 committed by Bradley Sepos
parent 3ff1d44c02
commit 22209ec056
No known key found for this signature in database
GPG Key ID: DEADE2F57D42D9C7
2 changed files with 99 additions and 0 deletions

View File

@ -24,6 +24,7 @@ Dependency installation instructions are available for the following distributio
- [FreeBSD](install-dependencies-freebsd.html)
- [NetBSD](install-dependencies-netbsd.html)
- [OpenBSD](install-dependencies-openbsd.html)
## Building HandBrake
@ -33,8 +34,18 @@ Clone the HandBrake repository.
Build HandBrake. To enable experimental support for Intel Quick Sync Video, append `--enable-qsv`. To build the command line interface only, disable the graphical interface by appending `--disable-gtk`.
For FreeBSD
./configure --launch-jobs=$(sysctl -n hw.ncpu) --launch
For NetBSD
./configure --launch-jobs=$(sysctl -n hw.ncpuonline) --launch
For OpenBSD
env AUTOCONF_VERSION=2.71 AUTOMAKE_VERSION=1.16 CC=cc ./configure --launch-jobs=$(sysctl -n hw.ncpuonline) --launch
When complete, you will find `HandBrakeCLI` in the `build` directory. If the graphical interface is enabled, you will also find `ghb` in the `build/gtk/src` directory.
Install HandBrake (optional). When installing the graphical interface, icon and desktop files for the Applications menu will be also installed.

View File

@ -0,0 +1,88 @@
---
Type: article
Title: Installing dependencies on OpenBSD
Project: HandBrake
Project_URL: https://handbrake.fr/
Project_Version: Latest
Language: English
Language_Code: en
Authors: [ Brad Smith <brad@comstyle.com> (brad0) ]
Copyright: 2022 HandBrake Team
License: Creative Commons Attribution-ShareAlike 4.0 International
License_Abbr: CC BY-SA 4.0
License_URL: https://handbrake.fr/docs/license.html
---
Installing dependencies on OpenBSD
=================================
The following instructions are for [OpenBSD](https://www.openbsd.org/) 7.1.
Basic requirements to run commands:
- sudo (for normal user accounts)
Dependencies:
- autoconf 2.71
- automake 1.16.3
- bash
- bzip2
- cmake
- flac
- fribidi
- git
- gmake
- gpatch
- gtar
- harfbuzz
- jansson
- jpeg
- lame
- libass
- libiconv
- libogg
- libsamplerate
- libtheora
- libtool
- libvorbis
- libvpx
- libxml
- m4
- meson
- nasm
- ninja
- opus
- pkgconf
- python3
- speex
- x264
- xz
Graphical interface dependencies:
- atk
- cairo
- dbus
- dbus-glib
- desktop-file-utils
- gdk-pixbuf
- gettext-tools
- glib2
- gstreamer1-plugins-base
- gstreamer1-plugins-libav
- gtk+3
- intltool
- libnotify
- libvpx
- pango
Install dependencies.
sudo pkg_add autoconf-2.71 automake-1.16.3 bash bzip2 cmake flac fribidi git gmake gpatch gtar-- harfbuzz jansson jpeg lame libass libiconv libogg libsamplerate libtheora libtool libvorbis libvpx libxml m4 meson nasm ninja opus pkgconf python3 speex x264 xz
To build the GTK [GUI](abbr:Graphical User Interface), install the graphical interface dependencies.
sudo pkg_add atk cairo dbus dbus-glib desktop-file-utils gdk-pixbuf gettext-tools glib2 gstreamer1-plugins-base gstreamer1-plugins-libav gtk+3 intltool libnotify libvpx pango
OpenBSD is now prepared to build HandBrake. See [Building HandBrake for BSD](build-bsd.html) for further instructions.