diff options
Diffstat (limited to 'games/higan/higan-v092.patch')
-rw-r--r-- | games/higan/higan-v092.patch | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/games/higan/higan-v092.patch b/games/higan/higan-v092.patch new file mode 100644 index 0000000000..dcd3604b4a --- /dev/null +++ b/games/higan/higan-v092.patch @@ -0,0 +1,50 @@ +diff -Nur higan_v092-source.orig/ananke/Makefile higan_v092-source/ananke/Makefile +--- higan_v092-source.orig/ananke/Makefile 2013-01-12 17:18:14.000000000 -0600 ++++ higan_v092-source/ananke/Makefile 2013-06-03 15:46:20.887735981 -0500 +@@ -26,7 +26,6 @@ + + install: uninstall + ifeq ($(platform),x) +- if [ ! -d ~/.config/ananke ]; then mkdir ~/.config/ananke; fi + sudo cp libananke.so $(path)/libananke.so.1 + sudo ln -s $(path)/libananke.so.1 $(path)/libananke.so + endif +diff -Nur higan_v092-source.orig/higan/target-ethos/Makefile higan_v092-source/higan/target-ethos/Makefile +--- higan_v092-source.orig/higan/target-ethos/Makefile 2013-01-12 15:59:47.000000000 -0600 ++++ higan_v092-source/higan/target-ethos/Makefile 2013-06-03 15:46:38.235227179 -0500 +@@ -17,7 +17,7 @@ + # platform + ifeq ($(platform),x) + ruby := video.glx video.xv video.sdl +- ruby += audio.alsa audio.openal audio.oss audio.pulseaudio audio.pulseaudiosimple audio.ao ++ ruby += audio.alsa audio.openal audio.oss audio.ao + ruby += input.sdl input.x + else ifeq ($(platform),osx) + ruby := +@@ -80,18 +80,14 @@ + sourcery $(ui)/resource/resource.bml $(ui)/resource/resource.cpp $(ui)/resource/resource.hpp + + install: +-ifeq ($(USER),root) +- @echo Please do not run make install as root. +- @echo The installer needs to know your home directory to install important files. +-else ifeq ($(platform),x) +- sudo install -D -m 755 out/$(name) $(DESTDIR)$(prefix)/bin/$(name) +- sudo install -D -m 644 data/$(name).png $(DESTDIR)$(prefix)/share/pixmaps/$(name).png +- sudo install -D -m 644 data/$(name).desktop $(DESTDIR)$(prefix)/share/applications/$(name).desktop +- +- mkdir -p ~/.config/$(name) +- cp -R profile/* ~/.config/$(name) +- cp data/cheats.bml ~/.config/$(name)/cheats.bml +- chmod -R 777 ~/.config/$(name) ++ifeq ($(platform),x) ++ install -D -m 755 out/$(name) $(DESTDIR)$(prefix)/bin/$(name) ++ install -D -m 644 data/$(name).png $(DESTDIR)$(prefix)/share/pixmaps/$(name).png ++ install -D -m 644 data/$(name).desktop $(DESTDIR)$(prefix)/share/applications/$(name).desktop ++ install -d -m 755 $(DESTDIR)$(prefix)/share/$(name)/profile ++ cp -R profile/* $(DESTDIR)$(prefix)/share/$(name)/profile ++ install -m 644 data/cheats.bml $(DESTDIR)$(prefix)/share/$(name)/profile/cheats.bml ++ chmod -R 644 $(DESTDIR)$(prefix)/share/$(name)/profile/*/* + endif + + uninstall: |