pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/libretro-pcsx-rearmed Import libretro-pcsx-r...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/67b0d8b85737
branches:  trunk
changeset: 646152:67b0d8b85737
user:      jmcneill <jmcneill%pkgsrc.org@localhost>
date:      Wed Feb 04 23:04:17 2015 +0000

description:
Import libretro-pcsx-rearmed-20150204 as emulators/libretro-pcsx-rearmed.

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.

PCSX ReARMed is a Sony PlayStation1 video game system emulator.

diffstat:

 emulators/libretro-pcsx-rearmed/DESCR      |   7 +++++
 emulators/libretro-pcsx-rearmed/Makefile   |  37 ++++++++++++++++++++++++++++++
 emulators/libretro-pcsx-rearmed/PLIST      |   2 +
 emulators/libretro-pcsx-rearmed/distinfo   |   5 ++++
 emulators/libretro-pcsx-rearmed/options.mk |  18 ++++++++++++++
 5 files changed, 69 insertions(+), 0 deletions(-)

diffs (89 lines):

diff -r c39a1301b7b6 -r 67b0d8b85737 emulators/libretro-pcsx-rearmed/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/libretro-pcsx-rearmed/DESCR     Wed Feb 04 23:04:17 2015 +0000
@@ -0,0 +1,7 @@
+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.
+
+PCSX ReARMed is a Sony PlayStation1 video game system emulator.
diff -r c39a1301b7b6 -r 67b0d8b85737 emulators/libretro-pcsx-rearmed/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/libretro-pcsx-rearmed/Makefile  Wed Feb 04 23:04:17 2015 +0000
@@ -0,0 +1,37 @@
+# $NetBSD: Makefile,v 1.1 2015/02/04 23:04:17 jmcneill Exp $
+
+DISTNAME=      pcsx-rearmed-libretro-20150204
+PKGNAME=       libretro-pcsx-rearmed-20150204
+CATEGORIES=    emulators
+MASTER_SITES=  http://ftp.netbsd.org/pub/NetBSD/misc/jmcneill/retroarch/
+EXTRACT_SUFX=  .zip
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/libretro/pcsx_rearmed
+COMMENT=       Libretro core based on the PCSX ReARMed emulator
+LICENSE=       gnu-gpl-v2
+
+WRKSRC=                ${WRKDIR}/pcsx_rearmed-master
+HAS_CONFIGURE= yes
+USE_LANGUAGES= c c++
+USE_TOOLS+=    gmake
+
+CONFIGURE_ARGS+=--platform=libretro
+
+INSTALLATION_DIRS+=    ${PREFIX}/lib/libretro
+
+BUILDLINK_TRANSFORM+=  rm:-ldl
+.if !empty(MACHINE_ARCH:M*arm*hf)
+CFLAGS+=       -mfloat-abi=hard
+ASFLAGS+=      -mfloat-abi=hard
+.endif
+
+do-install:
+       ${INSTALL_LIB} ${WRKSRC}/libretro.so \
+           ${DESTDIR}${PREFIX}/lib/libretro/pcsx_rearmed_libretro.so
+
+.include "options.mk"
+
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r c39a1301b7b6 -r 67b0d8b85737 emulators/libretro-pcsx-rearmed/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/libretro-pcsx-rearmed/PLIST     Wed Feb 04 23:04:17 2015 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2015/02/04 23:04:17 jmcneill Exp $
+lib/libretro/pcsx_rearmed_libretro.so
diff -r c39a1301b7b6 -r 67b0d8b85737 emulators/libretro-pcsx-rearmed/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/libretro-pcsx-rearmed/distinfo  Wed Feb 04 23:04:17 2015 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2015/02/04 23:04:17 jmcneill Exp $
+
+SHA1 (pcsx-rearmed-libretro-20150204.zip) = ffaa73f8f83ed251a0796c48d4108e152aa2e2cd
+RMD160 (pcsx-rearmed-libretro-20150204.zip) = d2ef1fdb82e7bd6ba4f55a4495efd39584d0f8e0
+Size (pcsx-rearmed-libretro-20150204.zip) = 1259484 bytes
diff -r c39a1301b7b6 -r 67b0d8b85737 emulators/libretro-pcsx-rearmed/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/libretro-pcsx-rearmed/options.mk        Wed Feb 04 23:04:17 2015 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: options.mk,v 1.1 2015/02/04 23:04:17 jmcneill Exp $
+
+.include "../../mk/bsd.prefs.mk"
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.libretro-pcsx-rearmed
+
+.if !empty(MACHINE_ARCH:M*arm*)
+PKG_SUPPORTED_OPTIONS+=        dynarec
+PKG_SUGGESTED_OPTIONS+=        dynarec
+.endif
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mdynarec)
+# enabled by default
+.else
+CONFIGURE_ARGS+=       --disable-dynarec
+.endif



Home | Main Index | Thread Index | Old Index