mirror of
https://github.com/HandBrake/HandBrake-docs.git
synced 2025-12-10 17:47:51 -06:00
docs: Add more info to Building HandBrake for Mac.
This commit is contained in:
parent
50413b9cac
commit
66e05c9227
@ -16,14 +16,14 @@ License_URL: https://handbrake.fr/docs/license.html
|
||||
Building HandBrake for Mac
|
||||
==========================
|
||||
|
||||
Dependencies:
|
||||
Building HandBrake for Mac requires a 64-bit Apple computer running OS X 10.10.4 Yosemite or later, and the following dependencies.
|
||||
|
||||
- [Xcode](https://developer.apple.com/xcode/) 7.2.1 or later
|
||||
- [Xcode](https://developer.apple.com/xcode/) 7.0 or later
|
||||
- free Apple Developer registration required, or install from the Mac App Store
|
||||
- [Command Line Tools for Xcode](https://developer.apple.com/download/more/)
|
||||
- [Command Line Tools for Xcode](https://developer.apple.com/download/more/) (optional)
|
||||
- free Apple Developer registration required, or install using `xcode-select --install`
|
||||
|
||||
Additional dependencies (may be built via script):
|
||||
Additional dependencies (may be built via included script):
|
||||
|
||||
- autoconf
|
||||
- automake
|
||||
@ -32,16 +32,22 @@ Additional dependencies (may be built via script):
|
||||
- pkg-config
|
||||
- yasm 1.3.0 or later
|
||||
|
||||
Install Xcode and open it once. You may quit Xcode after it has finished loading.
|
||||
|
||||
Clone the HandBrake repository.
|
||||
|
||||
git clone https://github.com/HandBrake/HandBrake.git && cd HandBrake
|
||||
|
||||
You may build and install the additional dependencies to `/usr/local/` using the included script.
|
||||
You may build and install the additional dependencies using the included script. Feel free to choose a different output path, if desired.
|
||||
|
||||
scripts/mac-toolchain-build
|
||||
scripts/mac-toolchain-build /usr/local
|
||||
|
||||
This process will take a few minutes. If necessary, the script will provide you with instructions for adding the resulting binaries location to your environment's `PATH`[^default-path]. Do this now.
|
||||
|
||||
Build HandBrake.
|
||||
|
||||
./configure --launch-jobs=$(sysctl -n hw.ncpu 2>/dev/null) --launch
|
||||
|
||||
When complete, you will find `HandBrake.app` and `HandBrakeCLI` in the `build/xroot` directory.
|
||||
|
||||
[^default-path]: `/usr/local` is included in the system's `PATH` by default.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user