Skip to content

Commit

Permalink
games/SpaceCadetPinball: Update to 2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
neelchauhan committed Feb 16, 2024
1 parent 67f7186 commit 1441e2e
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 37 deletions.
5 changes: 1 addition & 4 deletions games/SpaceCadetPinball/Makefile
@@ -1,6 +1,5 @@
PORTNAME= SpaceCadetPinball
PORTVERSION= 2.0.1
PORTREVISION= 2
PORTVERSION= 2.1.0
DISTVERSIONPREFIX= Release_
CATEGORIES= games

Expand All @@ -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>
6 changes: 3 additions & 3 deletions games/SpaceCadetPinball/distinfo
@@ -1,3 +1,3 @@
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
17 changes: 3 additions & 14 deletions games/SpaceCadetPinball/files/patch-CMakeLists.txt
@@ -1,6 +1,6 @@
--- 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)
Expand All @@ -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()

Expand All @@ -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")
16 changes: 0 additions & 16 deletions games/SpaceCadetPinball/files/patch-SpaceCadetPinball_pch.h

This file was deleted.

8 changes: 8 additions & 0 deletions games/SpaceCadetPinball/pkg-plist
@@ -0,0 +1,8 @@
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 comments on commit 1441e2e

Please sign in to comment.