Merge branch 'pixelwheels-build-aseprite' into 'master'

Update Pixel Wheels to 0.14.1 (14)

Use our own build of Aseprite. The packaged version is too old: it
generates bad assets because it does not understand hidden layers.
See https://github.com/agateau/pixelwheels/issues/33.

See merge request fdroid/fdroiddata!5705
This commit is contained in:
relan 2019-12-16 19:06:27 +00:00
commit cfdee17bcf
2 changed files with 40 additions and 2 deletions

View file

@ -60,7 +60,41 @@ Builds:
- xvfb-run -a make -C .. mapscreenshotgenerator
- make -C .. packer
- versionName: 0.14.1
versionCode: 14
commit: 0.14.1
subdir: android
sudo:
- apt-get update || apt-get update
- apt-get install -y g++ python3-pil imagemagick-6.q16 ninja-build libx11-dev
libxcursor-dev
gradle:
- yes
srclibs:
- aseprite@v1.2.16.3
- pafx@269b0241a4b5507a1f45d0aa576fb9f9dad91ad8
rm:
- tools/packr.jar
prebuild: sed -i -e 's#./gradlew#gradle#' ../Makefile
scandelete:
- android/libs/
build:
- install_dir=$PWD/aseprite
- pushd $$aseprite$$
- mkdir -p build
- cd build
- cmake "-DCMAKE_INSTALL_PREFIX=$install_dir" -DENABLE_UI=OFF -DCMAKE_BUILD_TYPE=MinSizeRel
-G Ninja ..
- ninja aseprite
- ninja install
- popd
- export PATH=$PATH:$PWD/aseprite/bin
- gradle tools:dist -b ../build.gradle
- export PYTHONPATH=../$$pafx$$/build/lib/
- make -C .. assets
- make -C .. packer
AutoUpdateMode: Version %v
UpdateCheckMode: Tags
CurrentVersion: 0.13.0
CurrentVersionCode: 12
CurrentVersion: 0.14.1
CurrentVersionCode: 14

4
srclibs/aseprite.txt Normal file
View file

@ -0,0 +1,4 @@
Repo Type:git
Repo:https://github.com/aseprite/aseprite
Prepare:git submodule update --init --recursive