File: install-fceux-to-usr-games.patch

package info (click to toggle)
fceux 2.3.0%2Bdfsg1-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 8,904 kB
  • sloc: cpp: 108,328; ansic: 10,341; sh: 3,386; python: 424; pascal: 391; perl: 82; makefile: 70; lisp: 60
file content (35 lines) | stat: -rw-r--r-- 1,090 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
From: Joseph Nahmias <jello@debian.org>
Date: Wed, 13 Jan 2021 20:37:28 -0500
Subject: install fceux to /usr/games, update .desktop to match

---
 fceux.desktop      | 2 +-
 src/CMakeLists.txt | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/fceux.desktop b/fceux.desktop
index b1a9081..e02f7c2 100644
--- a/fceux.desktop
+++ b/fceux.desktop
@@ -5,7 +5,7 @@ Name=Fceux
 GenericName=NES/Famicom emulator
 NoDisplay=false
 Comment=Emulate NES ROMs
-Exec=/usr/bin/fceux
+Exec=/usr/games/fceux
 Icon=/usr/share/pixmaps/fceux1.png
 Terminal=false
 MimeType=application/x-nes-rom
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index c7285ef..8d5ee05 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -550,7 +550,7 @@ install( CODE "
 else(APPLE)
 
 install( TARGETS  ${APP_NAME}  
-	RUNTIME  DESTINATION  bin )
+	RUNTIME  DESTINATION  games )
 
 install( FILES     ${CMAKE_CURRENT_SOURCE_DIR}/auxlib.lua                DESTINATION share/fceux/luaScripts  )
 install( DIRECTORY ${CMAKE_SOURCE_DIR}/output/.                          DESTINATION share/fceux  )