Commit 8b7506ed authored by Thibault Cohen's avatar Thibault Cohen

packaging: first try for macosx

Refs #71506

Change-Id: I7fd296b5481bcf8f4ed0c35a6ead903e5b0e69aa
parent 7d2a48b9
osx:
type: osx
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 -j
- cd ..
- echo "LRC"
- export CMAKE_PREFIX_PATH=/usr/local/Cellar/qt5/5.4.0
- git clone git@git.kde.org:libringclient
- cd libringclient
- mkdir build
- cd build
- cmake .. -DCMAKE_INSTALL_PREFIX=%(prefix_path) -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER=/usr/local/opt/llvm/bin/clang -DCMAKE_CXX_COMPILER=/usr/local/opt/llvm/bin/clang++
- make install
- cd ..
- echo "Client"
- git clone https://gerrit-ring.savoirfairelinux.com/ring-client-macosx ring-client-macosx
- cd ring-client-macosx
- mkdir build && cd build
- export CMAKE_PREFIX_PATH=/usr/local/Cellar/qt5/5.4.0
- cmake ../ -DCMAKE_INSTALL_PREFIX=%(prefix_path)s
- make install -j
- cpack -G DragNDrop Ring
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment