984ad9d91d
* Correct a bug in our X-Box 360 Retroarch gamepad configuration file. * Add mame to Game and Watch + enable on all devices (another docs update to follow). * Enable EMMC on Powkiddy x55 to allow JELOS to be installed to it.
32 lines
840 B
Makefile
32 lines
840 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# Copyright (C) 2022-present JELOS (https://github.com/JustEnoughLinuxOS)
|
|
|
|
PKG_NAME="bsnes-lr"
|
|
PKG_VERSION="5f0bafa9e517d132d964e8e267316283ccd3cce0"
|
|
PKG_LICENSE="GPLv2"
|
|
PKG_SITE="https://github.com/libretro/bsnes-libretro"
|
|
PKG_URL="${PKG_SITE}/archive/${PKG_VERSION}.tar.gz"
|
|
PKG_DEPENDS_TARGET="toolchain"
|
|
PKG_SECTION="libretro"
|
|
PKG_SHORTDESC="BSNES Super Nintendo Libretro Core"
|
|
PKG_IS_ADDON="no"
|
|
PKG_TOOLCHAIN="make"
|
|
PKG_AUTORECONF="no"
|
|
|
|
if [ ! "${OPENGL}" = "no" ]; then
|
|
PKG_DEPENDS_TARGET+=" ${OPENGL} glu libglvnd"
|
|
fi
|
|
|
|
if [ "${OPENGLES_SUPPORT}" = yes ]; then
|
|
PKG_DEPENDS_TARGET+=" ${OPENGLES}"
|
|
fi
|
|
|
|
pre_configure_target() {
|
|
sed -i 's/\-O[23]/-Ofast/' ${PKG_BUILD}/Makefile
|
|
}
|
|
|
|
makeinstall_target() {
|
|
mkdir -p ${INSTALL}/usr/lib/libretro
|
|
cp bsnes_libretro.so ${INSTALL}/usr/lib/libretro/
|
|
}
|
|
|