pkgsrc-Changes archive

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

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



Module Name:    pkgsrc
Committed By:   nia
Date:           Sat Jun 13 11:56:23 UTC 2020

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

Log Message:
libretro-beetle-psx: Update to 20200610

pkgsrc changes:
- Unbundle dependencies.

Upstream changes:
- illumos build unbroken.
- pkgsrc patch upstreamed.


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

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-psx/Makefile.common
diff -u pkgsrc/emulators/libretro-beetle-psx/Makefile.common:1.4 pkgsrc/emulators/libretro-beetle-psx/Makefile.common:1.5
--- pkgsrc/emulators/libretro-beetle-psx/Makefile.common:1.4    Sat May 30 14:59:10 2020
+++ pkgsrc/emulators/libretro-beetle-psx/Makefile.common        Sat Jun 13 11:56:23 2020
@@ -1,13 +1,13 @@
-# $NetBSD: Makefile.common,v 1.4 2020/05/30 14:59:10 nia Exp $
+# $NetBSD: Makefile.common,v 1.5 2020/06/13 11:56:23 nia Exp $
 
 # used by emulators/libretro-beetle-psx-hw/Makefile
 # used by emulators/libretro-beetle-psx/Makefile
 
-VERSION=       20200526
+VERSION=       20200610
 DISTNAME=      libretro-beetle-psx-${VERSION}
 CATEGORIES=    emulators
 GITHUB_PROJECT=        beetle-psx-libretro
-GITHUB_TAG=    12014e1f317ae8bda1c9ccce319d9dd78f253d2f
+GITHUB_TAG=    3db06fd98c4ad2e4c35f31dd1bbc71c519a26f7a
 
 LICENSE=       gnu-gpl-v2
 
@@ -16,6 +16,13 @@ PATCHDIR=    ${.CURDIR}/../../emulators/lib
 MESSAGE_SRC=   ${.CURDIR}/../../emulators/libretro-beetle-psx/MESSAGE
 
 USE_LANGUAGES= c c++03
+USE_TOOLS+=    pkg-config
+
+MAKE_FLAGS+=   SYSTEM_ZLIB=1
+
+LDFLAGS+=      -lFLAC
 
 .include "../../emulators/retroarch/core.mk"
+.include "../../audio/flac/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
 .include "../../mk/pthread.buildlink3.mk"
Index: pkgsrc/emulators/libretro-beetle-psx/distinfo
diff -u pkgsrc/emulators/libretro-beetle-psx/distinfo:1.4 pkgsrc/emulators/libretro-beetle-psx/distinfo:1.5
--- pkgsrc/emulators/libretro-beetle-psx/distinfo:1.4   Sat May 30 14:59:10 2020
+++ pkgsrc/emulators/libretro-beetle-psx/distinfo       Sat Jun 13 11:56:23 2020
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.4 2020/05/30 14:59:10 nia Exp $
+$NetBSD: distinfo,v 1.5 2020/06/13 11:56:23 nia Exp $
 
