diff options
| author | OmniTroid <davidskoland@gmail.com> | 2024-07-31 13:40:43 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-31 13:40:43 +0200 |
| commit | 0e45f3c0ee556d4dee3bc81a577e4998232f491a (patch) | |
| tree | e920f9706466f3ea8bc0d1fc82f29b0d6527bb2a /scripts/configure_macos.sh | |
| parent | 4d1b0517e3d5704b26df7d8a9a492d182d36ea4b (diff) | |
Universal configure script (#1022)
* Init configure.sh
* echo detected platform
* Implement check_command
* Implement install_bass_macos, plus checks
* Ignore tmp
* Add configure main function and bass installs
* Less functions
* Reformat file, add some stuff
* Start adding automatic qt detection
* Curl is more portable it seems
* Try finding Qt's bundled cmake
* fix cmake command checking
* Reorder to windows first
* do not download deps if already present
* Add configure clean
* Fix basic command checks
* cmd fixes
* thank you bash, very cool!
* fix file shenanigans
* unneccessary comment
* Use qt_path instead of qt_cmake
* Ignore apng folder
* Rework with QT_PATH
* Move find_qt to the top
* move check_command near the top
* Tidy up command checking
* Rename QT_PATH to QT_ROOT and call the qt installation path QT_PATH instead
* only clone qtapng if no dir
* Cmake shenanigans
* Fix build with ninja
* Fix apng cp cmd
* Fix apng check
* Just call it cmake
* Run cmake in configure.sh
* Ignore generated files
* Comment out mega cmake command
* Fix apng check
* more cmake stuff
* make the cmake command we use very clear
* ignore cmake_cmd.txt
* Note that linux and macos is not supported
* Update README
* Add some stuff to windeployqt
* Clone themes
* macos fixes
* Only call windeployqt on windows
* Linux fixes
* Remove linux todo comment
* Remove git stuff from themes checkout
* Note about vanilla content..
* Add note about formatting in readme
* Remove e flag so script doesn't stop with no error messages
* Note about toolchains on unix-likes
* Fix cmake path on linux
* Rework get_zip for better error handling and less unzipping unnecessary files
* Adjust get_zip calls
* Hopefully make error handling more robust
* Fix bassopus on linux
* linux bassopus pathing fix
* Fix discord rpc linux
* Add note about opengl
* Ignore test_aopacket
* Tidy up readme a bit again
* Remove old configure scripts
Diffstat (limited to 'scripts/configure_macos.sh')
| -rwxr-xr-x | scripts/configure_macos.sh | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/scripts/configure_macos.sh b/scripts/configure_macos.sh deleted file mode 100755 index ebf4ab98..00000000 --- a/scripts/configure_macos.sh +++ /dev/null @@ -1,47 +0,0 @@ -#!/bin/sh - -# This script fetches all build dependencies for MacOS -# Tested on MacOS 10.14 (Mojave), Qt 5.13 and XCode 10.2 - -# Exit on errors and unset variables -set -eu - -ROOT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/" - -cd ${ROOT_DIR} - -LIB_TARGET="../../lib" -BASS_LINK="http://uk.un4seen.com/files/bass24-osx.zip" -BASSOPUS_LINK="http://www.un4seen.com/files/bassopus24-osx.zip" -BASSMIDI_LINK="https://www.un4seen.com/files/bassmidi24.zip" -DISCORD_RPC_LINK="https://github.com/discordapp/discord-rpc/releases/download/v3.4.0/discord-rpc-osx.zip" -APNG_LINK="https://github.com/Skycoder42/QtApng/releases/download/1.1.2-2/qtapng_clang_64_5.13.0.tar.xz" - -# Easier if we don't need to worry about an existing tmp folder tbh smh -# v Add a slash here for free tmp folder cleanup in true javascript community style -rm -rf tmp -mkdir tmp -cd tmp - -curl -Ls ${BASS_LINK} -o bass.zip -unzip -qq bass.zip -cp libbass.dylib ${LIB_TARGET} - -curl -Ls ${BASSOPUS_LINK} -o bassopus.zip -unzip -qq bassopus.zip -cp libbassopus.dylib ${LIB_TARGET} - -curl -Ls ${BASSMIDI_LINK} -o bassmidi.zip -unzip -qq bassmidi.zip -cp libbassmidi.dylib ${LIB_TARGET} - -curl -Ls ${DISCORD_RPC_LINK} -o discord_rpc.zip -unzip -qq discord_rpc.zip -cp discord-rpc/osx-dynamic/lib/libdiscord-rpc.dylib ${LIB_TARGET} - -curl -Ls ${APNG_LINK} -o apng.tar.xz -tar -xf apng.tar.xz -cp clang_64/plugins/imageformats/libqapng.dylib ../../lib - -cd .. -rm -rf tmp |
