emulators/nestopia: Update to 1.4.8

PR:		222058
Submitted by:	Neel Chauhan <neel@neelc.org>
This commit is contained in:
Tobias Kortkamp 2017-09-05 17:13:08 +00:00
parent 1033b5c631
commit 8e2733d414
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=449303
5 changed files with 21 additions and 55 deletions

View File

@ -1,8 +1,7 @@
# $FreeBSD$
PORTNAME= nestopia
PORTVERSION= 1.47
PORTREVISION= 1
PORTVERSION= 1.48
CATEGORIES= emulators
MAINTAINER= neel@neelc.org
@ -10,16 +9,18 @@ COMMENT= Portable NES/Famicom emulator
LICENSE= GPLv2
LIB_DEPENDS= libao.so:audio/libao
LIB_DEPENDS= libao.so:audio/libao libepoxy.so:graphics/libepoxy
USES= gmake libarchive pkgconfig
USES= cmake desktop-file-utils libarchive localbase:ldflags pkgconfig
USE_GL= glu
USE_GNOME= gtk30
USE_GNOME= cairo gdkpixbuf2 gtk30
USE_SDL= sdl2
USE_GITHUB= yes
GH_ACCOUNT= rdanbrook
INSTALLS_ICONS= yes
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}

View File

@ -1,2 +1,3 @@
SHA256 (rdanbrook-nestopia-1.47_GH0.tar.gz) = 915db5aeeda5c9e800a96dac229766d82c0990a7ee165a30317a62bfabccf9b7
SIZE (rdanbrook-nestopia-1.47_GH0.tar.gz) = 1271675
TIMESTAMP = 1504559258
SHA256 (rdanbrook-nestopia-1.48_GH0.tar.gz) = fb6629b5d0da8548bbf5beb387209d1958358b303e5a2100a94491497e019ea0
SIZE (rdanbrook-nestopia-1.48_GH0.tar.gz) = 1263143

View File

@ -1,29 +0,0 @@
--- 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

View File

@ -1,10 +0,0 @@
--- ./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[]);

View File

@ -1,12 +1,15 @@
bin/nestopia
share/pixmaps/nestopia.svg
share/icons/hicolor/128x128/apps/nestopia.png
share/icons/hicolor/32x32/apps/nestopia.png
share/icons/hicolor/48x48/apps/nestopia.png
share/icons/hicolor/64x64/apps/nestopia.png
share/icons/hicolor/96x96/apps/nestopia.png
share/icons/hicolor/scalable/apps/nespad.svg
share/icons/hicolor/scalable/apps/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
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/README.md
%%PORTDOCS%%%%DOCSDIR%%/README.unix
%%PORTDOCS%%%%DOCSDIR%%/html/readme.html