mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-22 02:16:19 +00:00
30 lines
1.1 KiB
Makefile
30 lines
1.1 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
PKG_NAME="libretro-bsnes-mercury-performance"
|
|
PKG_VERSION="fb9a41fe9bc230a07c4506cad3cbf21d3fa635b4"
|
|
PKG_SHA256="5217be2136f120f2ed2aa3bd5225c039c6e45d618b88ceed1f607d8e3b3d79b6"
|
|
PKG_ARCH="x86_64"
|
|
PKG_LICENSE="GPLv3"
|
|
PKG_SITE="https://github.com/libretro/bsnes-mercury"
|
|
PKG_URL="https://github.com/libretro/bsnes-mercury/archive/${PKG_VERSION}.tar.gz"
|
|
PKG_DEPENDS_TARGET="toolchain"
|
|
PKG_LONGDESC="Fork of bsnes with HLE DSP emulation restored."
|
|
PKG_TOOLCHAIN="make"
|
|
|
|
PKG_LIBNAME="bsnes_mercury_performance_libretro.so"
|
|
PKG_LIBPATH="${PKG_LIBNAME}"
|
|
PKG_LIBVAR="BSNES-MERCURY-PERFORMANCE_LIB"
|
|
|
|
PKG_MAKE_OPTS_TARGET="ui=target-libretro profile=performance"
|
|
|
|
pre_make_target() {
|
|
PKG_MAKE_OPTS_TARGET+=" compiler=${CXX}"
|
|
}
|
|
|
|
makeinstall_target() {
|
|
mkdir -p ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}
|
|
cp ${PKG_LIBPATH} ${SYSROOT_PREFIX}/usr/lib/${PKG_LIBNAME}
|
|
echo "set(${PKG_LIBVAR} ${SYSROOT_PREFIX}/usr/lib/${PKG_LIBNAME})" > ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}/${PKG_NAME}-config.cmake
|
|
}
|