A RetroAchievements tracker app for the Miyoo Mini, built with SDL 1.2 and lib_minichieves
- Manage multiple RetroAchievements accounts
- Browse consoles, games, and achievements
- Background sync with progress indicator
- Runs on OnionOS (Miyoo Mini)
- SDL 1.2, SDL_ttf, SDL_image
- libcurl
- libminichieves
- libpthread
makeOutput binary: out/minichieves-app
Use the Docker image from dev-miyoomini-toolchain. The cross-compile toolchain is already configured inside the container.
Enter the shell:
make shellInstall lib_minichieves first:
cd lib_minichieves
make installThen build Minichieves:
cd minichieves
makeTo produce the install package:
make packageCopy Minichieves.zip to your SD card and extract it under /mnt/SDCARD/App/.
The toolchain Dockerfile was updated to cross-compile and install libcurl into the sysroot (support/setup-curl.sh), which is required by libminichieves.
COPY support .
RUN ./setup-toolchain.sh
RUN cat setup-env.sh >> .bashrc
RUN ./setup-sqlite.sh
RUN ./setup-gtest.sh
+ RUN ./setup-curl.sh
VOLUME /root/workspacesetup-curl.sh cross-compiles curl 7.64.0 for arm-linux-gnueabihf and installs it into the toolchain sysroot:
#!/bin/sh
progdir=`cd -- "$(dirname "$0")" >/dev/null 2>&1; pwd -P`
. "$progdir/setup-env.sh"
SYSROOT=/opt/miyoomini-toolchain/arm-linux-gnueabihf/libc
wget https://curl.se/download/curl-7.64.0.tar.gz
tar xzf curl-7.64.0.tar.gz
cd curl-7.64.0/
./configure \
--host=arm-linux-gnueabihf \
--prefix=$SYSROOT/usr \
CC=$(echo $CROSS_COMPILE)gcc \
CFLAGS="--sysroot=$SYSROOT" \
LDFLAGS="--sysroot=$SYSROOT" \
--with-ssl \
--without-rtmp \
--without-libssh2 \
--without-ldap \
--without-nghttp2 \
--without-libpsl \
--without-libidn2 \
--without-gssapi
make
make install

