1
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-11-22 09:16:19 +00:00
Lakka-LibreELEC/packages/lakka/libretro_cores/mame2016/package.mk
Tomáš Kelemen (vudiq) 7e3d98df3c
libretro update (1.10.3)
- update RetroArch to 1.10.3
- remove RetroArch patches merged upstream
- update cores
- vice: remove buildfix patch
- fuse_libretro: add flags/define for bzip2 and dependency
- mame2010: add database
- mame2015: add database
- update databases/assets/shaders/joypads
2022-04-14 16:03:33 +02:00

35 lines
1.1 KiB
Makefile

PKG_NAME="mame2016"
PKG_VERSION="01058613a0109424c4e7211e49ed83ac950d3993"
#PKG_ARCH="x86_64 aarch64 arm"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/mame2016-libretro"
PKG_URL="${PKG_SITE}.git"
PKG_DEPENDS_TARGET="toolchain linux glibc alsa-lib"
PKG_LONGDESC="Late 2016 version of MAME (0.174) for libretro. Compatible with MAME 0.174 romsets."
PKG_TOOLCHAIN="manual"
make_target() {
if [ "${ARCH}" = "arm" ]; then
PKG_NOASM="1"
else
PKG_NOASM="0"
fi
if [ "${ARCH}" = "x86_64" ]; then
PKG_PTR64="1"
else
PKG_PTR64="0"
fi
make REGENIE=1 VERBOSE=1 NOWERROR=1 PYTHON_EXECUTABLE=python2 CONFIG=libretro \
LIBRETRO_OS="unix" ARCH="" PROJECT="" LIBRETRO_CPU="${ARCH}" DISTRO="debian-stable" \
CROSS_BUILD="1" OVERRIDE_CC="${CC}" OVERRIDE_CXX="${CXX}" \
PTR64="${PKG_PTR64}" NOASM="${PKG_NOASM}" TARGET="mame" \
SUBTARGET="arcade" PLATFORM="${ARCH}" RETRO=1 OSD="retro" GIT_VERSION=${PKG_VERSION}
}
makeinstall_target() {
mkdir -p ${INSTALL}/usr/lib/libretro
cp -v mamearcade2016_libretro.so ${INSTALL}/usr/lib/libretro/mame2016_libretro.so
}