distribution/packages/emulators/libretro/parallel-n64-lr/package.mk
fewtarius e01306a5a5
* Add multitap and 4 way play to SNES/Genesis netplay.
* Ensure audio is routed to client 2 for GameBoy netplay.
* Update emulators and cores.
* Update Linux kernel to 6.4.15 (AMD64).
2023-09-07 10:27:54 +00:00

37 lines
1 KiB
Makefile

# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2022-present BrooksyTech (https://github.com/brooksytech)
PKG_NAME="parallel-n64-lr"
PKG_VERSION="aadcb195565a661f6267b23236f4f0d15449c729"
PKG_ARCH="any"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/parallel-n64"
PKG_URL="${PKG_SITE}.git"
PKG_DEPENDS_TARGET="toolchain core-info"
PKG_SECTION="libretro"
PKG_SHORTDESC="Optimized/rewritten Nintendo 64 emulator made specifically for Libretro. Originally based on Mupen64 Plus."
PKG_TOOLCHAIN="make"
PKG_BUILD_FLAGS="-lto"
if [ ! "${OPENGL}" = "no" ]; then
PKG_DEPENDS_TARGET+=" ${OPENGL} glu libglvnd"
fi
if [ "${OPENGLES_SUPPORT}" = yes ]; then
PKG_DEPENDS_TARGET+=" ${OPENGLES}"
fi
case ${DEVICE} in
RK3*|S922X*)
PKG_MAKE_OPTS_TARGET=" platform=${DEVICE}"
;;
esac
makeinstall_target() {
mkdir -p ${INSTALL}/usr/lib/libretro
cp parallel_n64_libretro.so ${INSTALL}/usr/lib/libretro/
mkdir -p ${INSTALL}/usr/config/retroarch
cp -rf ${PKG_DIR}/config/* ${INSTALL}/usr/config/retroarch/
}