diff options
author | jmcneill <jmcneill@pkgsrc.org> | 2015-02-04 23:04:17 +0000 |
---|---|---|
committer | jmcneill <jmcneill@pkgsrc.org> | 2015-02-04 23:04:17 +0000 |
commit | 6795f369ee87738aac3998cd9bd0c670019716fd (patch) | |
tree | 34aed3a828dc9d56f4650ec848498a59665cf3ff | |
parent | 1c479ac32048f2c41b9cd6184ba6cef3c5bfe23c (diff) | |
download | pkgsrc-6795f369ee87738aac3998cd9bd0c670019716fd.tar.gz |
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.
-rw-r--r-- | emulators/libretro-pcsx-rearmed/DESCR | 7 | ||||
-rw-r--r-- | emulators/libretro-pcsx-rearmed/Makefile | 37 | ||||
-rw-r--r-- | emulators/libretro-pcsx-rearmed/PLIST | 2 | ||||
-rw-r--r-- | emulators/libretro-pcsx-rearmed/distinfo | 5 | ||||
-rw-r--r-- | emulators/libretro-pcsx-rearmed/options.mk | 18 |
5 files changed, 69 insertions, 0 deletions
diff --git a/emulators/libretro-pcsx-rearmed/DESCR b/emulators/libretro-pcsx-rearmed/DESCR new file mode 100644 index 00000000000..85116938c6f --- /dev/null +++ b/emulators/libretro-pcsx-rearmed/DESCR @@ -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 --git a/emulators/libretro-pcsx-rearmed/Makefile b/emulators/libretro-pcsx-rearmed/Makefile new file mode 100644 index 00000000000..89b6f44e5a4 --- /dev/null +++ b/emulators/libretro-pcsx-rearmed/Makefile @@ -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 +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 --git a/emulators/libretro-pcsx-rearmed/PLIST b/emulators/libretro-pcsx-rearmed/PLIST new file mode 100644 index 00000000000..5792c73e751 --- /dev/null +++ b/emulators/libretro-pcsx-rearmed/PLIST @@ -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 --git a/emulators/libretro-pcsx-rearmed/distinfo b/emulators/libretro-pcsx-rearmed/distinfo new file mode 100644 index 00000000000..61c9e46729f --- /dev/null +++ b/emulators/libretro-pcsx-rearmed/distinfo @@ -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 --git a/emulators/libretro-pcsx-rearmed/options.mk b/emulators/libretro-pcsx-rearmed/options.mk new file mode 100644 index 00000000000..8df23dfaa3c --- /dev/null +++ b/emulators/libretro-pcsx-rearmed/options.mk @@ -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 |