Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jan 2016 05:52:58 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r406633 - in head/emulators: . nestopia nestopia/files
Message-ID:  <201601190552.u0J5qwXf060533@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Tue Jan 19 05:52:58 2016
New Revision: 406633
URL: https://svnweb.freebsd.org/changeset/ports/406633

Log:
  Add nestopia 1.47, portable NES/Famicom emulator.
  
  PR:		206311
  Submitted by:	neel@neelc.org

Added:
  head/emulators/nestopia/
  head/emulators/nestopia/Makefile   (contents, props changed)
  head/emulators/nestopia/distinfo   (contents, props changed)
  head/emulators/nestopia/files/
  head/emulators/nestopia/files/patch-Makefile   (contents, props changed)
  head/emulators/nestopia/files/patch-source_unix_gtkui_gtkui.h   (contents, props changed)
  head/emulators/nestopia/pkg-descr   (contents, props changed)
  head/emulators/nestopia/pkg-plist   (contents, props changed)
Modified:
  head/emulators/Makefile

Modified: head/emulators/Makefile
==============================================================================
--- head/emulators/Makefile	Tue Jan 19 04:50:37 2016	(r406632)
+++ head/emulators/Makefile	Tue Jan 19 05:52:58 2016	(r406633)
@@ -98,6 +98,7 @@
     SUBDIR += mupen64plus-video-glide64mk2
     SUBDIR += mupen64plus-video-rice
     SUBDIR += mupen64plus-video-z64
+    SUBDIR += nestopia
     SUBDIR += nonpareil
     SUBDIR += o2em
     SUBDIR += ods2reader

Added: head/emulators/nestopia/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/emulators/nestopia/Makefile	Tue Jan 19 05:52:58 2016	(r406633)
@@ -0,0 +1,25 @@
+# $FreeBSD$
+
+PORTNAME=	nestopia
+PORTVERSION=	1.47
+CATEGORIES=	emulators
+
+MAINTAINER=	neel@neelc.org
+COMMENT=	Portable NES/Famicom emulator
+
+LICENSE=	GPLv2
+
+LIB_DEPENDS=	libao.so:${PORTSDIR}/audio/libao
+
+USES=		gmake libarchive pkgconfig
+USE_GL=		glu
+USE_GNOME=	gtk30
+USE_SDL=	sdl2
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	rdanbrook
+
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+
+.include <bsd.port.mk>

Added: head/emulators/nestopia/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/emulators/nestopia/distinfo	Tue Jan 19 05:52:58 2016	(r406633)
@@ -0,0 +1,2 @@
+SHA256 (rdanbrook-nestopia-1.47_GH0.tar.gz) = 915db5aeeda5c9e800a96dac229766d82c0990a7ee165a30317a62bfabccf9b7
+SIZE (rdanbrook-nestopia-1.47_GH0.tar.gz) = 1271675

Added: head/emulators/nestopia/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/emulators/nestopia/files/patch-Makefile	Tue Jan 19 05:52:58 2016	(r406633)
@@ -0,0 +1,29 @@
+--- Makefile.orig	2016-01-15 15:25:05.060978417 -0500
++++ Makefile	2016-01-15 19:19:38.773106245 -0500
+@@ -395,16 +395,16 @@
+ 	$(CC) $(LDFLAGS) $^ $(LIBS) -o $(BIN)
+ 
+ install:
+-	mkdir -p $(BINDIR)
+-	mkdir -p $(DATADIR)/icons
+-	mkdir -p $(PREFIX)/share/pixmaps
+-	install -m 0755 $(BIN) $(BINDIR)
+-	install -m 0644 source/unix/icons/nestopia.desktop $(DATADIR)
+-	install -m 0644 NstDatabase.xml $(DATADIR)
+-	install -m 0644 source/unix/icons/*.png $(DATADIR)/icons
+-	install -m 0644 source/unix/icons/*.svg $(DATADIR)/icons
+-	install -m 0644 source/unix/icons/nestopia.svg $(PREFIX)/share/pixmaps
+-	xdg-desktop-menu install --novendor $(DATADIR)/nestopia.desktop
++	mkdir -p $(DESTDIR)$(BINDIR)
++	mkdir -p $(DESTDIR)$(DATADIR)/icons
++	mkdir -p $(DESTDIR)$(PREFIX)/share/pixmaps
++	install -m 0755 $(BIN) $(DESTDIR)$(BINDIR)
++	install -m 0644 source/unix/icons/nestopia.desktop $(DESTDIR)$(DATADIR)
++	install -m 0644 NstDatabase.xml $(DESTDIR)$(DATADIR)
++	install -m 0644 source/unix/icons/*.png $(DESTDIR)$(DATADIR)/icons
++	install -m 0644 source/unix/icons/*.svg $(DESTDIR)$(DATADIR)/icons
++	install -m 0644 source/unix/icons/nestopia.svg $(DESTDIR)$(PREFIX)/share/pixmaps
++	install -m 0644 source/unix/icons/nestopia.desktop $(DESTDIR)$(PREFIX)/share/applications/nestopia.desktop
+ 
+ uninstall:
+ 	xdg-desktop-menu uninstall $(DATADIR)/nestopia.desktop

Added: head/emulators/nestopia/files/patch-source_unix_gtkui_gtkui.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/emulators/nestopia/files/patch-source_unix_gtkui_gtkui.h	Tue Jan 19 05:52:58 2016	(r406633)
@@ -0,0 +1,10 @@
+--- ./source/unix/gtkui/gtkui.h.orig	2016-01-09 18:34:38 -0500
++++ ./source/unix/gtkui/gtkui.h	2016-01-15 11:34:58 -0500
+@@ -8,7 +8,6 @@
+ #elif _APPLE
+ #else
+ #include <gdk/gdkx.h>
+-#include <gdk/gdkwayland.h>
+ #endif
+ 
+ void gtkui_init(int argc, char *argv[]);

Added: head/emulators/nestopia/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/emulators/nestopia/pkg-descr	Tue Jan 19 05:52:58 2016	(r406633)
@@ -0,0 +1,7 @@
+Nestopia is a portable NES/Famicom emulator written in C++.
+
+Nestopia UE (Undead Edition) is a fork of the original source code, with
+enhancements from members of the emulation community. This includes
+support for new platforms, and bug fixes in the emulator core.
+
+WWW: http://0ldsk00l.ca/nestopia/

Added: head/emulators/nestopia/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/emulators/nestopia/pkg-plist	Tue Jan 19 05:52:58 2016	(r406633)
@@ -0,0 +1,12 @@
+bin/nestopia
+share/pixmaps/nestopia.svg
+share/applications/nestopia.desktop
+%%DATADIR%%/icons/nestopia.svg
+%%DATADIR%%/icons/nespad.svg
+%%DATADIR%%/icons/nestopia48.png
+%%DATADIR%%/icons/nestopia96.png
+%%DATADIR%%/icons/nestopia32.png
+%%DATADIR%%/icons/nestopia128.png
+%%DATADIR%%/icons/nestopia64.png
+%%DATADIR%%/NstDatabase.xml
+%%DATADIR%%/nestopia.desktop



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601190552.u0J5qwXf060533>