Wed Feb 4 23:04:17 2015 UTC ()
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.


(jmcneill)
diff -r0 -r1.1 pkgsrc/emulators/libretro-pcsx-rearmed/DESCR
diff -r0 -r1.1 pkgsrc/emulators/libretro-pcsx-rearmed/Makefile
diff -r0 -r1.1 pkgsrc/emulators/libretro-pcsx-rearmed/PLIST
diff -r0 -r1.1 pkgsrc/emulators/libretro-pcsx-rearmed/distinfo
diff -r0 -r1.1 pkgsrc/emulators/libretro-pcsx-rearmed/options.mk

File Added: pkgsrc/emulators/libretro-pcsx-rearmed/DESCR
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.

File Added: pkgsrc/emulators/libretro-pcsx-rearmed/Makefile
# $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"

File Added: pkgsrc/emulators/libretro-pcsx-rearmed/PLIST
@comment $NetBSD: PLIST,v 1.1 2015/02/04 23:04:17 jmcneill Exp $
lib/libretro/pcsx_rearmed_libretro.so

File Added: pkgsrc/emulators/libretro-pcsx-rearmed/distinfo
$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

File Added: pkgsrc/emulators/libretro-pcsx-rearmed/Attic/options.mk
# $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