1,554
edits
(→1. Homebrew: added libvpx libmikmod) |
(Replaced library methods numbering with internal links) |
||
Line 20: | Line 20: | ||
Getting the required libraries is easier with a package manager. The three most well-known ones are [http://brew.sh/ Homebrew], [https://www.macports.org/ MacPorts], and [http://www.finkproject.org/ Fink]. | Getting the required libraries is easier with a package manager. The three most well-known ones are [http://brew.sh/ Homebrew], [https://www.macports.org/ MacPorts], and [http://www.finkproject.org/ Fink]. | ||
==== | ==== Homebrew (recommended) ==== | ||
Install Homebrew by pasting the following into a terminal: | Install Homebrew by pasting the following into a terminal: | ||
Line 27: | Line 27: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
==== | ==== MacPorts ==== | ||
Install MacPorts by downloading and running the installer from the [https://www.macports.org/install.php MacPorts installation page]. | Install MacPorts by downloading and running the installer from the [https://www.macports.org/install.php MacPorts installation page]. | ||
== Obtaining the required libraries == | == Obtaining the required libraries == | ||
If you only want to build scummvm for your own use and are fine executing it from the command line, you can use a package manager (method 1 and 2 below) to get the required libraries. However those methods to not provide the static libraries needed to build a ScummVM.app bundle. If your goal is to build such a bundle you will need to download our libs package (method 3) or compile the libraries manually (method 4). | If you only want to build scummvm for your own use and are fine executing it from the command line, you can use a package manager ([[#Homebrew|method 1]] and [[#MacPorts|2 below]]) to get the required libraries. However those methods to not provide the static libraries needed to build a ScummVM.app bundle. If your goal is to build such a bundle you will need to download our libs package ([[#Download our libs package|method 3]]) or compile the libraries manually ([[#Manual compilation|method 4]]). | ||
=== | === Homebrew === | ||
After downloading the Xcode command line tools and installing Homebrew, enter the following command to install all the required libraries: | After downloading the Xcode command line tools and installing Homebrew, enter the following command to install all the required libraries: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
Line 39: | Line 39: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
=== | === MacPorts === | ||
After downloading the Xcode command line tools and installing MacPorts, enter the following command to install all the required libraries: | After downloading the Xcode command line tools and installing MacPorts, enter the following command to install all the required libraries: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
Line 45: | Line 45: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
=== | === Download our libs package === | ||
* For Intel 32 bits (targets Mac OS X 10.6 or above): [https://downloads.scummvm.org/frs/build/scummvm-macosx-libs-i386.zip scummvm-macosx-libs-i386.zip] | * For Intel 32 bits (targets Mac OS X 10.6 or above): [https://downloads.scummvm.org/frs/build/scummvm-macosx-libs-i386.zip scummvm-macosx-libs-i386.zip] | ||
* For Intel 64 bits (targets Mac OS X 10.9 or above): [https://downloads.scummvm.org/frs/build/scummvm-macosx-libs-x86_64.zip scummvm-macosx-libs-x86_64.zip] | * For Intel 64 bits (targets Mac OS X 10.9 or above): [https://downloads.scummvm.org/frs/build/scummvm-macosx-libs-x86_64.zip scummvm-macosx-libs-x86_64.zip] | ||
Line 69: | Line 69: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
=== | === Manual compilation === | ||
Get the source code from the libraries. With this method you will not only need to get the libraries ScummVM uses directly, but also those they depend on. | Get the source code from the libraries. With this method you will not only need to get the libraries ScummVM uses directly, but also those they depend on. | ||
* Required: | * Required: |