forked from kazzmir/paintown
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy patheasy-compile-mac-arm
More file actions
executable file
·25 lines (19 loc) · 875 Bytes
/
easy-compile-mac-arm
File metadata and controls
executable file
·25 lines (19 loc) · 875 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/sh
# If you are trying to compile Paintown from source but have no idea what to do
# try running this script. It will attempt to install all the dependencies you
# need and compile Paintown.
echo This script uses 'sudo' to install packages. 'sudo' temporarily elevates
echo your priveleges so that new packages can be installed on your system.
echo When prompted for a password type the password you use to login.
# Command Line Tools (CLT) for Xcode
sudo xcode-select --install
# Brew
export NONINTERACTIVE=1
export HOMEBREW_NO_INSTALL_FROM_API=1
export HOMEBREW_NO_UPGRADE=1
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
# Deps
brew install sdl2 sdl2_ttf sdl2_image sdl2_gfx sdl2_mixer libpng libogg zlib meson ninja make
make release
ls -l paintown
echo "Here is the executable. To run it type: ./paintown"