osx: | |
type: osx | |
info: | |
name: ring | |
version: nightly | |
release: 1 | |
brew_deps: | |
- automake | |
- libtool | |
- gettext | |
- yasm | |
- autoconf | |
- pkg-config | |
- qt5 | |
- llvm --with-clang --with-asan | |
commands: | |
- echo "Deamon" | |
- git clone https://gerrit-ring.savoirfairelinux.com/ring-daemon ring-daemon | |
- cd ring-daemon | |
- cd contrib | |
- mkdir native | |
- cd native | |
- ../bootstrap | |
- make -j3 | |
- cd ../../ | |
- ./autogen.sh | |
- ./configure --without-alsa --without-pulse --without-dbus --prefix=%(prefix_path)s | |
- make install -j1 | |
- cd .. | |
- echo "LRC" | |
- export CMAKE_PREFIX_PATH=/usr/local/Cellar/qt5/5.4.0 | |
- git clone https://gerrit-ring.savoirfairelinux.com/ring-lrc.git ring-lrc | |
- cd ring-lrc | |
- mkdir build | |
- cd build | |
- cmake .. -DCMAKE_INSTALL_PREFIX=%(prefix_path)s -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER=/usr/local/opt/llvm/bin/clang -DCMAKE_CXX_COMPILER=/usr/local/opt/llvm/bin/clang++ | |
- make install -j1 | |
- cd ../../ | |
- echo "Client" | |
- git clone https://gerrit-ring.savoirfairelinux.com/ring-client-macosx ring-client-macosx | |
- cd ring-client-macosx | |
- git submodule init | |
- git submodule update | |
- cd sparkle/Sparkle | |
- export BUILDDIR=$(pwd) | |
- make release | |
- mv Build/Products/Release/Sparkle.framework ../ | |
- cd ../../ | |
- mkdir build | |
- cd build | |
- export CMAKE_PREFIX_PATH=/usr/local/Cellar/qt5/5.4.0 | |
- cmake ../ -DCMAKE_INSTALL_PREFIX=%(prefix_path)s -DRING_VERSION=$(date "+%%Y%%m%%d") | |
- make install -j1 | |
- cpack -G DragNDrop Ring | |
transfer: | |
files: | |
- ring-client-macosx/build/Ring.dmg |