0180be062e
* Update Linux kernel to 6.4.16 (AMD64). * Update emulators and cores. * Revert removal of ES audio path from post-update.
34 lines
1.2 KiB
Makefile
34 lines
1.2 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
# Copyright (C) 2019-present Shanti Gilbert (https://github.com/shantigilbert)
|
|
# Maintenance 2020 351ELEC team (https://github.com/fewtarius/351ELEC)
|
|
# Copyright (C) 2023-present Fewtarius
|
|
|
|
PKG_NAME="fbneo-lr"
|
|
PKG_VERSION="27c48e4c93dc92a308986b8e0d848001cbabab48"
|
|
PKG_REV="1"
|
|
PKG_ARCH="any"
|
|
PKG_LICENSE="Non-commercial"
|
|
PKG_SITE="https://github.com/libretro/FBNeo"
|
|
PKG_URL="${PKG_SITE}/archive/${PKG_VERSION}.tar.gz"
|
|
PKG_DEPENDS_TARGET="toolchain"
|
|
PKG_SECTION="libretro"
|
|
PKG_SHORTDESC="Port of Final Burn Neo to Libretro (v0.2.97.38)."
|
|
PKG_LONGDESC="Currently, FB neo supports games on Capcom CPS-1 and CPS-2 hardware, SNK Neo-Geo hardware, Toaplan hardware, Cave hardware, and various games on miscellaneous hardware. "
|
|
PKG_TOOLCHAIN="make"
|
|
|
|
|
|
pre_configure_target() {
|
|
sed -i "s|LDFLAGS += -static-libgcc -static-libstdc++|LDFLAGS += -static-libgcc|" ./src/burner/libretro/Makefile
|
|
|
|
PKG_MAKE_OPTS_TARGET=" -C ./src/burner/libretro USE_CYCLONE=0 profile=performance"
|
|
|
|
if [[ "${TARGET_FPU}" =~ "neon" ]]; then
|
|
PKG_MAKE_OPTS_TARGET+=" HAVE_NEON=1"
|
|
fi
|
|
|
|
}
|
|
|
|
makeinstall_target() {
|
|
mkdir -p ${INSTALL}/usr/lib/libretro
|
|
cp ${PKG_BUILD}/src/burner/libretro/fbneo_libretro.so ${INSTALL}/usr/lib/libretro/
|
|
}
|