mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Add alternate instructions for building on MacOSX using MacPorts
This modifies the INSTALL file to offer MacPorts based instructions. Signed-off-by: Giuseppe 'ferdy' Miceli <ferdy@ferdy.it> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
480280937a
commit
7b1a797518
1 changed files with 34 additions and 2 deletions
36
INSTALL
36
INSTALL
|
@ -80,8 +80,8 @@ $ sudo make install [optionally, add: prefix=/usr/local]
|
||||||
|
|
||||||
Note: on Fedora qmake will appear as qmake-qt4
|
Note: on Fedora qmake will appear as qmake-qt4
|
||||||
|
|
||||||
Building the Qt version under MacOSX
|
Building the Qt version under MacOSX (using Homebrew)
|
||||||
------------------------------------
|
-----------------------------------------------------
|
||||||
|
|
||||||
1) Install Homebrew
|
1) Install Homebrew
|
||||||
|
|
||||||
|
@ -148,6 +148,38 @@ The easiest workaround is to create a symbolic link from
|
||||||
/usr/local/plugins to /usr/local/Cellar/qt/4.8.5/plugins (or whatever
|
/usr/local/plugins to /usr/local/Cellar/qt/4.8.5/plugins (or whatever
|
||||||
version of Qt you have built earlier).
|
version of Qt you have built earlier).
|
||||||
|
|
||||||
|
Building the Qt version under MacOSX (using MacPorts)
|
||||||
|
-----------------------------------------------------
|
||||||
|
|
||||||
|
1) Install MacPorts
|
||||||
|
|
||||||
|
Please refer to http://www.macports.org/install.php
|
||||||
|
|
||||||
|
2) Install needed dependencies
|
||||||
|
|
||||||
|
$ sudo port -vp install asciidoc libzip libusb sqlite cmake qt4-mac marble libdivecomputer
|
||||||
|
|
||||||
|
3) Check dependencies' versions
|
||||||
|
|
||||||
|
$ port installed qt4-mac libdivecomputer marble libzip asciidoc libusb sqlite cmake
|
||||||
|
The following ports are currently installed:
|
||||||
|
asciidoc @8.6.9_1 (active)
|
||||||
|
cmake @2.8.12_3 (active)
|
||||||
|
libdivecomputer @0.4.1_0 (active)
|
||||||
|
libusb @1.0.18_0 (active)
|
||||||
|
libzip @0.11.1_0 (active)
|
||||||
|
marble @4.12.2_0 (active)
|
||||||
|
qt4-mac @4.8.5_1 (active)
|
||||||
|
|
||||||
|
4) Compile Subsurface
|
||||||
|
|
||||||
|
$ cd ~/src
|
||||||
|
$ git clone git://subsurface.hohndel.org/subsurface.git
|
||||||
|
$ cd subsurface
|
||||||
|
$ qmake
|
||||||
|
$ make
|
||||||
|
$ make install_mac_bundle
|
||||||
|
|
||||||
Cross-building Subsurface on Linux for Windows
|
Cross-building Subsurface on Linux for Windows
|
||||||
----------------------------------------------
|
----------------------------------------------
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue