Skip to content
Snippets Groups Projects
Commit 8b7506ed authored by Thibault Cohen's avatar Thibault Cohen
Browse files

packaging: first try for macosx

Refs #71506

Change-Id: I7fd296b5481bcf8f4ed0c35a6ead903e5b0e69aa
parent 7d2a48b9
No related branches found
No related tags found
No related merge requests found
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment