libretro-mame2010: update to latest

This commit is contained in:
CvH 2018-09-20 15:19:28 +02:00
parent 00f47b95d2
commit 34094ab558
2 changed files with 18 additions and 21 deletions

View File

@ -2,16 +2,12 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv) # Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libretro-mame2010" PKG_NAME="libretro-mame2010"
PKG_VERSION="3a9d2ff" PKG_VERSION="70732f9137f6bb2bde4014746ea8bc613173dd1e"
PKG_SHA256="e60cad55518281516778b943723b6d1ae4a17b096124f108dd27520862175f5b" PKG_SHA256="36ab11541233c9a4240baf6f0a529d8d335dce23f25b66b950e18373fd8e65fb"
PKG_ARCH="any"
PKG_LICENSE="GPLv2" PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/mame2010-libretro" PKG_SITE="https://github.com/libretro/mame2010-libretro"
PKG_URL="https://github.com/libretro/mame2010-libretro/archive/$PKG_VERSION.tar.gz" PKG_URL="https://github.com/libretro/mame2010-libretro/archive/$PKG_VERSION.tar.gz"
PKG_SOURCE_DIR="mame2010-libretro-$PKG_VERSION*" PKG_DEPENDS_TARGET="toolchain"
PKG_DEPENDS_TARGET="toolchain kodi-platform"
PKG_SECTION="emulation"
PKG_SHORTDESC="Late 2010 version of MAME (0.139) for libretro"
PKG_LONGDESC="Late 2010 version of MAME (0.139) for libretro" PKG_LONGDESC="Late 2010 version of MAME (0.139) for libretro"
PKG_LIBNAME="mame2010_libretro.so" PKG_LIBNAME="mame2010_libretro.so"

View File

@ -1,7 +1,8 @@
diff -Naur a/Makefile b/Makefile diff --git a/Makefile b/Makefile
--- a/Makefile 2016-01-14 22:42:59.000000000 +0100 index deb8820..aa13d3b 100644
+++ b/Makefile 2016-01-18 11:50:36.918881873 +0100 --- a/Makefile
@@ -60,7 +60,7 @@ +++ b/Makefile
@@ -61,7 +61,7 @@ COBJFLAGS =
CPPONLYFLAGS = CPPONLYFLAGS =
# LDFLAGS are used generally; LDFLAGSEMULATOR are additional # LDFLAGS are used generally; LDFLAGSEMULATOR are additional
# flags only used when linking the core emulator # flags only used when linking the core emulator
@ -9,9 +10,9 @@ diff -Naur a/Makefile b/Makefile
+LDFLAGS ?= +LDFLAGS ?=
LDFLAGSEMULATOR = LDFLAGSEMULATOR =
# uncomment next line to build expat as part of MAME build GIT_VERSION ?= " $(shell git rev-parse --short HEAD || echo unknown)"
@@ -90,24 +90,22 @@ @@ -104,24 +104,22 @@ ifeq ($(VRENDER),opengl)
CCOMFLAGS += -DHAVE_GL CCOMFLAGS += -DHAVE_OPENGL
endif endif
-UNAME=$(shell uname -m) -UNAME=$(shell uname -m)
@ -40,7 +41,7 @@ diff -Naur a/Makefile b/Makefile
BIGENDIAN=1 BIGENDIAN=1
endif endif
@@ -124,14 +122,10 @@ @@ -143,14 +141,10 @@ ifeq ($(VRENDER),opengl)
LIBS += -lGL LIBS += -lGL
endif endif
LDFLAGS += $(SHARED) LDFLAGS += $(SHARED)
@ -59,7 +60,7 @@ diff -Naur a/Makefile b/Makefile
CCOMFLAGS += $(PLATCFLAGS) -ffast-math CCOMFLAGS += $(PLATCFLAGS) -ffast-math
LIBS += -lstdc++ -lpthread LIBS += -lstdc++ -lpthread
@@ -284,10 +278,13 @@ @@ -345,10 +339,13 @@ else ifneq (,$(findstring rpi,$(platform)))
# ARM # ARM
else ifneq (,$(findstring armv,$(platform))) else ifneq (,$(findstring armv,$(platform)))
@ -72,10 +73,10 @@ diff -Naur a/Makefile b/Makefile
fpic = -fPIC fpic = -fPIC
- CC = g++ - CC = g++
+ CC ?= g++ + CC ?= g++
ifneq (,$(findstring cortexa8,$(platform))) LDFLAGS += $(SHARED)
CFLAGS += -marm -mcpu=cortex-a8 ARM_ENABLED = 1
ASFLAGS += -mcpu=cortex-a8 X86_SH2DRC = 0
@@ -505,7 +502,7 @@ @@ -568,7 +565,7 @@ DEFS += -DFLAC__NO_DLL
# CFLAGS is defined based on C or C++ targets # CFLAGS is defined based on C or C++ targets
# (remember, expansion only happens when used, so doing it here is ok) # (remember, expansion only happens when used, so doing it here is ok)