pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators emulators/libretro-beetle-psx-hw: New child ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6c049c7587ee
branches:  trunk
changeset: 389050:6c049c7587ee
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue Dec 18 15:50:48 2018 +0000

description:
emulators/libretro-beetle-psx-hw: New child package of ibretro-beetle-psx.

Libretro is a simple but powerful development interface that allows for the
easy creation of emulators, games and multimedia applications that can plug
straight into any libretro-compatible frontend. This development interface is
open to others so that they can run these pluggable emulator and game cores
also in their own programs or devices.

Mednafen PSX (Beetle PSX) is a Sony PlayStation 1 video game system emulator
that can be used as a libretro core. It is a libretro port of Mednafen
PlayStation.

Mednafen can load CD-ROM games from a ripped/dumped copy of the disc, such
as CUE+BIN. Additionally there is support for CloneCD "CCD/IMG/SUB" rips,
and cdrdao "TOC" files. A CUE file is required.

This is the OpenGL version. It is currently less accurate than the software
renderer but will enable and/or speed up enhancements like upscaling and
texture filtering.

diffstat:

 emulators/Makefile                            |   3 +-
 emulators/libretro-beetle-psx-hw/DESCR        |  17 ++++++++++++
 emulators/libretro-beetle-psx-hw/Makefile     |  17 ++++++++++++
 emulators/libretro-beetle-psx-hw/PLIST        |   2 +
 emulators/libretro-beetle-psx/Makefile        |  30 ++-------------------
 emulators/libretro-beetle-psx/Makefile.common |  38 +++++++++++++++++++++++++++
 6 files changed, 79 insertions(+), 28 deletions(-)

diffs (152 lines):

diff -r 73a56aae188a -r 6c049c7587ee emulators/Makefile
--- a/emulators/Makefile        Tue Dec 18 15:23:07 2018 +0000
+++ b/emulators/Makefile        Tue Dec 18 15:50:48 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.288 2018/10/15 17:20:21 nia Exp $
+# $NetBSD: Makefile,v 1.289 2018/12/18 15:50:48 nia Exp $
 #
 
 COMMENT=       Emulators for other operating systems
@@ -91,6 +91,7 @@
 SUBDIR+=       libretro-beetle-ngp
 SUBDIR+=       libretro-beetle-pce-fast
 SUBDIR+=       libretro-beetle-psx
+SUBDIR+=       libretro-beetle-psx-hw
 SUBDIR+=       libretro-beetle-saturn
 SUBDIR+=       libretro-beetle-sgx
 SUBDIR+=       libretro-beetle-vb
diff -r 73a56aae188a -r 6c049c7587ee emulators/libretro-beetle-psx-hw/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/libretro-beetle-psx-hw/DESCR    Tue Dec 18 15:50:48 2018 +0000
@@ -0,0 +1,17 @@
+Libretro is a simple but powerful development interface that allows for the
+easy creation of emulators, games and multimedia applications that can plug
+straight into any libretro-compatible frontend. This development interface is
+open to others so that they can run these pluggable emulator and game cores
+also in their own programs or devices.
+
+Mednafen PSX (Beetle PSX) is a Sony PlayStation 1 video game system emulator
+that can be used as a libretro core. It is a libretro port of Mednafen
+PlayStation.
+
+Mednafen can load CD-ROM games from a ripped/dumped copy of the disc, such
+as CUE+BIN. Additionally there is support for CloneCD "CCD/IMG/SUB" rips,
+and cdrdao "TOC" files. A CUE file is required.
+
+This is the OpenGL version. It is currently less accurate than the software
+renderer but will enable and/or speed up enhancements like upscaling and
+texture filtering.
diff -r 73a56aae188a -r 6c049c7587ee emulators/libretro-beetle-psx-hw/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/libretro-beetle-psx-hw/Makefile Tue Dec 18 15:50:48 2018 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2018/12/18 15:50:48 nia Exp $
+
+.include "../../emulators/libretro-beetle-psx/Makefile.common"
+
+PKGNAME=       libretro-beetle-psx-hw-${VERSION}
+
+MAINTAINER=    nia%NetBSD.org@localhost
+COMMENT=       Libretro core based on the Mednafen PlayStation emulator (OpenGL)
+
+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 73a56aae188a -r 6c049c7587ee emulators/libretro-beetle-psx-hw/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/libretro-beetle-psx-hw/PLIST    Tue Dec 18 15:50:48 2018 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2018/12/18 15:50:48 nia Exp $
+lib/libretro/mednafen_psx_hw_libretro.so
diff -r 73a56aae188a -r 6c049c7587ee emulators/libretro-beetle-psx/Makefile
--- a/emulators/libretro-beetle-psx/Makefile    Tue Dec 18 15:23:07 2018 +0000
+++ b/emulators/libretro-beetle-psx/Makefile    Tue Dec 18 15:50:48 2018 +0000
@@ -1,38 +1,14 @@
-# $NetBSD: Makefile,v 1.5 2018/10/02 21:09:28 nia Exp $
+# $NetBSD: Makefile,v 1.6 2018/12/18 15:50:48 nia Exp $
 
-DISTNAME=      libretro-beetle-psx-20180808
+.include "Makefile.common"
+
 PKGREVISION=   2
-CATEGORIES=    emulators
-MASTER_SITES=  ${MASTER_SITE_GITHUB:=libretro/}
-GITHUB_PROJECT=        beetle-psx-libretro
-GITHUB_TAG=    7bb007de15b2f40a880b788ebf47a400c90827d9
 
 MAINTAINER=    nia%NetBSD.org@localhost
-HOMEPAGE=      https://docs.libretro.com/library/beetle_psx/
 COMMENT=       Libretro core based on the Mednafen PlayStation emulator
-LICENSE=       gnu-gpl-v2
-
-EXTRACT_USING= bsdtar
-
-USE_TOOLS+=    gmake
-USE_LANGUAGES= c c++03
-
-MAKE_FLAGS+=   GIT_VERSION="-pkgsrc"
-
-.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
-
-INSTALLATION_DIRS+=    ${PREFIX}/lib/libretro
 
 do-install:
        ${INSTALL_LIB} ${WRKSRC}/mednafen_psx_libretro.so \
            ${DESTDIR}${PREFIX}/lib/libretro/mednafen_psx_libretro.so
 
-.include "../../mk/pthread.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 73a56aae188a -r 6c049c7587ee emulators/libretro-beetle-psx/Makefile.common
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/libretro-beetle-psx/Makefile.common     Tue Dec 18 15:50:48 2018 +0000
@@ -0,0 +1,38 @@
+# $NetBSD: Makefile.common,v 1.1 2018/12/18 15:50:48 nia Exp $
+
+# used by emulators/libretro-beetle-psx-hw/Makefile
+# used by emulators/libretro-beetle-psx/Makefile
+
+VERSION=       20180808
+DISTNAME=      libretro-beetle-psx-${VERSION}
+CATEGORIES=    emulators
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=libretro/}
+GITHUB_PROJECT=        beetle-psx-libretro
+GITHUB_TAG=    7bb007de15b2f40a880b788ebf47a400c90827d9
+
+HOMEPAGE=      https://docs.libretro.com/library/beetle_psx/
+LICENSE=       gnu-gpl-v2
+
+DISTINFO_FILE= ${.CURDIR}/../../emulators/libretro-beetle-psx/distinfo
+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/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
+
+INSTALLATION_DIRS+=    ${PREFIX}/lib/libretro
+
+.include "../../mk/pthread.buildlink3.mk"



Home | Main Index | Thread Index | Old Index