MacOSX build instruction.

Update config.h with the correct release version or pick it from a CMake build.

copy the following files at the root dir
cp config.h ../..
cp gcompris.pro ../..
cp gcompris.icns ../..

At root dir create the directory
mkdir rcc
mkdir translations

And fill copy the appropriate files in them.

Create a build directory:
mkdir build-macosx
cd build-macosx
~/Qt/5.5/clang_64/bin/qmake -config release ../gcompris.pro
make

codesign --deep -s "3rd Party Mac Developer Application: Bruno Coudoin" --entitlements ../platforms/macosx/gcompris.entitlements gcompris.app

/Users/bdoin/Qt/5.5/clang_64//bin/macdeployqt gcompris.app  -executable=/Users/bdoin/Projets/gcompris/build-macosx/gcompris.app/Contents/MacOS/gcompris  -always-overwrite -qmldir=/Users/bdoin/Projets/gcompris/src  -codesign="3rd Party Mac Developer Application: Bruno Coudoin" -verbose=2

codesign --deep -s "3rd Party Mac Developer Application: Bruno Coudoin" gcompris.app/Contents/Resources/translations/*
codesign --deep -s "3rd Party Mac Developer Application: Bruno Coudoin" gcompris.app/Contents/Resources/rcc/*

make product

To test it:
sudo installer -store -pkg gcompris.pkg -target /

