summaryrefslogtreecommitdiff
path: root/games-emulation/fceux/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-06-29 10:15:54 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-06-29 10:15:54 +0100
commit9aa80713372911cec499b3adb2cd746790920916 (patch)
treeb8e99dc5dd60ac2094a27cc52f74aada8df38f05 /games-emulation/fceux/files
parentb4d43e8c611df4a8061b6f88d9e9f6b1e3c83903 (diff)
gentoo resync : 29.06.2021
Diffstat (limited to 'games-emulation/fceux/files')
-rw-r--r--games-emulation/fceux/files/fceux-2.4.0-desktop.patch18
-rw-r--r--games-emulation/fceux/files/fceux-2.4.0-no-git.patch12
2 files changed, 30 insertions, 0 deletions
diff --git a/games-emulation/fceux/files/fceux-2.4.0-desktop.patch b/games-emulation/fceux/files/fceux-2.4.0-desktop.patch
new file mode 100644
index 000000000000..e1f924be5246
--- /dev/null
+++ b/games-emulation/fceux/files/fceux-2.4.0-desktop.patch
@@ -0,0 +1,18 @@
+Remove hardcoded paths from .desktop, not replacing with
+make_desktop_entry given upstream's also defines MimeType.
+--- a/fceux.desktop
++++ b/fceux.desktop
+@@ -7,4 +7,4 @@
+ Comment=Emulate NES ROMs
+-Exec=/usr/bin/fceux %f
+-Icon=/usr/share/pixmaps/fceux1.png
++Exec=fceux %f
++Icon=fceux1
+ Terminal=false
+@@ -17,3 +17,2 @@
+ Exec=fceux -f 1
+-OnlyShowIn=Unity
+ [Desktop Action DefaultConfig]
+@@ -21,2 +20 @@
+ Exec=fceux --no-config 1
+-OnlyShowIn=Unity
diff --git a/games-emulation/fceux/files/fceux-2.4.0-no-git.patch b/games-emulation/fceux/files/fceux-2.4.0-no-git.patch
new file mode 100644
index 000000000000..fe9a7d35b46b
--- /dev/null
+++ b/games-emulation/fceux/files/fceux-2.4.0-no-git.patch
@@ -0,0 +1,12 @@
+Prevent meaningless use of git (QA notice if missing) in a release.
+--- a/scripts/genGitHdr.sh
++++ b/scripts/genGitHdr.sh
+@@ -8,6 +8,6 @@
+ echo "Output File: $OUTPUT_DIR/$FILE";
+
+-GIT_URL=`git config --get remote.origin.url`;
+-GIT_REV=`git rev-parse HEAD`;
++GIT_URL=
++GIT_REV=
+
+ echo "// fceux_git_info.cpp -- DO NOT EDIT: This file is auto-generated at build" >| $TMP_FILE;