pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/gearboy gearboy: update to 3.4.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3615a3752109
branches:  trunk
changeset: 457382:3615a3752109
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue Aug 24 13:27:26 2021 +0000

description:
gearboy: update to 3.4.0

    All platforms:
        GBA mode.
        Bootrom support.
        Many performance improvements.
        Several bug fixes.
    Windows , Linux and Mac (desktop):
        Fullscreen.
        Multi-line cheat input to add multiple cheats in batch.
        BSD support.
        5 custom palettes.
        Debugger: go-to address, double click in jumps, back, memory breakpoints.
    RetroArch (libretro):
        Apple TV
        macOS ARM
        OpenDingux

diffstat:

 emulators/gearboy/Makefile                                               |  11 +--
 emulators/gearboy/Makefile.common                                        |   4 +-
 emulators/gearboy/distinfo                                               |  12 +-
 emulators/gearboy/patches/patch-platforms_desktop-shared_Makefile.common |  40 +--------
 4 files changed, 18 insertions(+), 49 deletions(-)

diffs (127 lines):

diff -r 303fc2b3edfd -r 3615a3752109 emulators/gearboy/Makefile
--- a/emulators/gearboy/Makefile        Tue Aug 24 12:59:25 2021 +0000
+++ b/emulators/gearboy/Makefile        Tue Aug 24 13:27:26 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2021/07/04 07:47:20 nia Exp $
+# $NetBSD: Makefile,v 1.5 2021/08/24 13:27:26 nia Exp $
 
 .include "Makefile.common"
 
@@ -11,19 +11,14 @@
 
 USE_TOOLS+=    gmake
 
-BUILD_DIRS=    platforms/linux
+# Same as platform/linux.
+BUILD_DIRS=    platforms/bsd
 
 MAKE_FLAGS+=   CXX=${CXX}
 MAKE_FLAGS+=   GIT_VERSION="pkgsrc"
 
 .include "../../mk/bsd.prefs.mk"
 
-.if ${OPSYS} != "Darwin"
-MAKE_FLAGS+=   UNAME_S="Linux"
-.else
-MAKE_FLAGS+=   UNAME_S="Darwin"
-.endif
-
 # alloca
 BUILDLINK_TRANSFORM+=  opt:-std=c++11:-std=gnu++11
 
diff -r 303fc2b3edfd -r 3615a3752109 emulators/gearboy/Makefile.common
--- a/emulators/gearboy/Makefile.common Tue Aug 24 12:59:25 2021 +0000
+++ b/emulators/gearboy/Makefile.common Tue Aug 24 13:27:26 2021 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile.common,v 1.3 2021/07/04 07:47:20 nia Exp $
+# $NetBSD: Makefile.common,v 1.4 2021/08/24 13:27:26 nia Exp $
 # used by emulators/gearboy/Makefile
 # used by emulators/libretro-gearboy/Makefile
 
-DISTNAME=      gearboy-3.3.0
+DISTNAME=      gearboy-3.4.0
 CATEGORIES=    emulators
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=drhelius/}
 GITHUB_PROJECT=        Gearboy
diff -r 303fc2b3edfd -r 3615a3752109 emulators/gearboy/distinfo
--- a/emulators/gearboy/distinfo        Tue Aug 24 12:59:25 2021 +0000
+++ b/emulators/gearboy/distinfo        Tue Aug 24 13:27:26 2021 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.2 2021/07/04 07:47:20 nia Exp $
+$NetBSD: distinfo,v 1.3 2021/08/24 13:27:26 nia Exp $
 
