• Stars
    star
    155
  • Rank 233,062 (Top 5 %)
  • Language
    Shell
  • License
    MIT License
  • Created almost 7 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Automated script to create latest release app (either beta, or release whichever is newer) of Aseprite for macOS

aseprite-macos-buildsh

Automated script to create latest release (whatever it will be either development snapshot commit, beta, or release) of Aseprite for macOS

Update : Added support x64 Architecture build for SKIA on MacOS

Project is updated against aseprite v.1.2.10 build workflow.

Pre-Requisite

You need

For Xcode, you need to install it by downloading here. After successfully installed, execute xcode-select --install to install its toolchain, then finally follow along as dialog popup shows up.

Now you're ready to use this script.

How to Build

Just execute bash aseprite.sh. Then open Aseprite application.

If the script asks for root password, enter it. This is to be able to execute command to properly set environment path variable. It's safe, the script never try to do anything beside trying to build the app successfully.

Command line Configuration

In case you want to install aseprite to different path, or your xcode-select is not set properly, you can use either --sdk-root and --target to properly set things up before building.

  • --sdk-root

    To set your latest macOS SDK root as part of Xcode toolchain. By default it will query current prefix-value from xcode-select and append it with /Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk. But in case, it doesn't work or xcode-select didn't do the work, you can use this option to manually specify it.

  • --target

    To set you target path to install aseprite. By default it will be at /Applications but some users might want it differently. In case you use this parameter, please see #3.

So for example, you will execute

bash aseprite.sh --sdk-root /Volumes/Slave/Applications/Xcode8.3/Xcode.app/Contents/Developer --target ~/slave/Applications

note if you use --target, please see #3.

Normal, barebone version with no parameters.

bash aseprite.sh

With custom parameters to specify SDK_ROOT and TARGET

bash aseprite.sh --sdk-root /Volumes/Slave/Applications/YourCustomDir/Xcode.app/Contents/Developer --target ~/YourCustomDir/Appliations

Behind the Scene

The script will proceed with following

  • Clone down Aseprite and Skia repository, and its dependencies required to bulid Aseprite.
  • Compile and build dependencies
  • Clone down Aseprite repository, then compile and build for latest release as tagged on Github (can be either beta or release version)
  • Created .app bundle at ~/Applications

Aseprite.app is pre-created bundle file to wrap soon-to-be-built Aseprite. It contains script to execute an aseprite binary file with default executable path at ~/Applications/Aseprite/aseprite. Such bundle file is created with macOS's Script Editor application.

Notes

for building v1.2.9

  • If you previously clone any dependencies, the script will know and will instead try to update it from upstream for you. So you're ensured that it will operate on the most latest release state version of Aseprite.
  • Updated version of Aseprite might break cloned dependencies's build workflow especially error about CC or CXX environment variables are not set to correct path. If this is a case, it's likely that you re-build on previously compiled source code of dependencies in which cmake still keeps the old configurations used in successful compile. To resolve the problem, remove the whole build folder namedly aseprite then start it all over again.
  • In case you want to build older version of Aseprite, take a look at Releases section then find a corresponding target version of Aseprite you look for. - won't work, will stick to latest version only

Support Aseprite

Aseprite is cool. It is free if you build it by yourself like you did above, or you can purchase it at official website to avoid spending effort in manual build process.

Credits

This automated build script gathers information from Aseprite's INSTALL.md on how to build, and sum it up together as automated script you're using here.

License

MIT, Wasin Thonkaew

More Repositories

1

Potatso

Potatso is an iOS client that implements Shadowsocks proxy with the leverage of NetworkExtension framework. ***This project is unmaintained, try taking a look at this fork https://github.com/shadowcoel/shadowcoel instead.
Swift
2,033
star
2

ios-design-patterns

Learning ground for iOS Design Pattern included with sample projects for MVC, MVP, MVVM, and VIPER
Swift
135
star
3

asteroids

Kotlin port of ForeignGuyMike's Asteroids project with changes, additional features and improvements
Kotlin
35
star
4

sdl2-manpage

Man-pages created by hands following online API document at https://wiki.libsdl.org/CategoryAPI.
Roff
33
star
5

blockbunny

Libgdx-based game for Android, iOS, and PC following the tutorial by ForeignGuyMike on youtube channel. Read more on README.md
Kotlin
28
star
6

omo

Kotlin port with changes and improvements for omo originally by ForeignGuyMike
Kotlin
23
star
7

sdl2-cimgui-demo

Demo project SDL2 + cimgui + opengl3 using either gl3w or glew
C
18
star
8

lazyfoo-sdl2c

lazyfoo SDL2 tutorial in C with improvement and modifications.
C
16
star
9

vkdocs-manpages-autogensh

Auto-generator Vulkan-Docs manpages
Shell
9
star
10

tt

Twitter client in C implementation. Aim to be minimalist and get me to tweet asap. Inspired by t.
C
7
star
11

raceplant

