Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators libretro-beetle-psx: Update to 20200526



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1fa290b3602f
branches:  trunk
changeset: 433060:1fa290b3602f
user:      nia <nia%pkgsrc.org@localhost>
date:      Sat May 30 14:59:10 2020 +0000

description:
libretro-beetle-psx: Update to 20200526

Changes:
     * Load bios from path that was checked
     * sanitize gl context requests
     * Add more detailed error messages for mmap, unlink sooner
     * Allow Solaris 11 build
     * Cleanup warnings: snprintf truncation, strncpy->memcpy, memset
     * Lightrec: Cleanup/deduplicate mmap code
     * Lightrec: Improve homebrew support
     * Fix inverted check for dma-only invalidation
     * Fix OS X compile
     * Lightrec: fix more games –
       These games now work:
       – Need For Speed: V-Rally
       – Alone In The Dark – One-Eyed Jack’s Revenge
     * Lightrec: Fix SWL/LWL using wrong mask
     * When HAVE_SHM always use global memfd so it can be closed properly on
       exit –
       LGTM found this once the default was to compile in lightrec
     * Keep track of mmap failing –
       If mmap failed it should prevent crashing when closing and disables
       lightrec memory mirrors so as to not use an incorrect code path
     * Update to latest lightrec and extract PGXP from lightrec –
       PGXP functions are now called from within beetle
     * Compile in Lightrec support by default –
       Specify HAVE_LIGHTREC=0 if you don’t want it compiled
     * Improve DualShock calibration reference
     * Fix disk control interface when running single-disk PBP content

diffstat:

 emulators/libretro-beetle-psx-hw/Makefile     |   6 +----
 emulators/libretro-beetle-psx/Makefile        |   8 ++----
 emulators/libretro-beetle-psx/Makefile.common |  30 +++-----------------------
 emulators/libretro-beetle-psx/distinfo        |  11 +++++----
 4 files changed, 14 insertions(+), 41 deletions(-)

diffs (107 lines):

diff -r 35944daa8f8e -r 1fa290b3602f emulators/libretro-beetle-psx-hw/Makefile
--- a/emulators/libretro-beetle-psx-hw/Makefile Sat May 30 14:53:55 2020 +0000
+++ b/emulators/libretro-beetle-psx-hw/Makefile Sat May 30 14:59:10 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2018/12/18 16:12:13 nia Exp $
+# $NetBSD: Makefile,v 1.3 2020/05/30 14:59:10 nia Exp $
 
 .include "../../emulators/libretro-beetle-psx/Makefile.common"
 
@@ -10,9 +10,5 @@
 
 MAKE_FLAGS+=   HAVE_OPENGL=1
 
-do-install:
-       ${INSTALL_LIB} ${WRKSRC}/mednafen_psx_hw_libretro.so \
-           ${DESTDIR}${PREFIX}/lib/libretro/mednafen_psx_hw_libretro.so
-
 .include "../../graphics/MesaLib/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 35944daa8f8e -r 1fa290b3602f emulators/libretro-beetle-psx/Makefile
--- a/emulators/libretro-beetle-psx/Makefile    Sat May 30 14:53:55 2020 +0000
+++ b/emulators/libretro-beetle-psx/Makefile    Sat May 30 14:59:10 2020 +0000
@@ -1,4 +1,6 @@
-# $NetBSD: Makefile,v 1.8 2019/04/29 12:00:16 nia Exp $
+# $NetBSD: Makefile,v 1.9 2020/05/30 14:59:10 nia Exp $
+
+LIBRETRO_CORE= mednafen_psx
 
 .include "Makefile.common"
 
@@ -6,8 +8,4 @@
 HOMEPAGE=      https://docs.libretro.com/library/beetle_psx/
 COMMENT=       Libretro core based on the Mednafen PlayStation emulator
 
-do-install:
-       ${INSTALL_LIB} ${WRKSRC}/mednafen_psx_libretro.so \
-           ${DESTDIR}${PREFIX}/lib/libretro/mednafen_psx_libretro.so
-
 .include "../../mk/bsd.pkg.mk"
