diff --git a/games/SpaceCadetPinball-devel/Makefile b/games/SpaceCadetPinball-devel/Makefile index d41d3c4a139a..fd376af05ab6 100644 --- a/games/SpaceCadetPinball-devel/Makefile +++ b/games/SpaceCadetPinball-devel/Makefile @@ -1,24 +1,23 @@ PORTNAME= SpaceCadetPinball -PORTVERSION= 2.0.1.20230103 +PORTVERSION= 2.1.0.20240127 DISTVERSIONPREFIX= Release_ -PORTREVISION= 1 CATEGORIES= games PKGNAMESUFFIX= -devel MAINTAINER= nc@FreeBSD.org COMMENT= Decompilation of 3D Pinball for Windows (development version) WWW= https://github.com/k4zmu2a/SpaceCadetPinball LICENSE= MIT USES= cmake sdl xorg USE_GITHUB= yes GH_ACCOUNT= k4zmu2a GH_PROJECT= SpaceCadetPinball -GH_TAGNAME= 10ff114 +GH_TAGNAME= 73262ae USE_SDL= mixer2 sdl2 USE_XORG= ice sm x11 xext .include diff --git a/games/SpaceCadetPinball-devel/distinfo b/games/SpaceCadetPinball-devel/distinfo index 5e490291be0a..bb26ad67db54 100644 --- a/games/SpaceCadetPinball-devel/distinfo +++ b/games/SpaceCadetPinball-devel/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1674104895 -SHA256 (k4zmu2a-SpaceCadetPinball-Release_2.0.1.20230103-10ff114_GH0.tar.gz) = f8d1e8a1e9772b79ec3e09436a77425ac151ae092b9713f3edeb6fe9b10ce2f0 -SIZE (k4zmu2a-SpaceCadetPinball-Release_2.0.1.20230103-10ff114_GH0.tar.gz) = 2025600 +TIMESTAMP = 1708058454 +SHA256 (k4zmu2a-SpaceCadetPinball-Release_2.1.0.20240127-73262ae_GH0.tar.gz) = b3a72cd0229b94a88421f628d4f2a8e945657006c6f2454cbfd426bdb4d8d5ef +SIZE (k4zmu2a-SpaceCadetPinball-Release_2.1.0.20240127-73262ae_GH0.tar.gz) = 3219469 diff --git a/games/SpaceCadetPinball-devel/files/patch-CMakeLists.txt b/games/SpaceCadetPinball-devel/files/patch-CMakeLists.txt index fec30ec3f594..4312d114b9d2 100644 --- a/games/SpaceCadetPinball-devel/files/patch-CMakeLists.txt +++ b/games/SpaceCadetPinball-devel/files/patch-CMakeLists.txt @@ -1,23 +1,23 @@ ---- CMakeLists.txt.orig 2022-01-12 14:26:31 UTC +--- CMakeLists.txt.orig 2023-10-16 06:14:43 UTC +++ CMakeLists.txt -@@ -24,8 +24,10 @@ set(SDL2_BUILDING_LIBRARY ON) +@@ -32,9 +32,10 @@ find_package(SDL2 REQUIRED) + set(SDL2_BUILDING_LIBRARY ON) find_package(SDL2 REQUIRED) - FIND_PACKAGE(SDL2_mixer REQUIRED) +find_package(X11 REQUIRED) -+link_libraries(${X11_LIBRARIES}) + FIND_PACKAGE(SDL2_mixer REQUIRED) -include_directories(${SDL2_INCLUDE_DIR} ${SDL2_MIXER_INCLUDE_DIR}) +include_directories(${SDL2_INCLUDE_DIR} ${SDL2_MIXER_INCLUDE_DIR} ${X11_INCLUDE_DIR}) get_property(dirs DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY INCLUDE_DIRECTORIES) foreach(dir ${dirs}) message(STATUS "Include dir='${dir}'") -@@ -200,6 +202,8 @@ if(${CMAKE_VERSION} VERSION_GREATER "3.16.0" OR ${CMAK +@@ -215,7 +216,7 @@ endif() + ) endif() - target_link_libraries(SpaceCadetPinball ${SDL2_LIBRARY} ${SDL2_MIXER_LIBRARY}) -+ -+install(TARGETS SpaceCadetPinball DESTINATION bin) +-target_link_libraries(SpaceCadetPinball ${SDL2_LIBRARY} ${SDL2_MIXER_LIBRARY}) ++target_link_libraries(SpaceCadetPinball ${SDL2_LIBRARY} ${SDL2_MIXER_LIBRARY} ${X11_LIBRARIES}) # On Windows, copy DLL to output if(WIN32) diff --git a/games/SpaceCadetPinball-devel/pkg-plist b/games/SpaceCadetPinball-devel/pkg-plist index 7d33894f6ff9..476fbc681c77 100644 --- a/games/SpaceCadetPinball-devel/pkg-plist +++ b/games/SpaceCadetPinball-devel/pkg-plist @@ -1,8 +1,8 @@ bin/SpaceCadetPinball -share/applications/SpaceCadetPinball.desktop -share/icons/hicolor/128x128/apps/SpaceCadetPinball.png +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