pkgsrc-Changes archive

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

CVS commit: pkgsrc/emulators/libretro-beetle-sgx



Module Name:    pkgsrc
Committed By:   nia
Date:           Sun May 31 08:44:58 UTC 2020

Modified Files:
        pkgsrc/emulators/libretro-beetle-sgx: Makefile distinfo
Added Files:
        pkgsrc/emulators/libretro-beetle-sgx/patches: patch-Makefile.common

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/emulators/libretro-beetle-sgx/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/emulators/libretro-beetle-sgx/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/emulators/libretro-beetle-sgx/patches/patch-Makefile.common

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/emulators/libretro-beetle-sgx/Makefile
diff -u pkgsrc/emulators/libretro-beetle-sgx/Makefile:1.3 pkgsrc/emulators/libretro-beetle-sgx/Makefile:1.4
--- pkgsrc/emulators/libretro-beetle-sgx/Makefile:1.3   Tue May 26 09:45:12 2020
+++ pkgsrc/emulators/libretro-beetle-sgx/Makefile       Sun May 31 08:44:57 2020
@@ -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++
+LIBRETRO_CORE= mednafen_supergrafx
 
-OPSYSVARS+=    SOEXT
-SOEXT.Darwin=  dylib
-SOEXT.*=       so
-PLIST_SUBST+=  SOEXT=${SOEXT}
-
-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"

Index: pkgsrc/emulators/libretro-beetle-sgx/distinfo
diff -u pkgsrc/emulators/libretro-beetle-sgx/distinfo:1.1 pkgsrc/emulators/libretro-beetle-sgx/distinfo:1.2
--- pkgsrc/emulators/libretro-beetle-sgx/distinfo:1.1   Mon Aug 13 00:54:25 2018
+++ pkgsrc/emulators/libretro-beetle-sgx/distinfo       Sun May 31 08:44:57 2020
@@ -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

Added files:

Index: pkgsrc/emulators/libretro-beetle-sgx/patches/patch-Makefile.common
diff -u /dev/null pkgsrc/emulators/libretro-beetle-sgx/patches/patch-Makefile.common:1.1
--- /dev/null   Sun May 31 08:44:58 2020
+++ pkgsrc/emulators/libretro-beetle-sgx/patches/patch-Makefile.common  Sun May 31 08:44:58 2020
@@ -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