-SHA1 (gearboy-3.3.0.tar.gz) = 4c141b1e065b06f8fd3253ad25d788a647c099fd
-RMD160 (gearboy-3.3.0.tar.gz) = 0f450fd86daffeb05f8971b1a7631b6696c3a930
-SHA512 (gearboy-3.3.0.tar.gz) = daaee4d1e89d9645aceb19a3e646e4d2bcbb07829d0b62bc9a4e9465c66926e9ff725efb4341692caff4a9139db7b8480127ad7eb6a0895eeeb4ab29293e7480
-Size (gearboy-3.3.0.tar.gz) = 19934754 bytes
-SHA1 (patch-platforms_desktop-shared_Makefile.common) = 49386c76f76d31f91afd4fc0a4a0cd327f85006e
+SHA1 (gearboy-3.4.0.tar.gz) = 4fc35a6f494d02d4f5c6992ff9f0b8d8684ad5ad
+RMD160 (gearboy-3.4.0.tar.gz) = e15f38fa34c7f2b59888a4d943d89eff50310406
+SHA512 (gearboy-3.4.0.tar.gz) = c275562d34e5421a808c69c290b20f7643394ac80358e1e17ffd49bccf8cbd138a7df93e72e9d4f67cd304114eb04adc6eb9b08dd2b915b5edeb822b8edd5264
+Size (gearboy-3.4.0.tar.gz) = 19999510 bytes
+SHA1 (patch-platforms_desktop-shared_Makefile.common) = 8d4de456829580a133161b543126ddfc7aced193
diff -r 303fc2b3edfd -r 3615a3752109 emulators/gearboy/patches/patch-platforms_desktop-shared_Makefile.common
--- a/emulators/gearboy/patches/patch-platforms_desktop-shared_Makefile.common  Tue Aug 24 12:59:25 2021 +0000
+++ b/emulators/gearboy/patches/patch-platforms_desktop-shared_Makefile.common  Tue Aug 24 13:27:26 2021 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-platforms_desktop-shared_Makefile.common,v 1.2 2021/07/04 07:47:20 nia Exp $
+$NetBSD: patch-platforms_desktop-shared_Makefile.common,v 1.3 2021/08/24 13:27:26 nia Exp $
 
 Avoid overriding variables we want to pass through pkgsrc.
 
---- platforms/desktop-shared/Makefile.common.orig      2021-02-14 19:44:04.000000000 +0000
+--- platforms/desktop-shared/Makefile.common.orig      2021-08-13 21:15:08.000000000 +0000
 +++ platforms/desktop-shared/Makefile.common
 @@ -1,11 +1,5 @@
 -
@@ -11,7 +11,7 @@
 -
  EXE = gearboy
  
--GIT_VERSION := "$(shell git describe --abbrev=4 --dirty --always --tags)"
+-GIT_VERSION := "$(shell git describe --abbrev=7 --dirty --always --tags)"
 -
  EMULATOR_SRC=../../src
  EMULATOR_DESKTOP_SHARED_SRC=../desktop-shared
@@ -26,37 +26,11 @@
  
  DEBUG ?= 0
  ifeq ($(DEBUG), 1)
-     CXXFLAGS +=-DDEBUG -g3 -fsanitize=address
+-    CXXFLAGS +=-DDEBUG -g3
++    CXXFLAGS +=-DDEBUG
  else
--    CXXFLAGS +=-DNDEBUG -O3
+-    CXXFLAGS +=-DNDEBUG -O3 -flto
 +    CXXFLAGS +=-DNDEBUG
  endif
  
- LIBS =
-@@ -48,7 +42,7 @@ ifeq ($(UNAME_S), Linux) #LINUX
-       LIBS += -lGL -lGLEW -ldl `sdl2-config --libs`
- 
-       CXXFLAGS += `sdl2-config --cflags`
--      CFLAGS = $(CXXFLAGS)
-+      CFLAGS += $(CXXFLAGS)
- endif
- 
- ifeq ($(UNAME_S), Darwin) #APPLE
-@@ -58,7 +52,7 @@ ifeq ($(UNAME_S), Darwin) #APPLE
- 
-       CXXFLAGS += `sdl2-config --cflags`
-       CXXFLAGS += -I/usr/local/include -I/opt/local/include
--      CFLAGS = $(CXXFLAGS)
-+      CFLAGS += $(CXXFLAGS)
- endif
- 
- ifeq ($(findstring MINGW,$(UNAME_S)),MINGW)
-@@ -95,7 +89,7 @@ all: $(EXE)
-       @echo Build complete for $(ECHO_MESSAGE)
- 
- $(EXE): $(OBJS)
--      $(CXX) -o $@ $^ $(CXXFLAGS) $(LIBS)
-+      $(CXX) -o $@ $^ $(LDFLAGS) $(LIBS)
- 
- clean:
-       rm -f $(EXE) $(OBJS)
+ SANITIZE ?= 0



Home | Main Index | Thread Index | Old Index