Fix mupen64plus and nx for Win600 (maybe RG552 as well).

This commit is contained in:
fewtarius 2022-09-20 20:22:27 -04:00
parent a22cf2ca75
commit 4c4a2f335a
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A
3 changed files with 8 additions and 7 deletions

View file

@ -46,15 +46,17 @@ pre_configure_target() {
if [ ! "${OPENGL}" = "no" ]; then
PKG_DEPENDS_TARGET+=" ${OPENGL} glu libglvnd"
PKG_CONFIGURE_OPTS_TARGET+=" --enable-opengl"
PKG_CONFIGURE_OPTS_TARGET+=" --enable-opengl --enable-opengl1"
else
PKG_CONFIGURE_OPTS_TARGET+=" --disable-opengl"
fi
if [ "${OPENGLES_SUPPORT}" = yes ] && \
[ ! "${ARCH}" = "x86_64" ]; then
PKG_DEPENDS_TARGET+=" ${OPENGLES}"
PKG_CONFIGURE_OPTS_TARGET+=" --enable-opengles --enable-opengles3 --enable-opengles3_2 --enable-kms --disable-mali_fbdev"
PKG_CONFIGURE_OPTS_TARGET+=" --enable-opengles --enable-opengles3 --enable-opengles3_2 --enable-kms"
else
PKG_CONFIGURE_OPTS_TARGET+=" --disable-opengles --disable-opengles3 --disable-opengles3_2 --disable-kms --disable-mali_fbdev"
PKG_CONFIGURE_OPTS_TARGET+=" --disable-opengles --disable-opengles3 --disable-opengles3_2"
fi
if [ "${VULKAN_SUPPORT}" = "yes" ]

View file

@ -36,9 +36,6 @@ pre_configure_target() {
RG503|RG353P)
PKG_MAKE_OPTS_TARGET=" platform=RK3566"
;;
*)
export FORCE_GLES3=1
;;
esac
}

View file

@ -24,7 +24,6 @@ PKG_VERSION="ab8134ac90a567581df6de4fc427dd67bfad1b17"
PKG_SHA256="98e197cdcac64c0e08eda91a6d63b637c3f151066bede25766e62bc1a59552a0"
PKG_REV="1"
PKG_LICENSE="GPLv2"
PKG_ARCH="arm aarch64"
PKG_SITE="https://github.com/libretro/mupen64plus-libretro"
PKG_URL="${PKG_SITE}/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain nasm:host"
@ -65,6 +64,9 @@ pre_configure_target() {
CFLAGS="${CFLAGS} -DLINUX -DEGL_API_FB"
CPPFLAGS="${CPPFLAGS} -DLINUX -DEGL_API_FB"
;;
*)
PKG_MAKE_OPTS_TARGET="GLES=0 GLES3=0"
;;
esac
}