-SHA1 (libretro-beetle-psx-20200526-12014e1f317ae8bda1c9ccce319d9dd78f253d2f.tar.gz) = 008c5f1bf30aadf21de12b9788399ff186c8a507
-RMD160 (libretro-beetle-psx-20200526-12014e1f317ae8bda1c9ccce319d9dd78f253d2f.tar.gz) = 1ae8c4b809260ddc0b9a035213ba38635360eb5e
-SHA512 (libretro-beetle-psx-20200526-12014e1f317ae8bda1c9ccce319d9dd78f253d2f.tar.gz) = 
8778739f4b02af76b0774d99889888aa0f96c4ee106a29f5870ed9e464fb2ee4017e925ca6d9578975149e30d37555a38528c4d6ece0a862b42585be68a2e7cc
-Size (libretro-beetle-psx-20200526-12014e1f317ae8bda1c9ccce319d9dd78f253d2f.tar.gz) = 2907552 bytes
+SHA1 (libretro-beetle-psx-20200610-3db06fd98c4ad2e4c35f31dd1bbc71c519a26f7a.tar.gz) = 81d8183b21f80314515889556e2dcc759d253703
+RMD160 (libretro-beetle-psx-20200610-3db06fd98c4ad2e4c35f31dd1bbc71c519a26f7a.tar.gz) = 0b5e70b9455588c743e00fccf22ee0d654c7f4ac
+SHA512 (libretro-beetle-psx-20200610-3db06fd98c4ad2e4c35f31dd1bbc71c519a26f7a.tar.gz) = 
d99c389595985b27815429dfd65d11d6899949f7981b5f7bd6c1dd008365a51c297e4d3504d8c07451914b08d4b3d96d9f0c24fe49b9a8a6b38722ab072c9f51
+Size (libretro-beetle-psx-20200610-3db06fd98c4ad2e4c35f31dd1bbc71c519a26f7a.tar.gz) = 2907608 bytes
+SHA1 (patch-Makefile.common) = f4f72feae1602c6806b974b4816142d3494f1ddf
 SHA1 (patch-libretro-common_rthreads_rthreads.c) = 1ba4a13ca0ae3e7fe0b4cb7259d3ee7d6629781b
-SHA1 (patch-libretro.cpp) = cc3de00e69f457d9f6fd7324285113aeb5bba972

Added files:

Index: pkgsrc/emulators/libretro-beetle-psx/patches/patch-Makefile.common
diff -u /dev/null pkgsrc/emulators/libretro-beetle-psx/patches/patch-Makefile.common:1.1
--- /dev/null   Sat Jun 13 11:56:23 2020
+++ pkgsrc/emulators/libretro-beetle-psx/patches/patch-Makefile.common  Sat Jun 13 11:56:23 2020
@@ -0,0 +1,81 @@
+$NetBSD: patch-Makefile.common,v 1.1 2020/06/13 11:56:23 nia Exp $
+
+Avoid using bundled libflac and zlib.
+
+--- Makefile.common.orig       2020-06-10 14:08:45.000000000 +0000
++++ Makefile.common
+@@ -10,32 +10,10 @@ RSXGL_DIR    := $(CORE_DIR)/rustation-li
+ CDROM_DIR    := $(MEDNAFEN_DIR)/cdrom
+ 
+ LIBCHDR_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
+ LIBCHDR_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 \
+@@ -55,22 +33,6 @@ LIBCHDR_SOURCES_C = $(DEPS_DIR)/crypto/m
+                      $(DEPS_DIR)/libchdr/flac.c \
+                      $(DEPS_DIR)/libchdr/huffman.c
+ 
+-ZLIB_INCFLAGS = -I$(DEPS_DIR)/zlib
+-ZLIB_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
+-
+ ifeq ($(HAVE_OPENGL), 1)
+    ifeq ($(GLES), 1)
+       GLFLAGS  := -DHAVE_OPENGLES -DHAVE_OPENGLES2
+@@ -195,8 +157,6 @@ ifeq ($(HAVE_CHD), 1)
+       LIBS += $(shell pkg-config --libs libchdr)
+    else
+       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
+    endif
+@@ -379,9 +339,6 @@ SOURCES_C +=   $(CORE_DIR)/pgxp/pgxp_cpu
+ ifeq ($(HAVE_CHD), 1)
+    ifneq ($(SYSTEM_LIBCHDR), 1)
+       SOURCES_C += $(LIBCHDR_SOURCES_C)
+-      ifneq (,$(findstring win,$(platform)))
+-         SOURCES_C += $(DEPS_DIR)/flac-1.3.2/src/libFLAC/windows_unicode_filenames.c
+-      endif
+    endif
+ 
+    SOURCES_CXX += $(CDROM_DIR)/CDAccess_CHD.cpp



Home | Main Index | Thread Index | Old Index