Warning, /education/gcompris/platforms/macosx/README is written in an unsupported language. File is not indexed.

0001 MacOSX build instruction.
0002 
0003 Update config.h with the correct release version or pick it from a CMake build.
0004 
0005 copy the following files at the root dir
0006 cp config.h ../..
0007 cp gcompris.pro ../..
0008 cp gcompris.icns ../..
0009 
0010 At root dir create the directory
0011 mkdir rcc
0012 mkdir translations
0013 
0014 And fill copy the appropriate files in them.
0015 
0016 Create a build directory:
0017 mkdir build-macosx
0018 cd build-macosx
0019 ~/Qt/5.5/clang_64/bin/qmake -config release ../gcompris.pro
0020 make
0021 
0022 codesign --deep -s "3rd Party Mac Developer Application: Bruno Coudoin" --entitlements ../platforms/macosx/gcompris.entitlements gcompris.app
0023 
0024 /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
0025 
0026 codesign --deep -s "3rd Party Mac Developer Application: Bruno Coudoin" gcompris.app/Contents/Resources/translations/*
0027 codesign --deep -s "3rd Party Mac Developer Application: Bruno Coudoin" gcompris.app/Contents/Resources/rcc/*
0028 
0029 make product
0030 
0031 To test it:
0032 sudo installer -store -pkg gcompris.pkg -target /
0033