From nobody Thu Oct 14 18:04:55 2021 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 1097217FDE12; Thu, 14 Oct 2021 18:04:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HVckH73Qvz4V13; Thu, 14 Oct 2021 18:04:55 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C74BA17F8C; Thu, 14 Oct 2021 18:04:55 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 19EI4tlM095654; Thu, 14 Oct 2021 18:04:55 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 19EI4tZ8095653; Thu, 14 Oct 2021 18:04:55 GMT (envelope-from git) Date: Thu, 14 Oct 2021 18:04:55 GMT Message-Id: <202110141804.19EI4tZ8095653@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Neel Chauhan Subject: git: c6e42b9cb873 - main - games/SpaceCadetPinball: Decompilation of 3D Pinball for Windows List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: nc X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c6e42b9cb8733e947f25d40e206313c287ba84e1 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by nc: URL: https://cgit.FreeBSD.org/ports/commit/?id=c6e42b9cb8733e947f25d40e206313c287ba84e1 commit c6e42b9cb8733e947f25d40e206313c287ba84e1 Author: Neel Chauhan AuthorDate: 2021-10-14 16:46:40 +0000 Commit: Neel Chauhan CommitDate: 2021-10-14 18:04:51 +0000 games/SpaceCadetPinball: Decompilation of 3D Pinball for Windows --- games/Makefile | 1 + games/SpaceCadetPinball/Makefile | 22 ++++++++++++++++ games/SpaceCadetPinball/distinfo | 3 +++ games/SpaceCadetPinball/files/patch-CMakeLists.txt | 30 ++++++++++++++++++++++ games/SpaceCadetPinball/pkg-descr | 3 +++ games/SpaceCadetPinball/pkg-message | 13 ++++++++++ 6 files changed, 72 insertions(+) diff --git a/games/Makefile b/games/Makefile index cae037efb8fc..6f2db140e767 100644 --- a/games/Makefile +++ b/games/Makefile @@ -19,6 +19,7 @@ SUBDIR += OpenLara SUBDIR += OpenTomb SUBDIR += SRB2 + SUBDIR += SpaceCadetPinball SUBDIR += abbayedesmorts SUBDIR += abe SUBDIR += abstreet diff --git a/games/SpaceCadetPinball/Makefile b/games/SpaceCadetPinball/Makefile new file mode 100644 index 000000000000..2ca3b0dfefd8 --- /dev/null +++ b/games/SpaceCadetPinball/Makefile @@ -0,0 +1,22 @@ +PORTNAME= SpaceCadetPinball +PORTVERSION= 1.1.1.20211010 +CATEGORIES= games + +MAINTAINER= nc@FreeBSD.org +COMMENT= Decompilation of 3D Pinball for Windows + +LICENSE= MIT + +USES= cmake sdl xorg + +USE_GITHUB= yes +GH_ACCOUNT= k4zmu2a +GH_PROJECT= SpaceCadetPinball +GH_TAGNAME= 5947727f8031db306126c49b9e4b6043da13ea22 + +USE_SDL= mixer2 sdl2 +USE_XORG= ice sm x11 xext + +PLIST_FILES= bin/SpaceCadetPinball + +.include diff --git a/games/SpaceCadetPinball/distinfo b/games/SpaceCadetPinball/distinfo new file mode 100644 index 000000000000..e9c67f74500d --- /dev/null +++ b/games/SpaceCadetPinball/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1634173384 +SHA256 (k4zmu2a-SpaceCadetPinball-1.1.1.20211010-5947727f8031db306126c49b9e4b6043da13ea22_GH0.tar.gz) = 88722eed058635dd939d23094bafe9dd31e51a55180f77ee16b4670538a33f3f +SIZE (k4zmu2a-SpaceCadetPinball-1.1.1.20211010-5947727f8031db306126c49b9e4b6043da13ea22_GH0.tar.gz) = 931976 diff --git a/games/SpaceCadetPinball/files/patch-CMakeLists.txt b/games/SpaceCadetPinball/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..b5954264b6f8 --- /dev/null +++ b/games/SpaceCadetPinball/files/patch-CMakeLists.txt @@ -0,0 +1,30 @@ +--- CMakeLists.txt.orig 2021-10-10 14:13:43 UTC ++++ CMakeLists.txt +@@ -24,8 +24,10 @@ set(SDL2_BUILDING_LIBRARY ON) + + find_package(SDL2 REQUIRED) + FIND_PACKAGE(SDL2_mixer REQUIRED) ++find_package(X11 REQUIRED) ++link_libraries(${X11_LIBRARIES}) + +-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}'") +@@ -197,6 +199,8 @@ target_precompile_headers(SpaceCadetPinball + ) + + target_link_libraries(SpaceCadetPinball ${SDL2_LIBRARY} ${SDL2_MIXER_LIBRARY}) ++ ++install(TARGETS SpaceCadetPinball DESTINATION bin) + + # On Windows, copy DLL to output + if(WIN32) +@@ -213,4 +217,4 @@ if(WIN32) + COMMAND ${CMAKE_COMMAND} -E copy_if_different "${SDL2_DLL_PATH}/SDL2.dll" $ + COMMAND ${CMAKE_COMMAND} -E copy_if_different "${SDL2_MIXER_DLL_PATH}/SDL2_mixer.dll" $ + ) +-endif() +\ No newline at end of file ++endif() diff --git a/games/SpaceCadetPinball/pkg-descr b/games/SpaceCadetPinball/pkg-descr new file mode 100644 index 000000000000..7631a457c5f7 --- /dev/null +++ b/games/SpaceCadetPinball/pkg-descr @@ -0,0 +1,3 @@ +Decompilation of Space Cadet - 3D Pinball for Windows. + +WWW: https://github.com/k4zmu2a/SpaceCadetPinball diff --git a/games/SpaceCadetPinball/pkg-message b/games/SpaceCadetPinball/pkg-message new file mode 100644 index 000000000000..d8bf387cdc10 --- /dev/null +++ b/games/SpaceCadetPinball/pkg-message @@ -0,0 +1,13 @@ +[ +{ type: install + message: <