Massive Update \o/#35
Conversation
…ICU because of big endian patches.
…lchain uses a different patch.
|
All Players compile except Android (obviously!) which reports "undefined reference to 'atof'" for all 4 target platforms. |
| make install | ||
| popd | ||
|
|
||
| echo " -> done" |
There was a problem hiding this comment.
We could also do out-of-source builds with cmake. So we would need to cleanup the build folder only.
Or even do a build in build-$TARGET_HOST and do not care about cleanup here.
Also, why not passing Generic system directly?
There was a problem hiding this comment.
because the linux build uses "Linux" as platform. But I can use Generic for all.
|
|
||
| lib=libpng | ||
| ver=1.6.34 | ||
| LIBPNG_URL="http://prdownloads.sourceforge.net/libpng/$lib-$ver.tar.xz " |
There was a problem hiding this comment.
We could also try the official OSUOSL mirror to avoid sf.net outages:
http://ftp-osl.osuosl.org/pub/libpng/src/archive/xz/libpng16/
Also, there are some stray spaces.
|
|
||
| lib=expat | ||
| ver=2.2.5 | ||
| EXPAT_URL="http://sourceforge.net/projects/expat/files/expat/2.2.5/$lib-$ver.tar.bz2" |
There was a problem hiding this comment.
Expat is also available on GitHub: https://github.com/libexpat/libexpat/releases
| echo "Preparing toolchain" | ||
|
|
||
| export DEVKITPRO=${WORKSPACE}/devkitPro | ||
| export DEVKITA64=${DEVKITPRO}/devkitA64 |
There was a problem hiding this comment.
It seems devkitpro does not use a specialised (yet, somehow useless) env var for devkita64, because it is static anyway.
| fi | ||
| export CFLAGS="-I$PLATFORM_PREFIX/include -g0 -O2 -DPSP2" | ||
| export CPPFLAGS=$CFLAGS | ||
| export CXXFLAGS=$CFLAGS |
There was a problem hiding this comment.
I know that has been in here before, but is really insane.
Only put -I and -D stuff in CPPFLAGS...
| --enable-int-quality=no --with-cpu=generic --with-default-audio=dummy | ||
| rm $PLATFORM_PREFIX/config.cache | ||
| install_lib $MPG123_DIR $MPG123_ARGS | ||
| rm $PLATFORM_PREFIX/config.cache |
There was a problem hiding this comment.
This totally breaks the purpose why we use a build system cache!
I would like to investigate why mmap is not detected/used instead.
There was a problem hiding this comment.
good point, I will recompile to check if this was fixed in the meanwhile.
|
|
||
| # Use ccache? | ||
| test_ccache | ||
|
|
There was a problem hiding this comment.
TL;DR: Too much copypasted content in here.
|
Did you try adding |
|
-lm doesn't help. No idea what's going on as the NDK version used is the same as before. |
…2.3.3 anyway. Improve mpg123 patch.
…o common patches. Check if lib folder exists before applying a patch.
f1c143f to
3d955a5
Compare
- Use normal Tremor version - Fix devkitPPC/ARM script paths - use local mirror of xmp-lite, fix CMake install - fix pixman compile issues - fix CMake system name option - CMake respects CPPFLAGS - fix wildmidi patch - update liblcf android script
|
should be ready now |
|
Because it's a security update I will make an exception and update libvorbis |
…rent to /opt/devkitPro is not supported anymore.
|
also updated mpg123 because our patch applied without issues. Submitted that patch to upstream months ago but guess the dev forgot by now about it :/ |
… purposes and helps editors with syntax hilighting.
carstene1ns
left a comment
There was a problem hiding this comment.
Resolved the missing stuff myself. 👨🎨
This refactors the build script and moves common stuff in "shared/" and "sources" package variables through a packages script.
Android: Removed MIPS, added arm64
Switch: Added, uses libsamplerate because speex didn't compile :(
Update stats:
Everything (except Windows) updated to latest library version.
Added Harfbuzz everywhere except emscripten (no freetype or harfbuzz)
Added Opus(file) everywhere except on 3DS (fast-math breaks it)
Except ICU which is 59.1 everywhere (Except Emscripten, 60.2) for now.
3ds and Vita: Added expat
Wii: Still at ICU 58.1 because of the complex big endian patches
iOS: SDl 2.0.7 doesn't compile, stay on 2.0.6
Currently recompiling Player of all platforms to ensure it works