mirror of
https://github.com/glest/glest-source.git
synced 2025-08-31 03:39:54 +02:00
Added setup.sh for mac
This commit is contained in:
3
mk/macos/build-deps.sh
Normal file
3
mk/macos/build-deps.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
brew install sdl2 lua fontconfig freetype ftgl libogg glew libvorbis cppunit glib fribidi miniupnpc wxmac
|
||||
brew outdated cmake || brew upgrade cmake; brew outdated pkgconfig || brew upgrade pkgconfig
|
||||
brew install Caskroom/cask/xquartz
|
@@ -77,7 +77,7 @@ cd ${SCRIPTDIR}
|
||||
if [ "$BUILD_BUNDLE" -eq "1" ] && [ -d "p7zip" ]; then rm -rf "p7zip"; fi
|
||||
if [ -e ".p7zip.zip" ] && [ "$(find ./ -name ".p7zip.zip" -mtime +90)" ]; then rm ".p7zip.zip"; rm -rf "p7zip"; fi
|
||||
if [ ! -e ".p7zip.zip" ]; then
|
||||
curl -L -o .p7zip.zip https://github.com/Glest/glest-source/releases/download/3.3.0/p7zip.zip 2>/dev/null
|
||||
curl -L -o .p7zip.zip https://github.com/MegaGlest/megaglest-source/releases/download/3.3.0/p7zip.zip 2>/dev/null
|
||||
# ^sha256: 20ac3b0377054f8196c10e569bd6ec7c6ed06d519fa39e781ee6d27d7887588b
|
||||
if [ -e ".p7zip.zip" ]; then touch -m ".p7zip.zip"; fi
|
||||
fi
|
||||
|
2
mk/macos/setup.sh
Normal file
2
mk/macos/setup.sh
Normal file
@@ -0,0 +1,2 @@
|
||||
./build-deps.sh
|
||||
./build.sh
|
Reference in New Issue
Block a user