From 9ca7dc09ebe507d23afdbdf07de6a0f4fd6051c1 Mon Sep 17 00:00:00 2001 From: robxnano <89391914+robxnano@users.noreply.github.com> Date: Sat, 21 Oct 2023 17:32:38 +0100 Subject: [PATCH] docs: Add instructions for Alpine --- .../en/latest/developer/build-linux.markdown | 1 + .../install-dependencies-alpine.markdown | 82 +++++++++++++++++++ .../docs/en/latest/table-of-contents.markdown | 2 +- 3 files changed, 84 insertions(+), 1 deletion(-) create mode 100644 source/docs/en/latest/developer/install-dependencies-alpine.markdown diff --git a/source/docs/en/latest/developer/build-linux.markdown b/source/docs/en/latest/developer/build-linux.markdown index 3f420284..72caab61 100644 --- a/source/docs/en/latest/developer/build-linux.markdown +++ b/source/docs/en/latest/developer/build-linux.markdown @@ -22,6 +22,7 @@ If you have installed a HandBrake package from your distribution or other third- Dependency installation instructions are available for the following distributions. +- [Alpine](install-dependencies-alpine.html) - [Arch](install-dependencies-arch.html) - [CentOS](install-dependencies-centos.html) - [Clear](install-dependencies-clear.html) diff --git a/source/docs/en/latest/developer/install-dependencies-alpine.markdown b/source/docs/en/latest/developer/install-dependencies-alpine.markdown new file mode 100644 index 00000000..61d7f829 --- /dev/null +++ b/source/docs/en/latest/developer/install-dependencies-alpine.markdown @@ -0,0 +1,82 @@ +--- +Type: article +Title: Installing dependencies on Alpine +Project: HandBrake +Project_URL: https://handbrake.fr/ +Project_Version: Latest +Language: English +Language_Code: en +Authors: [ Rob (robxnano) ] +Copyright: 2023 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 Alpine +================================= + +The following instructions are for [Alpine](https://www.alpinelinux.org) 3.18. + +Basic requirements to run commands: + +- sudo (for normal user accounts) + +Dependencies: + +- autoconf +- automake +- busybox +- cmake +- g++ +- git +- jansson-dev +- lame-dev +- libass-dev +- libjpeg-turbo-dev +- libtheora-dev +- libtool +- libvorbis-dev +- libvpx-dev +- libxml2-dev +- m4 +- make +- meson +- nasm +- ninja +- numactl-dev +- opus-dev +- patch +- pkgconf +- python3 +- speex-dev +- tar +- x264-dev + +Intel Quick Sync Video dependencies (optional): + +- libva-dev +- libdrm-dev + +Graphical interface dependencies: + +- desktop-file-utils +- gstreamer-dev +- gst-libav +- gst-plugins-base-dev +- gst-plugins-good +- gtk+3.0-dev + +Install dependencies. + + sudo apk add autoconf automake busybox cmake g++ git jansson-dev lame-dev libass-dev libjpeg-turbo-dev libtheora-dev libtool libvorbis-dev libvpx-dev libxml2-dev m4 make meson nasm ninja numactl-dev opus-dev patch pkgconf python3 speex-dev tar x264-dev + +To build with Intel Quick Sync Video support, install the QSV dependencies. + + sudo apk add libva-dev libdrm-dev + +To build the GTK [GUI](abbr:Graphical User Interface), install the graphical interface dependencies. + + sudo apk add desktop-file-utils gst-libav gst-plugins-base-dev gst-plugins-good gtk+3.0-dev + +Alpine is now prepared to build HandBrake. See [Building HandBrake for Linux](build-linux.html) for further instructions. diff --git a/source/docs/en/latest/table-of-contents.markdown b/source/docs/en/latest/table-of-contents.markdown index 2dc488c4..a22f7234 100644 --- a/source/docs/en/latest/table-of-contents.markdown +++ b/source/docs/en/latest/table-of-contents.markdown @@ -162,7 +162,7 @@ Table of contents - [Building HandBrake for BSD](developer/build-bsd.html) - Installing dependencies on [FreeBSD](developer/install-dependencies-freebsd.html) / [NetBSD](developer/install-dependencies-netbsd.html) / [OpenBSD](developer/install-dependencies-openbsd.html) - [Building HandBrake for Linux](developer/build-linux.html) - - Installing dependencies on [Arch](developer/install-dependencies-arch.html) / [CentOS](developer/install-dependencies-centos.html) / [Clear](developer/install-dependencies-clear.html) / [Debian](developer/install-dependencies-debian.html) / [Fedora](developer/install-dependencies-fedora.html) / [Gentoo](developer/install-dependencies-gentoo.html) / [Ubuntu](developer/install-dependencies-ubuntu.html) / [Void](developer/install-dependencies-void.html) + - Installing dependencies on [Alpine](developer/install-dependencies-alpine.html) / [Arch](developer/install-dependencies-arch.html) / [CentOS](developer/install-dependencies-centos.html) / [Clear](developer/install-dependencies-clear.html) / [Debian](developer/install-dependencies-debian.html) / [Fedora](developer/install-dependencies-fedora.html) / [Gentoo](developer/install-dependencies-gentoo.html) / [Ubuntu](developer/install-dependencies-ubuntu.html) / [Void](developer/install-dependencies-void.html) - [Building HandBrake for Mac](developer/build-mac.html) - [Building HandBrake for Windows](developer/build-windows.html) - Packaging HandBrake