docs: Add Fedora to the Windows via Linux guide.

This commit is contained in:
Bradley Sepos 2019-10-14 18:35:45 -04:00
parent 310cea69e7
commit ed7e8e519f
No known key found for this signature in database
GPG Key ID: DEADE2F57D42D9C7

View File

@ -18,7 +18,46 @@ Building HandBrake for Windows
## Command line interface and LibHB
Building the HandBrake [CLI](abbr:Command Line Interface) and LibHB (`hb.dll`) for Windows requires Linux and a recent [MinGW-w64](https://mingw-w64.org/) toolchain. Ubuntu 18.04 LTS (Bionic Beaver) or later is recommended; other distros may work as well. In all cases, we recommend you build the MinGW-w64 toolchain using our instructions and the included script, as some packaged versions have issues that can produce non-functioning builds.
Building the HandBrake [CLI](abbr:Command Line Interface) and LibHB (`hb.dll`) for Windows requires Linux and a recent [MinGW-w64](https://mingw-w64.org/) toolchain. Fedora 28 or later, or Ubuntu 18.04 LTS (Bionic Beaver) or later are recommended; other distros may work as well. In all cases, we recommend you build the MinGW-w64 toolchain using our instructions and the included script, as some packaged versions have issues that can produce non-functioning builds.
### Installing dependencies on Fedora
The following instructions are for [Fedora](https://getfedora.org) 28 through 30.
Basic requirements to run commands:
- sudo (for normal user accounts)
Dependencies:
- Development Tools
- C Development Tools and Libraries
- cmake
- gcc-c++
- git
- libtool
- m4
- make
- meson
- nasm
- ninja-build
- patch
- python
- tar
- zlib-devel
Install dependencies.
sudo dnf update
sudo dnf groupinstall "Development Tools" "C Development Tools and Libraries"
sudo dnf install cmake gcc-c++ git libtool m4 make meson nasm ninja-build patch python tar zlib-devel
Install the additional dependencies required to build the MinGW-w64 toolchain.
sudo dnf install bison bzip2 curl flex g++ gzip pax
### Installing dependencies on Ubuntu
The following instructions are for [Ubuntu](https://www.ubuntu.com) 18.04 LTS (Bionic Beaver) through 19.10 (Eoan Ermine).
@ -84,6 +123,9 @@ Install the additional dependencies required to build the MinGW-w64 toolchain.
sudo apt-get install bison bzip2 curl flex g++ gzip pax
### Building the MinGW-w64 toolchain and HandBrake
Clone the HandBrake repository.
git clone https://github.com/HandBrake/HandBrake.git && cd HandBrake