1
0
mirror of https://github.com/dguglielmi/sunny-overlay.git synced 2025-12-06 18:12:39 +01:00

games-arcade/spacecadetpinball: bump to 2.0.1, remove old

This commit is contained in:
2021-12-30 20:08:03 +01:00
parent 47a11ef9a5
commit 811e848472
5 changed files with 31 additions and 26 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

View File

@@ -0,0 +1,14 @@
diff -dNur a/CMakeLists.txt b/CMakeLists.txt
--- a/CMakeLists.txt 2021-12-29 07:46:09.000000000 +0100
+++ b/CMakeLists.txt 2021-12-30 20:01:29.621062573 +0100
@@ -221,8 +221,8 @@
if(UNIX AND NOT APPLE)
include(GNUInstallDirs)
install(TARGETS "${PROJECT_NAME}" RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}")
- install(FILES "/Platform/Linux/${PROJECT_NAME}.desktop" DESTINATION "share/applications")
- install(FILES "/Platform/Linux/${PROJECT_NAME}.metainfo.xml" DESTINATION "share/metainfo")
+ install(FILES "Platform/Linux/${PROJECT_NAME}.desktop" DESTINATION "share/applications")
+ install(FILES "Platform/Linux/${PROJECT_NAME}.metainfo.xml" DESTINATION "share/metainfo")
foreach(S 16 32 48 128 192)
install(FILES "${PROJECT_NAME}/Icon_${S}x${S}.png" DESTINATION
"share/icons/hicolor/${S}x${S}/apps" RENAME "${PROJECT_NAME}.png")

View File

@@ -1,13 +0,0 @@
diff -dNur a/SpaceCadetPinball/winmain.cpp b/SpaceCadetPinball/winmain.cpp
--- a/SpaceCadetPinball/winmain.cpp 2021-10-17 17:18:29.000000000 +0200
+++ b/SpaceCadetPinball/winmain.cpp 2021-10-17 21:11:46.800147799 +0200
@@ -56,7 +56,8 @@
SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_ERROR, "Could not initialize SDL2", SDL_GetError(), nullptr);
return 1;
}
- BasePath = SDL_GetBasePath();
+ /* BasePath = SDL_GetBasePath(); */
+ BasePath = "/usr/share/spacecadetpinball/";
pinball::quickFlag = strstr(lpCmdLine, "-quick") != nullptr;
DatFileName = options::get_string("Pinball Data", pinball::get_rc_string(168, 0));