summaryrefslogtreecommitdiff
path: root/emulators/emulationstation
diff options
context:
space:
mode:
authorsnj <snj@pkgsrc.org>2015-02-12 22:48:02 +0000
committersnj <snj@pkgsrc.org>2015-02-12 22:48:02 +0000
commit1a75edb5b14febff04b28865e40de1d35f3c86c0 (patch)
treea173779176855a138895dd366e2568490855ec00 /emulators/emulationstation
parent1427f65af6c3750875056d80416132c3b33dba1a (diff)
downloadpkgsrc-1a75edb5b14febff04b28865e40de1d35f3c86c0.tar.gz
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).
Diffstat (limited to 'emulators/emulationstation')
-rw-r--r--emulators/emulationstation/DESCR5
-rw-r--r--emulators/emulationstation/Makefile57
-rw-r--r--emulators/emulationstation/PLIST6
-rw-r--r--emulators/emulationstation/distinfo5
4 files changed, 73 insertions, 0 deletions
diff --git a/emulators/emulationstation/DESCR b/emulators/emulationstation/DESCR
new file mode 100644
index 00000000000..ed1a59a741e
--- /dev/null
+++ b/emulators/emulationstation/DESCR
@@ -0,0 +1,5 @@
+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).
diff --git a/emulators/emulationstation/Makefile b/emulators/emulationstation/Makefile
new file mode 100644
index 00000000000..3c8a8f53059
--- /dev/null
+++ b/emulators/emulationstation/Makefile
@@ -0,0 +1,57 @@
+# $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"
diff --git a/emulators/emulationstation/PLIST b/emulators/emulationstation/PLIST
new file mode 100644
index 00000000000..89e32baab25
--- /dev/null
+++ b/emulators/emulationstation/PLIST
@@ -0,0 +1,6 @@
+@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
diff --git a/emulators/emulationstation/distinfo b/emulators/emulationstation/distinfo
new file mode 100644
index 00000000000..3fddf791918
--- /dev/null
+++ b/emulators/emulationstation/distinfo
@@ -0,0 +1,5 @@
+$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