Commit 58b6b329 authored by Edric Milaret's avatar Edric Milaret Committed by Guillaume Roguez

build: add packer file

Refs #74016

Change-Id: I0232808be21293208dedf748b91848babc155fbe
parent 40197749
win32:
exe_commands:
- echo "Building Daemon"
- git clone https://gerrit-ring.savoirfairelinux.com/ring-daemon ring-daemon
- cd ring-daemon/contrib
- mkdir native
- ls
- cd native
- ../bootstrap --host=i686-w64-mingw32
- make
- cd ../..
- ./autogen.sh
- ./configure --host=i686-w64-mingw32 --without-dbus
- make
- make install
- echo "Building LRC"
- cd ..
- git clone https://gerrit-ring.savoirfairelinux.com/ring-lrc ring-lrc
- RING=`pwd`/ring-daemon
- cd ring-lrc
- mkdir build
- cd build
- cmake -DCMAKE_TOOLCHAIN_FILE=../cmake/winBuild.cmake -DCMAKE_INSTALL_PREFIX=$RING/_win32 -DRING_BUILD_DIR=$RING/src -DENABLE_LIBWRAP=true ..
- make
- make install
- cd ../..
- echo "Building Client"
- git clone https://gerrit-ring.savoirfairelinux.com/ring-client-windows ring-client-windows
- cd ring-client-windows
- mkdir build && cd build
- export QTDIR=/usr/i686-w64-mingw32/lib/qt
- /usr/i686-w64-mingw32/lib/qt/bin/qmake ../RingWinClient.pro -r -spec win32-g++ RING=$RING/_win32
- make
- make install
- cd release
- makensis ring.nsi
- sudo mv ring-windows-nightly.exe /output
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