-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable auto-uploading of PRs (#4041)
Removes Qt4 from build system Uploads PRs to transfer.sh
- Loading branch information
Showing
21 changed files
with
96 additions
and
194 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,9 @@ | ||
#!/usr/bin/env bash | ||
if [ "$QT5" ]; then | ||
unset QTDIR QT_PLUGIN_PATH LD_LIBRARY_PATH | ||
# shellcheck disable=SC1091 | ||
source /opt/qt59/bin/qt59-env.sh | ||
fi | ||
unset QTDIR QT_PLUGIN_PATH LD_LIBRARY_PATH | ||
# shellcheck disable=SC1091 | ||
source /opt/qt59/bin/qt59-env.sh | ||
|
||
set -e | ||
|
||
# shellcheck disable=SC2086 | ||
cmake -DUSE_WERROR=ON $CMAKE_FLAGS .. | ||
cmake -DUSE_WERROR=ON -DCMAKE_INSTALL_PREFIX=../target $CMAKE_FLAGS .. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,13 +2,7 @@ | |
|
||
set -e | ||
|
||
PACKAGES="cmake pkg-config libogg libvorbis lame libsndfile libsamplerate jack sdl libgig libsoundio stk portaudio node fltk" | ||
|
||
if [ "$QT5" ]; then | ||
PACKAGES="$PACKAGES [email protected]" | ||
else | ||
PACKAGES="$PACKAGES cartr/qt4/qt@4" | ||
fi | ||
PACKAGES="cmake pkg-config libogg libvorbis lame libsndfile libsamplerate jack sdl libsoundio stk portaudio node fltk qt5" | ||
|
||
if "${TRAVIS}"; then | ||
PACKAGES="$PACKAGES ccache" | ||
|
@@ -30,4 +24,7 @@ brew install fftw --ignore-dependencies | |
|
||
brew install --build-from-source "https://gist.githubusercontent.com/tresf/c9260c43270abd4ce66ff40359588435/raw/fluid-synth.rb" | ||
|
||
# Build libgig 4.1.0 from source to avoid 3.3.0 "ISO C++11 does not allow access declarations" | ||
brew install --build-from-source "https://raw.githubusercontent.com/tresf/homebrew-core/gig/Formula/libgig.rb" | ||
|
||
sudo npm install -g appdmg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,11 +2,9 @@ | |
|
||
set -e | ||
|
||
if [ "$QT5" ]; then | ||
# Workaround; No FindQt5.cmake module exists | ||
CMAKE_PREFIX_PATH="$(brew --prefix [email protected])" | ||
export CMAKE_PREFIX_PATH | ||
fi | ||
# Workaround; No FindQt5.cmake module exists | ||
CMAKE_PREFIX_PATH="$(brew --prefix qt5)" | ||
export CMAKE_PREFIX_PATH | ||
|
||
# shellcheck disable=SC2086 | ||
cmake $CMAKE_FLAGS -DUSE_WERROR=OFF .. | ||
cmake -DUSE_WERROR=OFF -DCMAKE_INSTALL_PREFIX=../target $CMAKE_FLAGS .. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,15 +16,8 @@ MSG_COLOR='\x1B[1;36m' | |
COLOR_RESET='\x1B[0m' | ||
echo -e "$MSG_COLOR\n\nCreating App Bundle \"$APP\"...$COLOR_RESET" | ||
|
||
# Prefer Qt 5.5 (QTBUG-53533) | ||
qtpath=$(brew --prefix [email protected])/bin | ||
|
||
# Fallback Qt 5.6+ | ||
if [ ! -d "$qtpath" ]; then | ||
qtpath=$(brew--prefix qt5)/bin | ||
fi | ||
|
||
export PATH=$PATH:$qtpath | ||
qtpath="$(dirname "@QT_QMAKE_EXECUTABLE@")" | ||
export PATH="$PATH:$qtpath" | ||
|
||
# Remove any old .app bundles | ||
rm -Rf "$APP" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.