pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
fallout2-ce: import fallout2-ce-1.2.0 as wip/fallout2-ce
Module Name: pkgsrc-wip
Committed By: Yorick Hardy <yorickhardy%gmail.com@localhost>
Pushed By: yhardy
Date: Mon May 1 14:44:23 2023 +0200
Changeset: b6a1e24788cfa07b54d491623bf1151318cad3c0
Modified Files:
Makefile
Added Files:
fallout2-ce/DESCR
fallout2-ce/Makefile
fallout2-ce/PLIST
fallout2-ce/distinfo
fallout2-ce/patches/patch-CMakeLists.txt
Log Message:
fallout2-ce: import fallout2-ce-1.2.0 as wip/fallout2-ce
Fallout 2 Community Edition is a fully working re-implementation
of Fallout 2, with the same original gameplay, engine bugfixes,
and some quality of life improvements, that works (mostly) hassle-free
on multiple platforms.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b6a1e24788cfa07b54d491623bf1151318cad3c0
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
fallout2-ce/DESCR | 4 ++++
fallout2-ce/Makefile | 24 ++++++++++++++++++++++++
fallout2-ce/PLIST | 2 ++
fallout2-ce/distinfo | 6 ++++++
fallout2-ce/patches/patch-CMakeLists.txt | 22 ++++++++++++++++++++++
6 files changed, 59 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 716705b1cf..f60bb5ed3e 100644
--- a/Makefile
+++ b/Makefile
@@ -848,6 +848,7 @@ SUBDIR+= fairymax
SUBDIR+= fakenes
SUBDIR+= fala
SUBDIR+= fallout1-ce
+SUBDIR+= fallout2-ce
SUBDIR+= famsa
SUBDIR+= farsi-ttf
SUBDIR+= fasda
diff --git a/fallout2-ce/DESCR b/fallout2-ce/DESCR
new file mode 100644
index 0000000000..39a8283486
--- /dev/null
+++ b/fallout2-ce/DESCR
@@ -0,0 +1,4 @@
+Fallout 2 Community Edition is a fully working re-implementation
+of Fallout 2, with the same original gameplay, engine bugfixes,
+and some quality of life improvements, that works (mostly) hassle-free
+on multiple platforms.
diff --git a/fallout2-ce/Makefile b/fallout2-ce/Makefile
new file mode 100644
index 0000000000..4367506fd2
--- /dev/null
+++ b/fallout2-ce/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD$
+
+GITHUB_TAG= v${PKGVERSION_NOREV}
+DISTNAME= fallout2-ce-1.2.0
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_GITHUB:=alexbatalov/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/alexbatalov/fallout2-ce/
+COMMENT= Re-implementation of Fallout 2 for modern operating systems
+#LICENSE= # TODO: (see mk/license.mk) # Sustainable Use License 1.0
+
+USE_LANGUAGES= c c++
+
+INSTALLATION_DIRS+= bin
+INSTALL_TARGET= ${BUILD_TARGET}
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${CMAKE_BUILD_DIR}/fallout2-ce ${DESTDIR}${PREFIX}/bin/
+
+.include "../../devel/SDL2/buildlink3.mk"
+.include "../../devel/cmake/build.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/fallout2-ce/PLIST b/fallout2-ce/PLIST
new file mode 100644
index 0000000000..2304e7e556
--- /dev/null
+++ b/fallout2-ce/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+bin/fallout2-ce
diff --git a/fallout2-ce/distinfo b/fallout2-ce/distinfo
new file mode 100644
index 0000000000..2ef1a597fa
--- /dev/null
+++ b/fallout2-ce/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+BLAKE2s (fallout2-ce-1.2.0.tar.gz) = c85ba055636caa0727e2c6f1f35b16226ffbd7c911fb9bf16ee564ea7d201f16
+SHA512 (fallout2-ce-1.2.0.tar.gz) = 14cf2ea47290c586984fc8f95039f6ec13241d4db13b43b52ab9049cd8cd7f36f0ccfa51038effc13589106067dd6e44ed8504622ea142fb83a4d07e0fe5fd85
+Size (fallout2-ce-1.2.0.tar.gz) = 3276828 bytes
+SHA1 (patch-CMakeLists.txt) = e27029016a9a2d20c3dde4eda10afa44e0ff25f7
diff --git a/fallout2-ce/patches/patch-CMakeLists.txt b/fallout2-ce/patches/patch-CMakeLists.txt
new file mode 100644
index 0000000000..b17347c635
--- /dev/null
+++ b/fallout2-ce/patches/patch-CMakeLists.txt
@@ -0,0 +1,22 @@
+$NetBSD$
+
+Always use pkgsrc SDL2.
+
+--- CMakeLists.txt.orig 2023-01-20 07:02:02.000000000 +0000
++++ CMakeLists.txt
+@@ -328,13 +328,8 @@ add_subdirectory("third_party/fpattern")
+ target_link_libraries(${EXECUTABLE_NAME} ${FPATTERN_LIBRARY})
+ target_include_directories(${EXECUTABLE_NAME} PRIVATE ${FPATTERN_INCLUDE_DIR})
+
+-if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Linux")
+- add_subdirectory("third_party/zlib")
+- add_subdirectory("third_party/sdl2")
+-else()
+- find_package(ZLIB)
+- find_package(SDL2)
+-endif()
++find_package(ZLIB)
++find_package(SDL2)
+
+ target_link_libraries(${EXECUTABLE_NAME} ${ZLIB_LIBRARIES})
+ target_include_directories(${EXECUTABLE_NAME} PRIVATE ${ZLIB_INCLUDE_DIRS})
Home |
Main Index |
Thread Index |
Old Index