diff -r 35944daa8f8e -r 1fa290b3602f emulators/libretro-beetle-psx/Makefile.common
--- a/emulators/libretro-beetle-psx/Makefile.common     Sat May 30 14:53:55 2020 +0000
+++ b/emulators/libretro-beetle-psx/Makefile.common     Sat May 30 14:59:10 2020 +0000
@@ -1,14 +1,13 @@
-# $NetBSD: Makefile.common,v 1.3 2019/04/29 12:00:16 nia Exp $
+# $NetBSD: Makefile.common,v 1.4 2020/05/30 14:59:10 nia Exp $
 
 # used by emulators/libretro-beetle-psx-hw/Makefile
 # used by emulators/libretro-beetle-psx/Makefile
 
-VERSION=       20190203
+VERSION=       20200526
 DISTNAME=      libretro-beetle-psx-${VERSION}
 CATEGORIES=    emulators
-MASTER_SITES=  ${MASTER_SITE_GITHUB:=libretro/}
 GITHUB_PROJECT=        beetle-psx-libretro
-GITHUB_TAG=    53591985319edc34d83a0858ad9a935b934dcf5c
+GITHUB_TAG=    12014e1f317ae8bda1c9ccce319d9dd78f253d2f
 
 LICENSE=       gnu-gpl-v2
 
@@ -16,28 +15,7 @@
 PATCHDIR=      ${.CURDIR}/../../emulators/libretro-beetle-psx/patches
 MESSAGE_SRC=   ${.CURDIR}/../../emulators/libretro-beetle-psx/MESSAGE
 
-EXTRACT_USING= bsdtar
-
-USE_TOOLS+=    gmake
 USE_LANGUAGES= c c++03
 
-MAKE_FLAGS+=   GIT_VERSION="-pkgsrc"
-
-.include "../../mk/bsd.prefs.mk"
-.include "../../mk/endian.mk"
-
-.if ${MACHINE_ENDIAN} == "big"
-CFLAGS+=       -DMSB_FIRST
-.endif
-
-BUILDLINK_TRANSFORM.SunOS+=    rm:-Wl,--version-script=link.T
-BUILDLINK_TRANSFORM.SunOS+=    rm:-Wl,--no-undefined
-
-.if ${OPSYS} != "Linux"
-BUILDLINK_TRANSFORM+=  rm:-ldl
-.endif
-
-INSTALLATION_DIRS+=    ${PREFIX}/lib/libretro
-
-.include "../../mk/dlopen.buildlink3.mk"
+.include "../../emulators/retroarch/core.mk"
 .include "../../mk/pthread.buildlink3.mk"
diff -r 35944daa8f8e -r 1fa290b3602f emulators/libretro-beetle-psx/distinfo
--- a/emulators/libretro-beetle-psx/distinfo    Sat May 30 14:53:55 2020 +0000
+++ b/emulators/libretro-beetle-psx/distinfo    Sat May 30 14:59:10 2020 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.3 2019/04/29 12:00:16 nia Exp $
+$NetBSD: distinfo,v 1.4 2020/05/30 14:59:10 nia Exp $
 
-SHA1 (libretro-beetle-psx-20190203-53591985319edc34d83a0858ad9a935b934dcf5c.tar.gz) = dbfcce19347798172fdbed99b8c79abcc6e0f499
-RMD160 (libretro-beetle-psx-20190203-53591985319edc34d83a0858ad9a935b934dcf5c.tar.gz) = 2bb40fb3b1db91dd8cae3ad962a49f45722a9fce
-SHA512 (libretro-beetle-psx-20190203-53591985319edc34d83a0858ad9a935b934dcf5c.tar.gz) = 
c25253986a2b33cc3f5627f6d64071093103b8f0e553cd8c555d0da8f54bcf081434fb61323431937c9c777e12eee20410ad0ae0f7e5c86e77a38fd50bb22ca6
-Size (libretro-beetle-psx-20190203-53591985319edc34d83a0858ad9a935b934dcf5c.tar.gz) = 2324548 bytes
+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 (patch-libretro-common_rthreads_rthreads.c) = 1ba4a13ca0ae3e7fe0b4cb7259d3ee7d6629781b
+SHA1 (patch-libretro.cpp) = cc3de00e69f457d9f6fd7324285113aeb5bba972


Home | Main Index | Thread Index | Old Index