Guidelines and HOWTOs/Build from source/Mac: Difference between revisions
Appearance
Created page with " * Install Qt (use the official Qt installer, recommended version Qt >= 5.6) * Install Python >= 3.5 (using the pkg installer from http://python.org) * Install homebrew and..." |
TheOneRing (talk | contribs) fix git url |
||
Line 15: | Line 15: | ||
* Get the unix3 branch of KDE emerge | * Get the unix3 branch of KDE emerge | ||
git clone --branch unix3 kde | git clone --branch unix3 git://anongit.kde.org/emerge.git | ||
* Copy Mac OS X config template to right location, should be OK to use out of the box | * Copy Mac OS X config template to right location, should be OK to use out of the box |
Revision as of 12:33, 6 July 2016
- Install Qt (use the official Qt installer, recommended version Qt >= 5.6)
- Install Python >= 3.5 (using the pkg installer from http://python.org)
- Install homebrew and get some basic dependencies (http://brew.sh/)
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" brew install cmake wget p7zip gettext ninja
- Prepare some build directory in your home directory, here we assume:
mkdir ~/kf
- Switch to this build dir
cd ~/kf
- Get the unix3 branch of KDE emerge
git clone --branch unix3 git://anongit.kde.org/emerge.git
- Copy Mac OS X config template to right location, should be OK to use out of the box
mkdir etc cp emerge/kdesettings.mac etc/kdesettings.ini
- Setup environment (path must contain your Qt install, here 5.7 default location and brew's gettext)
export PATH=/Users/cullmann/Qt5.7.0/5.7/clang_64/bin:/usr/local/Cellar/gettext/0.19.7/bin:$PATH . emerge/kdeenv.sh
- In this shell, now emerge is usable, e.g. to build Kate with all dependencies:
emerge kate
- To create a app bundle (+ dmg file), you need to have the breeze-icons around:
emerge breeze-icons
- To do deploy all things, unfortunately at the moment you need a patched macdeployqt. Example scripty for kate can be found on kate.git/mac/emerge-deploy.sh