2022-02-05 14:23:32 +00:00
# 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)
PKG_NAME = "fbneo"
2022-09-10 17:09:00 +00:00
PKG_VERSION = "23b56b5e3e11132e3a3168345c04314c623e0d3a"
PKG_SHA256 = "fc3b6f2f9be0bc19d6e65b9ce5bec7ead019f8fb3d45a24e788311a4b2544db1"
2022-02-05 14:23:32 +00:00
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"
p r e _ c o n f i g u r e _ t a r g e t ( ) {
s e d - i "s|LDFLAGS += -static-libgcc -static-libstdc++|LDFLAGS += -static-libgcc|" . / s r c / b u r n e r / l i b r e t r o / M a k e f i l e
PKG_MAKE_OPTS_TARGET = " -C ./src/burner/libretro USE_CYCLONE=0 profile=performance"
i f [ [ "$TARGET_FPU" = ~ "neon" ] ] ; t h e n
PKG_MAKE_OPTS_TARGET += " HAVE_NEON=1"
f i
}
m a k e i n s t a l l _ t a r g e t ( ) {
mkdir -p $INSTALL /usr/lib/libretro
cp $PKG_BUILD /src/burner/libretro/fbneo_libretro.so $INSTALL /usr/lib/libretro/
}