2014-09-02 22:23:09 +02:00
|
|
|
language: c
|
|
|
|
|
2014-11-19 04:59:33 +01:00
|
|
|
before_install:
|
|
|
|
- sudo add-apt-repository -y ppa:ubuntu-sdk-team/ppa
|
|
|
|
- sudo apt-get update -q
|
|
|
|
|
|
|
|
# install libtoxav dependencies
|
|
|
|
- sudo apt-get install -y libopus-dev libvpx-dev
|
|
|
|
|
2014-09-18 18:06:02 +02:00
|
|
|
install:
|
2014-11-19 06:23:27 +01:00
|
|
|
- _libsodium_version=1.0.0
|
2014-09-03 14:36:54 +02:00
|
|
|
- _weechat_version=v1.0
|
|
|
|
|
2014-09-28 03:29:34 +02:00
|
|
|
# install libsodium (libtoxcore dependency)
|
2014-09-18 18:16:15 +02:00
|
|
|
- git clone git://github.com/jedisct1/libsodium.git
|
2014-09-02 22:23:09 +02:00
|
|
|
- pushd libsodium
|
2014-09-18 18:16:15 +02:00
|
|
|
- git checkout tags/${_libsodium_version}
|
|
|
|
- ./autogen.sh
|
|
|
|
- ./configure --prefix=/usr
|
|
|
|
- make -j3
|
|
|
|
- sudo make install
|
2014-09-02 22:23:09 +02:00
|
|
|
- popd
|
|
|
|
|
2014-09-18 18:16:15 +02:00
|
|
|
# install libtoxcore
|
|
|
|
- git clone git://github.com/irungentoo/toxcore
|
2014-09-02 22:23:09 +02:00
|
|
|
- pushd toxcore
|
2014-09-18 18:16:15 +02:00
|
|
|
- autoreconf -i
|
|
|
|
- ./configure --prefix=/usr --disable-testing --disable-ntox
|
|
|
|
- make -j3
|
|
|
|
- sudo make install
|
2014-09-02 22:23:09 +02:00
|
|
|
- popd
|
|
|
|
|
2014-09-02 22:50:32 +02:00
|
|
|
# install weechat
|
2014-09-18 18:16:15 +02:00
|
|
|
- git clone git://github.com/weechat/weechat
|
2014-09-02 22:50:32 +02:00
|
|
|
- pushd weechat
|
2014-09-18 18:16:15 +02:00
|
|
|
- git checkout tags/${_weechat_version}
|
2014-09-02 22:50:32 +02:00
|
|
|
- mkdir build && cd build
|
2014-09-18 18:16:15 +02:00
|
|
|
- cmake .. -DPREFIX=/usr
|
|
|
|
- make -j3
|
|
|
|
- sudo make install
|
2014-09-02 22:50:32 +02:00
|
|
|
- popd
|
|
|
|
|
2014-09-02 22:55:36 +02:00
|
|
|
script:
|
|
|
|
- mkdir build && cd build
|
|
|
|
- cmake ..
|
|
|
|
- make -j3
|
|
|
|
|