Skip to content
Snippets Groups Projects
Commit 1441e2e7 authored by Neel Chauhan's avatar Neel Chauhan
Browse files

games/SpaceCadetPinball: Update to 2.1.0

parent 67f7186f
No related branches found
No related tags found
No related merge requests found
PORTNAME= SpaceCadetPinball
PORTVERSION= 2.0.1
PORTREVISION= 2
PORTVERSION= 2.1.0
DISTVERSIONPREFIX= Release_
CATEGORIES= games
......@@ -19,6 +18,4 @@ GH_PROJECT= SpaceCadetPinball
USE_SDL= mixer2 sdl2
USE_XORG= ice sm x11 xext
PLIST_FILES= bin/SpaceCadetPinball
.include <bsd.port.mk>
TIMESTAMP = 1641229815
SHA256 (k4zmu2a-SpaceCadetPinball-Release_2.0.1_GH0.tar.gz) = 7b71815339c86a428d3569a5235c6ece0e2d4ff1d8025984ede6f772ca4f5423
SIZE (k4zmu2a-SpaceCadetPinball-Release_2.0.1_GH0.tar.gz) = 1882629
TIMESTAMP = 1708058258
SHA256 (k4zmu2a-SpaceCadetPinball-Release_2.1.0_GH0.tar.gz) = b647dc59abad3d52378b9f67ff4fb70a37e9752afaff1d098b71028cad29b8d6
SIZE (k4zmu2a-SpaceCadetPinball-Release_2.1.0_GH0.tar.gz) = 3219590
--- CMakeLists.txt.orig 2021-12-29 06:46:09 UTC
--- CMakeLists.txt.orig 2023-10-16 06:14:43 UTC
+++ CMakeLists.txt
@@ -23,9 +23,10 @@ endif()
@@ -32,9 +32,10 @@ find_package(SDL2 REQUIRED)
set(SDL2_BUILDING_LIBRARY ON)
find_package(SDL2 REQUIRED)
......@@ -12,7 +12,7 @@
get_property(dirs DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY INCLUDE_DIRECTORIES)
foreach(dir ${dirs})
message(STATUS "Include dir='${dir}'")
@@ -199,7 +200,7 @@ if(${CMAKE_VERSION} VERSION_GREATER "3.16.0" OR ${CMAK
@@ -215,7 +216,7 @@ endif()
)
endif()
......@@ -21,14 +21,3 @@
# On Windows, copy DLL to output
if(WIN32)
@@ -221,8 +222,8 @@ endif()
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")
Fix SDL_Mixer version detection broken after SDL_mixer 2.6.1.
This is already fixed in SpaceCadetPinball master after 2.0.1.
--- SpaceCadetPinball/pch.h.orig 2021-12-29 06:46:09 UTC
+++ SpaceCadetPinball/pch.h
@@ -37,11 +37,7 @@
// MIX_INIT_FLUIDSYNTH was renamed to MIX_INIT_MID in SDL_mixer v2.0.2
constexpr int MIX_INIT_MID_Proxy =
-#if SDL_MIXER_PATCHLEVEL >= 2
MIX_INIT_MID;
-#else
- MIX_INIT_FLUIDSYNTH;
-#endif
//https://github.com/ocornut/imgui 7b913db1ce9dd2fd98e5790aa59974dd4496be3b
#include "imgui.h"
bin/SpaceCadetPinball
share/applications/SpaceCadetPinball.desktop
share/icons/hicolor/128x128/apps/SpaceCadetPinball.png
share/icons/hicolor/16x16/apps/SpaceCadetPinball.png
share/icons/hicolor/192x192/apps/SpaceCadetPinball.png
share/icons/hicolor/32x32/apps/SpaceCadetPinball.png
share/icons/hicolor/48x48/apps/SpaceCadetPinball.png
share/metainfo/SpaceCadetPinball.metainfo.xml
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment