Thu Feb 12 22:48:02 2015 UTC ()
Import emulationstation-2.0.0_rc1_20150210 as emulators/emulationstation.

EmulationStation is a graphical and themeable emulator front-end that allows
you to access all your favorite games in one place, even without a keyboard!

It targets computers connected to a television (like HTPCs, media boxes, and
the Raspberry Pi).


(snj)
diff -r0 -r1.1 pkgsrc/emulators/emulationstation/DESCR
diff -r0 -r1.1 pkgsrc/emulators/emulationstation/Makefile
diff -r0 -r1.1 pkgsrc/emulators/emulationstation/PLIST
diff -r0 -r1.1 pkgsrc/emulators/emulationstation/distinfo

File Added: pkgsrc/emulators/emulationstation/DESCR
EmulationStation is a graphical and themeable emulator front-end that allows
you to access all your favorite games in one place, even without a keyboard!

It targets computers connected to a television (like HTPCs, media boxes, and
the Raspberry Pi).

File Added: pkgsrc/emulators/emulationstation/Makefile
# $NetBSD: Makefile,v 1.1 2015/02/12 22:48:02 snj Exp $

DISTNAME=	abba19584636c28cd98e3810e857f493cb63d06c
PKGNAME=	emulationstation-2.0.0_rc1_20150210
CATEGORIES=	emulators games
MASTER_SITES=	https://github.com/Aloshi/EmulationStation/archive/
EXTRACT_SUFX=	.zip

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.emulationstation.org/
COMMENT=	Themeable multi-system emulator frontend

LICENSE=	mit

USE_CMAKE=	yes
USE_LANGUAGES+=	c c++
GCC_REQD=	4.7 # C++11

WRKSRC=		${WRKDIR}/EmulationStation-${DISTNAME}

INSTALLATION_DIRS=	bin share/doc/emulationstation

SUBST_CLASSES+=		fceu
SUBST_STAGE.fceu=	post-patch
SUBST_MESSAGE.fceu=	Adjusting config file path to retroarch backend
SUBST_FILES.fceu=	es-app/src/SystemData.cpp
SUBST_SED.fceu=		-e "s|~/cores/libretro-fceumm.so|${PREFIX}/lib/libretro/fceumm_libretro.so|"

SUBST_CLASSES+=		ra
SUBST_STAGE.ra=		post-patch
SUBST_MESSAGE.ra=	Adjusting path to retroarch backends in documentation
SUBST_FILES.ra=		SYSTEMS.md
SUBST_SED.ra=		-e "s|/usr|${PREFIX}|"

SUBST_CLASSES+=		etc
SUBST_STAGE.etc=	post-patch
SUBST_MESSAGE.etc=	Adjusting path to global configuration files
SUBST_FILES.etc=	es-app/src/SystemData.cpp es-core/src/ThemeData.cpp
SUBST_FILES.etc+=	GAMELISTS.md README.md THEMES.md
SUBST_SED.etc=		-e "s|/etc|${PKG_SYSCONFDIR}|"

post-install:
	${INSTALL_DATA} ${WRKSRC}/GAMELISTS.md ${WRKSRC}/README.md \
	    ${WRKSRC}/SYSTEMS.md ${WRKSRC}/THEMES.md \
	    ${DESTDIR}${PREFIX}/share/doc/emulationstation

.include "../../devel/SDL2/buildlink3.mk"
.include "../../devel/boost-libs/buildlink3.mk"
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../graphics/freeimage/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../math/eigen3/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../x11/libICE/buildlink3.mk"

.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

File Added: pkgsrc/emulators/emulationstation/PLIST
@comment $NetBSD: PLIST,v 1.1 2015/02/12 22:48:02 snj Exp $
bin/emulationstation
share/doc/emulationstation/README.md
share/doc/emulationstation/GAMELISTS.md
share/doc/emulationstation/SYSTEMS.md
share/doc/emulationstation/THEMES.md

File Added: pkgsrc/emulators/emulationstation/distinfo
$NetBSD: distinfo,v 1.1 2015/02/12 22:48:02 snj Exp $

SHA1 (abba19584636c28cd98e3810e857f493cb63d06c.zip) = cdfef679f7b428a7cd4986e7b0f8e47965186130
RMD160 (abba19584636c28cd98e3810e857f493cb63d06c.zip) = b70ad1a8e826c959b58eba36e73df9932104b139
Size (abba19584636c28cd98e3810e857f493cb63d06c.zip) = 1183630 bytes