libgme: fix mips* build

This commit is contained in:
Jürgen Buchmüller 2020-09-20 23:41:07 +02:00
parent dc2a1eefd2
commit 96b35b92a4
1 changed files with 7 additions and 0 deletions

View File

@ -13,6 +13,13 @@ homepage="https://bitbucket.org/mpyne/game-music-emu/wiki/Home"
distfiles="https://bitbucket.org/mpyne/game-music-emu/downloads/game-music-emu-${version}.tar.xz"
checksum=aba34e53ef0ec6a34b58b84e28bf8cfbccee6585cebca25333604c35db3e051d
if [ "$XBPS_TARGET_ENDIAN" = "be" ]; then
CXXFLAGS="-DMSB_FIRST=1"
fi
if [ "$XBPS_TARGET_ENDIAN" = "le" ]; then
CXXFLAGS="-DLSB_FIRST=1"
fi
libgme-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"