summaryrefslogtreecommitdiff
path: root/community/nestopia/build-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/nestopia/build-fix.patch')
-rw-r--r--community/nestopia/build-fix.patch25
1 files changed, 12 insertions, 13 deletions
diff --git a/community/nestopia/build-fix.patch b/community/nestopia/build-fix.patch
index 7b8609f8d..a7d82ead1 100644
--- a/community/nestopia/build-fix.patch
+++ b/community/nestopia/build-fix.patch
@@ -1,19 +1,18 @@
-diff -wbBur rdanbrook-nestopia-53aa38a/Makefile rdanbrook-nestopia-53aa38a.my/Makefile
---- rdanbrook-nestopia-53aa38a/Makefile 2012-09-26 04:21:32.000000000 +0400
-+++ rdanbrook-nestopia-53aa38a.my/Makefile 2012-10-01 21:12:08.000000000 +0400
-@@ -186,12 +186,12 @@
+diff -wbBur rdanbrook-nestopia-f1dde9b/Makefile rdanbrook-nestopia-f1dde9b.my/Makefile
+--- rdanbrook-nestopia-f1dde9b/Makefile 2013-01-20 20:10:25.000000000 +0400
++++ rdanbrook-nestopia-f1dde9b.my/Makefile 2013-01-21 15:18:54.727577673 +0400
+@@ -197,11 +197,11 @@
install -m 0644 NstDatabase.xml $(DATADIR)
- install -m 0644 source/linux/icons/*.png $(DATADIR)/icons
- install -m 0644 source/linux/icons/*.svg $(DATADIR)/icons
-- install -m 0644 source/linux/icons/nestopia.svg /usr/share/pixmaps
+ 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
-+ install -Dm0644 source/linux/icons/nestopia.svg $(PREFIX)/share/pixmaps/nestopia.svg
++ install -m 0644 source/unix/icons/nestopia.svg $(PREFIX)/share/pixmaps/nestopia.svg
+ install -Dm0644 $(DATADIR)/nestopia.desktop $(PREFIX)/share/applications/nestopia.desktop
uninstall:
- xdg-desktop-menu uninstall $(DATADIR)/nestopia.desktop
-- rm /usr/share/pixmaps/nestopia.svg
-+ rm $(PREFIX)/share/pixmaps/nestopia.svg
- rm $(BINDIR)/$(EXE)
+- xdg-desktop-menu uninstall $(DATADIR)/nestopia.desktop
++ rm $(PREFIX)/share/applications/nestopia.desktop
+ rm $(PREFIX)/share/pixmaps/nestopia.svg
+ rm $(BINDIR)/$(BIN)
rm -rf $(DATADIR)
-