Add translations to macos builds (#84)
This commit is contained in:
@@ -22,7 +22,7 @@ before_install:
|
|||||||
git pull;
|
git pull;
|
||||||
brew update;
|
brew update;
|
||||||
brew unlink python;
|
brew unlink python;
|
||||||
brew install glib pkgconfig protobuf protobuf-c qt;
|
brew install glib pkgconfig protobuf protobuf-c qt gettext;
|
||||||
brew install sqlite --with-fts;
|
brew install sqlite --with-fts;
|
||||||
brew install gstreamer gst-plugins-base;
|
brew install gstreamer gst-plugins-base;
|
||||||
brew install gst-plugins-good --with-flac;
|
brew install gst-plugins-good --with-flac;
|
||||||
@@ -30,11 +30,13 @@ before_install:
|
|||||||
brew install chromaprint;
|
brew install chromaprint;
|
||||||
brew install libcdio libmtp libimobiledevice libplist;
|
brew install libcdio libmtp libimobiledevice libplist;
|
||||||
export Qt5_DIR=/usr/local/opt/qt5/lib/cmake;
|
export Qt5_DIR=/usr/local/opt/qt5/lib/cmake;
|
||||||
|
export Qt5LinguistTools_DIR=/usr/local/Cellar/qt/$(ls /usr/local/Cellar/qt | head -n1)/lib/cmake/Qt5LinguistTools;
|
||||||
|
export PATH="/usr/local/opt/gettext/bin:$PATH";
|
||||||
ls /usr/local/lib/gstreamer-1.0;
|
ls /usr/local/lib/gstreamer-1.0;
|
||||||
fi
|
fi
|
||||||
before_script:
|
before_script:
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then docker exec build cmake -Hstrawberry -Bbuild -DENABLE_STREAM_DEEZER=ON -DENABLE_TRANSLATIONS=ON ; fi
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then docker exec build cmake -Hstrawberry -Bbuild -DENABLE_STREAM_DEEZER=ON -DENABLE_TRANSLATIONS=ON ; fi
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then mkdir build; cd build; cmake .. -DUSE_BUNDLE=ON -DENABLE_STREAM_DEEZER=ON ; fi
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then mkdir build; cd build; cmake .. -DUSE_BUNDLE=ON -DENABLE_STREAM_DEEZER=ON -DENABLE_TRANSLATIONS=ON ; fi
|
||||||
script:
|
script:
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then docker exec build make -C build -j8 ; fi
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then docker exec build make -C build -j8 ; fi
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user