Some work about adaptive color scheme for Web UI (PR #19901)
http://[316:c51a:62a3:8b9::4]/d4708/qBittorrent/src/branch/adaptive-webui
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
1.3 KiB
54 lines
1.3 KiB
language: |
|
# linux |
|
- cpp |
|
|
|
# osx |
|
# - objective-c |
|
|
|
env: |
|
# linux |
|
- lt=APT debug=false gui=true |
|
- lt=repo debug=false gui=true |
|
- lt=repo debug=true gui=true |
|
- lt=repo debug=true gui=false |
|
|
|
install: |
|
# linux, osx |
|
- (cd src/geoip && wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz && gzip -d GeoIP.dat.gz) |
|
|
|
# linux |
|
- shopt -s expand_aliases |
|
- alias sudo="sudo " |
|
- alias make=colormake |
|
- export MAKEFLAGS="-j $((`nproc` / 2))" |
|
|
|
- if $debug; then qtc="--enable-debug"; ltc="--enable-debug"; fi |
|
- if ! $gui; then qtc="$qtc --disable-gui"; fi |
|
|
|
- echo settings |
|
- echo $lt |
|
- echo $debug |
|
- echo $gui |
|
- echo $qtc |
|
- echo $ltc |
|
|
|
- sudo apt-get -qq update |
|
- sudo apt-get -qq install debhelper libboost-dev libboost-filesystem-dev libboost-system-dev libqt4-dev qconf colormake |
|
- if [[ "$lt" == "APT" ]]; then sudo apt-get -qq install libtorrent-rasterbar-dev; fi |
|
- if [[ "$lt" == "repo" ]]; then sudo apt-get -qq build-dep libtorrent-rasterbar-dev && git clone git://github.com/mirror/libtorrent.git && (cd libtorrent && ./autotool.sh && ./configure $ltc && sudo make install); fi |
|
|
|
# osx |
|
# - export MAKEFLAGS="-j 4" |
|
# - brew update |
|
# - brew install libtorrent-rasterbar qt boost |
|
|
|
script: |
|
# linux, osx |
|
- mkdir -p build && cd build && mkdir -p install |
|
|
|
# linux |
|
- (cd .. && qt-qconf) |
|
- ../configure $qtc && sudo make install |
|
|
|
# osx |
|
# - qmake ../qbittorrent.pro && make
|
|
|