Hot-seat 2 players racing to plant the tree, and collect fruits
Kotlin
7
star
12

evmscan

Rust binding of non-async API for EVM-based chains working with API platforms of bscscan.com, etherscan.io, and polygonscan.com
Rust
6
star
13

digitaloceanbackup

Automated server script to take snapshot for DigitalOcean server, keep only latest N snapshots to keep cost low
JavaScript
5
star
14

rustelebot

Minimal telegram Bot API in Rust just to send message to telegram's group/channel
Rust
5
star
15

contractdiff

CLI tool to diff between two contract addresses in bytecode. Support EVM-based chains i.e. BSC, Ethereum, and Polygon.
Rust
4
star
16

bybit-shiprekt

Inspired by Kraken Shiprekt Telegram group, but this is for Bybit
Rust
4
star
17

lazyfoo-opengl2c

Opengl 2.1 with few tutorial of 3.3 later in the series in C following tutorials from lazyfoo but with SDL2, added improvement and few more features if possible
C
3
star
18

lgl

Initially as a studying repo from learnopengl.com but now turned into my testbed involved graphics programming with opengl 3.3 + 3D maths.
C++
3
star
19

libmaxminddb

Copy of libmaxminddb created by https://github.com/icodesign but the project was taken down as reported in https://github.com/haxpor/Potatso/issues/6. This repository will have ist copy. I take no credits from this repo, nor declare I'm the owner. You can consult LICENSE file of this repository for the rights.
C
3
star
20

eliza-php

PHP implementation of eliza-js (not maintained, it might not work as expect)
PHP
3
star
21

shadowsocks-libev

Mirror of modified source code of shadowsocks-libev as used in Potatso
C
2
star
22

rcs

Recursive Code Search for convenience wrapping "grep -nr". It should reduce your long typing a bit.
2
star
23

quicky

Command line program to quickly place a limit order on Bybit's derivatives (inverse perpetual)
Rust
2
star
24

genctemplate

C, Makefile (for now) template generator to quickly modify and further work on top
C
2
star
25

cpp_st

Repo contains tests, experiments using C++17
C++
2
star
26

Spriter-Cocos2d-X

Spriter for Cocos2d-x demo
C++
2
star
27

jekyll-react-webpack-demo

Demo boilerplate files/code for integration of Jekyll + React + Webpack. It specifically uses jekyll-assets v.0.2.1 (not newer)
Ruby
2
star
28

cmake_example

Example project using CMake as build system. Included executable linking with shared library with some other configurable features of CMake.
CMake
2
star
29

tracpls

Cli tool to get smart contract code + ABI on EVM-based chains i.e. BSC, Ethereum, and Polygon for ease of piping and viewing at terminal (e.g. with vim or others)
Rust
2
star
30

baidut

Baidu translator Node JS implementation
JavaScript
1
star
31

crunner

Runner/Executor of target smart contract on EVM-based chain at command line
Rust
1
star
32

zhbuild

A build script for Zombie Hero project (Xcode project)
Shell
1
star
33

hdrs

hdrs (header-search) to list all included header, or check if target one included by such input header path
1
star
34

basejit

Base skeleton setup for Node & Browser.
JavaScript
1
star
35

bitkub_crypto_tools

Variety of Tools used to help in trading on bitkub platform (https://bitkub.com/)
1
star
36

imgurc

Minimalistic imgur cli in C. First version aims to support upload image first.
1
star
37

inoutflow

A command line program to compute and print out in/out flow of native tokens of EVM-based chain for wallet/contract address
Rust
1
star
38

p4u

Fill the gap of what missing in p4.
Shell
1
star
39

fkit

WeChat bot to help misc stuff for foreigners living in China
JavaScript
1
star
40

vector_c

Generic vector array implemented in C.
C
1
star
41

sdl2-samples

SDL2 sample code
Java
1
star
42

gamepatterns

Studying repo for pattern designs specifically used in game development
C++
1
star
43

ReachabilityCpp

Wrapper of Reachability in C++ for iOS
C++
1
star
44

LD27

LudumDare 27 - Jam
C#
1
star
45

hashmap_c

Generic hashmap implementation in C. Uses murmurhash as hash function.
C
1
star
46

appvkek

Cli tool to check your approved permission with contracts connected with your wallet address, and allow to disapprove them. Support BSC, Ethereum, and Polygon chain.
Rust
1
star
47

basepolymerit

Starting code with necessary tools to create Polymer-based component
JavaScript
1
star
48

opencl-simple

Testing ground of OpenCL 1.2 with its C++ API accompanying article on MQL5.com
C++
1
star
49

keccak256-cli

keccak256 encryption cli program; accepts input text from stdin. Suitable for commandline users
Rust
1
star
50

unp

Unix Network Programming learning repository following along from Unix Network Programming Volume 1, 3rd Edition try to use as much as possible C++11 features and as necessary, cmake, modified and improvements on top (**wip)
C++
1
star