Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-client-windows
Commits
58b6b329
Commit
58b6b329
authored
May 27, 2015
by
Edric Milaret
Committed by
Guillaume Roguez
May 28, 2015
Browse files
build: add packer file
Refs #74016 Change-Id: I0232808be21293208dedf748b91848babc155fbe
parent
40197749
Changes
1
Hide whitespace changes
Inline
Side-by-side
.packer.yml
0 → 100644
View file @
58b6b329
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment