pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/libretro-reicast libretro-reicast: Update to...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/181e737a18a1
branches:  trunk
changeset: 327027:181e737a18a1
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue Dec 18 01:55:45 2018 +0000

description:
libretro-reicast: Update to 20181213

Changes:

* Use u32 for vertex indices to avoid overflow. Fix ggx15 coin chute issue
* Naomi: allow mapping P2 buttons onto P1. Fix coin chute issues.
* Clip high z vertices. Fixes bogus triangles in Soul Calibur intro and NHL 2K2 missing menu
* Unlock the emu thread if waiting for frame finish when loading state
* Use xxhash for palette hashing. extra depth scale for NHL 2K2
* Skip rendering is TA context is overrun. Fixes strip mode crash in FOTNS
* ARM dynarec: do a block check on the entire block.  Fixes Grandia II freezing on Now Loading... screen
* Backport Synchronous rendering option from upstream
* Fix some regions & add some missing keys
* Fix regions for Guilty Gear games
* Naomi: 7z archive and split/parent roms support
* rec-x64: don't reset the cycle counter for better scheduling
* Fix compile fail from math with conflicting types
* Naomi: fixes for vathlete, csmash, hotd2 and more
* Restrict regions for naomi games
* Add All GD Roms - Flyinghead FTW
* Naomi: GD-ROM support
* Naomi: improved JVS configuration. Ninja Assault
* Mushiking and Derby Additions/Fixes
* Fixes for wldkicks and wldkicksu
* Naomi/AW: Leverage libretro input descriptors to list and name each game's inputs
* Child and clone roms support for M1, M2/M3 and AW
* Naomi: allow bios selection with region core option
* Various fixes
* Parent rom support for M1, M2, M4 and AW
* Naomi/AW: avoid opposite DPad keys being pressed simultaneously
* AtomisWave roms support
* Naomi: support for M1 and M4 carts. BIOS version H supported.
* Naomi: add dual I/O boards / 4-player setup for Ring Out 4x4
* Naomi: M2 mame rom support
* CHD: swap bytes of CHDv5+ audio tracks
* Added 4:3 resolution for 4K screens
* CHD v5 and misc fixes
* Adding the 4:3 resolution of 1440x1080
* Maple: non-gamepad controls were ignored. Shikigami No Shiro II fix.
* Better rumble support. Fix rumble staying on all the time.

diffstat:

 emulators/libretro-reicast/Makefile               |   7 ++-
 emulators/libretro-reicast/distinfo               |  12 +++---
 emulators/libretro-reicast/patches/patch-Makefile |  38 ++++++++++++++++------
 3 files changed, 38 insertions(+), 19 deletions(-)

diffs (125 lines):

diff -r e0efdda4c9b7 -r 181e737a18a1 emulators/libretro-reicast/Makefile
--- a/emulators/libretro-reicast/Makefile       Tue Dec 18 00:57:05 2018 +0000
+++ b/emulators/libretro-reicast/Makefile       Tue Dec 18 01:55:45 2018 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.2 2018/10/28 13:21:10 nia Exp $
+# $NetBSD: Makefile,v 1.3 2018/12/18 01:55:45 nia Exp $
 
-DISTNAME=      libretro-reicast-20181026
+DISTNAME=      libretro-reicast-20181213
 CATEGORIES=    emulators
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=libretro/}
 GITHUB_PROJECT=        reicast-emulator
-GITHUB_TAG=    dfe8d3cf5185aa345d529d66783ef606e680c9cb
+GITHUB_TAG=    37da602d6421b755ae045171d17c8d4328c7dcc0
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://docs.libretro.com/library/reicast/
@@ -15,6 +15,7 @@
 USE_TOOLS+=    gmake
 USE_LANGUAGES= c c++11
 
+MAKE_FLAGS+=           platform=unix
 MAKE_FLAGS+=           HAVE_OPENMP=0
 MAKE_FLAGS+=           HAVE_LTCG=0
 MAKE_FLAGS+=           SINGLE_PREC_FLAGS=1
diff -r e0efdda4c9b7 -r 181e737a18a1 emulators/libretro-reicast/distinfo
--- a/emulators/libretro-reicast/distinfo       Tue Dec 18 00:57:05 2018 +0000
+++ b/emulators/libretro-reicast/distinfo       Tue Dec 18 01:55:45 2018 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.2 2018/10/28 13:21:10 nia Exp $
+$NetBSD: distinfo,v 1.3 2018/12/18 01:55:45 nia Exp $
 
-SHA1 (libretro-reicast-20181026-dfe8d3cf5185aa345d529d66783ef606e680c9cb.tar.gz) = b9e2c099638855c4738d6725b87438ca1671f5a1
-RMD160 (libretro-reicast-20181026-dfe8d3cf5185aa345d529d66783ef606e680c9cb.tar.gz) = faa8e01b655faa03cd3a53b88754e099e97ff35c
-SHA512 (libretro-reicast-20181026-dfe8d3cf5185aa345d529d66783ef606e680c9cb.tar.gz) = 
b4ac32a3f421741ab26cfee0531ad6a9fee0c635b2753b52e95a522d80670394bc1ab98e7a2885d087001c4fff86f6f54bddc3465c87891d5e1c6d41d9dc6b88
-Size (libretro-reicast-20181026-dfe8d3cf5185aa345d529d66783ef606e680c9cb.tar.gz) = 1579191 bytes
-SHA1 (patch-Makefile) = 9839c2bc70a73fa5f9ef3907d74593f78c01380a
+SHA1 (libretro-reicast-20181213-37da602d6421b755ae045171d17c8d4328c7dcc0.tar.gz) = 11c0d610488a87814fcb7a59e4ae4347440b0827
+RMD160 (libretro-reicast-20181213-37da602d6421b755ae045171d17c8d4328c7dcc0.tar.gz) = 2ef8f80839889d10f090608229b124a250b20648
+SHA512 (libretro-reicast-20181213-37da602d6421b755ae045171d17c8d4328c7dcc0.tar.gz) = 
728903337670c6c76406744c154595859a34b4f0b80b75bd78a8a187684202055b42f4db048f49f91f0acd8d2a9c30489646afd17b89e6108075befc5bd63ac6
+Size (libretro-reicast-20181213-37da602d6421b755ae045171d17c8d4328c7dcc0.tar.gz) = 1696941 bytes
+SHA1 (patch-Makefile) = 019d6902baa03e4cd0b1a6a80ca75e6ace3a1715
 SHA1 (patch-core_hw_sh4_dyna_driver.cpp) = 6d00a7297f528fe3389a13872095da80200a9013
 SHA1 (patch-core_libretro_common.cpp) = b1291f55ced1dc92087d31270f8bc582c2db6fc5
diff -r e0efdda4c9b7 -r 181e737a18a1 emulators/libretro-reicast/patches/patch-Makefile
--- a/emulators/libretro-reicast/patches/patch-Makefile Tue Dec 18 00:57:05 2018 +0000
+++ b/emulators/libretro-reicast/patches/patch-Makefile Tue Dec 18 01:55:45 2018 +0000
@@ -1,12 +1,12 @@
-$NetBSD: patch-Makefile,v 1.1 2018/10/13 17:02:17 nia Exp $
+$NetBSD: patch-Makefile,v 1.2 2018/12/18 01:55:45 nia Exp $
 
 Don't override pkgsrc-set variables.
 
 Don't make assumptions based on uname.
 
---- Makefile.orig      2018-10-12 17:39:34.000000000 +0000
+--- Makefile.orig      2018-12-13 14:07:07.000000000 +0000
 +++ Makefile
-@@ -20,19 +20,6 @@ HAVE_CHD      := 1
+@@ -20,41 +20,12 @@ HAVE_CHD      := 1
  
  TARGET_NAME   := reicast
  
@@ -23,11 +23,13 @@
 -CFLAGS   := 
 -CXXFLAGS :=
 -
- GIT_VERSION := " $(shell git rev-parse --short HEAD || echo unknown)"
+-GIT_VERSION := " $(shell git rev-parse --short HEAD || echo unknown)"
  ifneq ($(GIT_VERSION)," unknown")
        CXXFLAGS += -DGIT_VERSION=\"$(GIT_VERSION)\"
-@@ -42,15 +29,6 @@ UNAME=$(shell uname -a)
+ endif
  
+-UNAME=$(shell uname -a)
+-
  LIBRETRO_DIR := .
  
 -# Cross compile ?
@@ -39,10 +41,25 @@
 -# Target Dynarec
 -WITH_DYNAREC = $(ARCH)
 -
- ifeq ($(ARCH), $(filter $(ARCH), i386 i686))
-       WITH_DYNAREC = x86
- endif
-@@ -635,7 +613,7 @@ RZDCY_CXXFLAGS += $(CORE_DEFINES)
+-ifeq ($(ARCH), $(filter $(ARCH), i386 i686))
+-      WITH_DYNAREC = x86
+-endif
+-
+ ifeq ($(platform),)
+       platform = unix
+       ifeq ($(UNAME),)
+@@ -631,10 +602,6 @@ endif
+ 
+ RZDCY_CXXFLAGS := $(RZDCY_CFLAGS) -fexceptions -fno-rtti -std=gnu++11
+ 
+-ifeq (,$(findstring msvc,$(platform)))
+-      CORE_DEFINES   += -funroll-loops
+-endif
+-
+ ifeq ($(HAVE_OIT), 1)
+       HAVE_CORE = 1
+       CORE_DEFINES += -DHAVE_OIT -DHAVE_GL4
+@@ -695,7 +662,7 @@ RZDCY_CXXFLAGS += $(CORE_DEFINES)
  CFLAGS         += $(CORE_DEFINES)
  CXXFLAGS       += $(CORE_DEFINES)
  
@@ -51,13 +68,14 @@
  CFLAGS   += -fno-strict-aliasing -ffast-math
  CXXFLAGS += -fno-rtti -fpermissive -fno-operator-names
  LIBS     += -lm 
-@@ -682,14 +660,14 @@ $(TARGET): $(OBJECTS)
+@@ -743,15 +710,15 @@ $(TARGET): $(OBJECTS)
  ifeq ($(STATIC_LINKING), 1)
        $(AR) rcs $@ $(OBJECTS)
  else
 -      $(LD) $(MFLAGS) $(fpic) $(SHARED) $(LDFLAGS) $(OBJECTS) $(LDFLAGS_END) $(GL_LIB) $(LIBS) -o $@
 +      $(LD) $(fpic) $(SHARED) $(LDFLAGS) $(OBJECTS) $(LDFLAGS_END) $(GL_LIB) $(LIBS) -o $@
  endif
+       @echo "** BUILD SUCCESSFUL! GG NO RE **"
  
  %.o: %.cpp
 -      $(CXX) $(INCFLAGS) $(CFLAGS) $(MFLAGS) $(CXXFLAGS) $< -o $@



Home | Main Index | Thread Index | Old Index