Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/libretro-beetle-sgx libretro-beetle-sgx: Upd...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d61dcaf69e68
branches:  trunk
changeset: 433111:d61dcaf69e68
user:      nia <nia%pkgsrc.org@localhost>
date:      Sun May 31 08:44:57 2020 +0000

description:
libretro-beetle-sgx: Update to 20200520

Brad Parker (1):
      initial cdrom support

Rob Loach (1):
      Update core options API

fpscan (1):
      Turkish language option

negativeExponent (20):
      Update core files to 1.23
      Sync blip and psg sound
      Update libretro-common files
      Update libretro.cpp
      Fix runahead for arcade card games
      Allow access to available RAM using retro_memory_map
      Bump version to 1.23.0
      Change core prefix name to Beetle
      Implement environment callback RETRO_ENVIRONMENT_GET_INPUT_BITMASKS
      Input improvements and sync misc items
      Cleanup Makefile
      Update Makefile
      Simplify update_input()
      Add core option to allow automatic detection of Games Express CD games
      Cut down on unneeded logging when no related option has been changed
      input: Tweaks and bug fix for turbo
      Create README.md
      Update .travis.yml
      Remove audio/video stats report - frontend already has stats collection
      Move 2/6 button mode toggle to frontend - Fixes the issue where toggling does not retain 6-button modes Reference https://github.com/libretro/beetle-pce-fast-libretro/issues/148

retro-wertz (9):
      Remove unneeded references to basename and save_directory
      Fix softreset and allow_up_down options
      Cleanup - Remove header mednafen/huc.h - Remove unused function IsBRAMUsed() - Cleanup MDFNI_LoadGame()
      Update libretro.cpp
      Silence this log when not running CDROM game
      Remove unnecessary comment from makefile
      fix wrong operator, this should be "="
      Use fixed values for PAR modes
      stop travis building for wiiu for now

diffstat:

 emulators/libretro-beetle-sgx/Makefile                      |  33 +----
 emulators/libretro-beetle-sgx/distinfo                      |  11 +-
 emulators/libretro-beetle-sgx/patches/patch-Makefile.common |  75 +++++++++++++
 3 files changed, 89 insertions(+), 30 deletions(-)

diffs (147 lines):

diff -r 5e17c0034e7a -r d61dcaf69e68 emulators/libretro-beetle-sgx/Makefile
--- a/emulators/libretro-beetle-sgx/Makefile    Sun May 31 08:29:45 2020 +0000
+++ b/emulators/libretro-beetle-sgx/Makefile    Sun May 31 08:44:57 2020 +0000
@@ -1,40 +1,23 @@
-# $NetBSD: Makefile,v 1.3 2020/05/26 09:45:12 nia Exp $
+# $NetBSD: Makefile,v 1.4 2020/05/31 08:44:57 nia Exp $
 
-DISTNAME=      libretro-beetle-sgx-20180512
+DISTNAME=      libretro-beetle-sgx-20200520
 CATEGORIES=    emulators
-MASTER_SITES=  ${MASTER_SITE_GITHUB:=libretro/}
 GITHUB_PROJECT=        beetle-supergrafx-libretro
-GITHUB_TAG=    0d4d96428073f8734e80a2ebc157daa228babe51
+GITHUB_TAG=    49c87096495438021a32c1bd1abd59b6a8b61ce9
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://docs.libretro.com/library/beetle_sgx/
 COMMENT=       Libretro core based on the Mednafen SuperGrafx emulator
 LICENSE=       gnu-gpl-v2
 
-USE_TOOLS+=    gmake
 USE_LANGUAGES= c c++
-
-OPSYSVARS+=    SOEXT
-SOEXT.Darwin=  dylib
-SOEXT.*=       so
-PLIST_SUBST+=  SOEXT=${SOEXT}
+LIBRETRO_CORE= mednafen_supergrafx
 
-MAKE_FLAGS+=   GIT_VERSION="-pkgsrc"
-
-.include "../../mk/endian.mk"
-
-.if ${MACHINE_ENDIAN} == "big"
-CFLAGS+=       -DMSB_FIRST
-CFLAGS+=       -DBYTE_ORDER=BIG_ENDIAN
-.endif
+LDFLAGS+=      -lz -lFLAC
 
 BUILDLINK_TRANSFORM.SunOS+=    rm:-Wl,--version-script=link.T
-BUILDLINK_TRANSFORM.SunOS+=    rm:-Wl,--no-undefined
 
-INSTALLATION_DIRS+=    ${PREFIX}/lib/libretro
-
-do-install:
-       ${INSTALL_LIB} ${WRKSRC}/mednafen_supergrafx_libretro.so \
-           ${DESTDIR}${PREFIX}/lib/libretro/mednafen_supergrafx_libretro.so
-
+.include "../../emulators/retroarch/core.mk"
+.include "../../audio/flac/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 5e17c0034e7a -r d61dcaf69e68 emulators/libretro-beetle-sgx/distinfo
--- a/emulators/libretro-beetle-sgx/distinfo    Sun May 31 08:29:45 2020 +0000
+++ b/emulators/libretro-beetle-sgx/distinfo    Sun May 31 08:44:57 2020 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1 2018/08/13 00:54:25 nia Exp $
+$NetBSD: distinfo,v 1.2 2020/05/31 08:44:57 nia Exp $
 
-SHA1 (libretro-beetle-sgx-20180512-0d4d96428073f8734e80a2ebc157daa228babe51.tar.gz) = c0426ecdbeddda70b49e2a5dabe52b5931d60b0c
-RMD160 (libretro-beetle-sgx-20180512-0d4d96428073f8734e80a2ebc157daa228babe51.tar.gz) = f1fa8282647e97d692a419d866ed483cba007031
-SHA512 (libretro-beetle-sgx-20180512-0d4d96428073f8734e80a2ebc157daa228babe51.tar.gz) = 
6c8860b102c678b70f4eb41dc177b10a0db2e0ff59ef4168f35ab7c5b2c42258ef588925f89cdd970a2b1498731f9baa7790c0bf3368fb93db9a8d66deb9e757
-Size (libretro-beetle-sgx-20180512-0d4d96428073f8734e80a2ebc157daa228babe51.tar.gz) = 1140484 bytes
+SHA1 (libretro-beetle-sgx-20200520-49c87096495438021a32c1bd1abd59b6a8b61ce9.tar.gz) = a21144c6cc212c33ca0b426018e87d4c265b4a44
+RMD160 (libretro-beetle-sgx-20200520-49c87096495438021a32c1bd1abd59b6a8b61ce9.tar.gz) = f5b3e99228505fd46858b79a51f4d1d78c8dc26c
+SHA512 (libretro-beetle-sgx-20200520-49c87096495438021a32c1bd1abd59b6a8b61ce9.tar.gz) = 
a4da47734816587f65b86c90ceda6bb14ef46c368c35606f3763dbc1acb7285a0277713ea077ca60699cf92da59ba85a945af3e236a0059fad46adacb40cb111
+Size (libretro-beetle-sgx-20200520-49c87096495438021a32c1bd1abd59b6a8b61ce9.tar.gz) = 1185070 bytes
+SHA1 (patch-Makefile.common) = 2ef30ca86f463f48dde39147d5ff94ab550b3b92
diff -r 5e17c0034e7a -r d61dcaf69e68 emulators/libretro-beetle-sgx/patches/patch-Makefile.common
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/libretro-beetle-sgx/patches/patch-Makefile.common       Sun May 31 08:44:57 2020 +0000
@@ -0,0 +1,75 @@
+$NetBSD: patch-Makefile.common,v 1.1 2020/05/31 08:44:58 nia Exp $
+
+Don't vendor libflac/zlib
+
+--- Makefile.common.orig       2020-05-20 02:23:18.000000000 +0000
++++ Makefile.common
+@@ -7,7 +7,7 @@ MEDNAFEN_DIR := $(CORE_DIR)/mednafen
+ CORE_EMU_DIR := $(MEDNAFEN_DIR)/pce_fast
+ CDROM_DIR         := $(MEDNAFEN_DIR)/cdrom
+ 
+-INCFLAGS := -I$(CORE_DIR) -I$(MEDNAFEN_DIR) -I$(MEDNAFEN_DIR)/include -I$(MEDNAFEN_DIR)/intl -I$(MEDNAFEN_DIR)/hw_sound -I$(MEDNAFEN_DIR)/hw_cpu -I$(MEDNAFEN_DIR)/hw_misc 
-I$(LIBRETRO_COMM_DIR)/include -I$(DEPS_DIR)/zlib
++INCFLAGS := -I$(CORE_DIR) -I$(MEDNAFEN_DIR) -I$(MEDNAFEN_DIR)/include -I$(MEDNAFEN_DIR)/intl -I$(MEDNAFEN_DIR)/hw_sound -I$(MEDNAFEN_DIR)/hw_cpu -I$(MEDNAFEN_DIR)/hw_misc 
-I$(LIBRETRO_COMM_DIR)/include
+ 
+ ifneq ($(HAVE_GRIFFIN),1)
+    SOURCES_CXX += \
+@@ -96,7 +96,7 @@ endif
+ 
+ ifeq ($(HAVE_CHD), 1)
+    FLAGS += -DHAVE_CHD -D_7ZIP_ST -DPACKAGE_VERSION=\"1.3.2\" -DFLAC_API_EXPORTS -DFLAC__HAS_OGG=0 -DHAVE_LROUND -DHAVE_STDINT_H -DHAVE_STDLIB_H -DHAVE_SYS_PARAM_H
+-   INCFLAGS += -I$(DEPS_DIR)/crypto -I$(DEPS_DIR)/flac-1.3.2/include -I$(DEPS_DIR)/flac-1.3.2/src/libFLAC/include -I$(DEPS_DIR)/lzma-16.04/C -I$(DEPS_DIR)/libchdr
++   INCFLAGS += -I$(DEPS_DIR)/crypto -I$(DEPS_DIR)/lzma-16.04/C -I$(DEPS_DIR)/libchdr
+ 
+    ifeq ($(platform), win)
+        FLAGS += -DHAVE_FSEEKO
+@@ -105,23 +105,6 @@ ifeq ($(HAVE_CHD), 1)
+    # crc32 included in zlib, don't generate duplicate symbol
+    NEED_CRC32 = 0
+ 
+-ifneq ($(STATIC_LINKING), 1)
+-SOURCES_C += $(DEPS_DIR)/zlib/adler32.c \
+-                               $(DEPS_DIR)/zlib/compress.c \
+-                               $(DEPS_DIR)/zlib/crc32.c \
+-                               $(DEPS_DIR)/zlib/deflate.c \
+-                               $(DEPS_DIR)/zlib/gzclose.c \
+-                               $(DEPS_DIR)/zlib/gzlib.c \
+-                               $(DEPS_DIR)/zlib/gzread.c \
+-                               $(DEPS_DIR)/zlib/gzwrite.c \
+-                               $(DEPS_DIR)/zlib/inffast.c \
+-                               $(DEPS_DIR)/zlib/inflate.c \
+-                               $(DEPS_DIR)/zlib/inftrees.c \
+-                               $(DEPS_DIR)/zlib/trees.c \
+-                               $(DEPS_DIR)/zlib/uncompr.c \
+-                               $(DEPS_DIR)/zlib/zutil.c
+-endif
+-
+ ifeq ($(WINDOWS_VERSION), 1)
+       SOURCES_C += \
+                                        $(DEPS_DIR)/flac-1.3.2/src/libFLAC/windows_unicode_filenames.c
+@@ -130,26 +113,6 @@ endif
+    SOURCES_C += \
+         $(DEPS_DIR)/crypto/md5.c \
+         $(DEPS_DIR)/crypto/sha1.c \
+-        $(DEPS_DIR)/flac-1.3.2/src/libFLAC/bitmath.c \
+-        $(DEPS_DIR)/flac-1.3.2/src/libFLAC/bitreader.c \
+-        $(DEPS_DIR)/flac-1.3.2/src/libFLAC/cpu.c \
+-        $(DEPS_DIR)/flac-1.3.2/src/libFLAC/crc.c \
+-        $(DEPS_DIR)/flac-1.3.2/src/libFLAC/fixed.c \
+-        $(DEPS_DIR)/flac-1.3.2/src/libFLAC/fixed_intrin_sse2.c \
+-        $(DEPS_DIR)/flac-1.3.2/src/libFLAC/fixed_intrin_ssse3.c \
+-        $(DEPS_DIR)/flac-1.3.2/src/libFLAC/float.c \
+-        $(DEPS_DIR)/flac-1.3.2/src/libFLAC/format.c \
+-        $(DEPS_DIR)/flac-1.3.2/src/libFLAC/lpc.c \
+-        $(DEPS_DIR)/flac-1.3.2/src/libFLAC/lpc_intrin_avx2.c \
+-        $(DEPS_DIR)/flac-1.3.2/src/libFLAC/lpc_intrin_sse2.c \
+-        $(DEPS_DIR)/flac-1.3.2/src/libFLAC/lpc_intrin_sse41.c \
+-        $(DEPS_DIR)/flac-1.3.2/src/libFLAC/lpc_intrin_sse.c \
+-        $(DEPS_DIR)/flac-1.3.2/src/libFLAC/md5.c \
+-        $(DEPS_DIR)/flac-1.3.2/src/libFLAC/memory.c \
+-        $(DEPS_DIR)/flac-1.3.2/src/libFLAC/metadata_iterators.c \
+-        $(DEPS_DIR)/flac-1.3.2/src/libFLAC/metadata_object.c \
+-        $(DEPS_DIR)/flac-1.3.2/src/libFLAC/stream_decoder.c \
+-        $(DEPS_DIR)/flac-1.3.2/src/libFLAC/window.c \
+         $(DEPS_DIR)/lzma-16.04/C/Alloc.c \
+         $(DEPS_DIR)/lzma-16.04/C/Bra86.c \
+         $(DEPS_DIR)/lzma-16.04/C/Bra.c \



Home | Main Index | Thread Index | Old Index