pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

fallout1-ce: import fallout1-ce-1.0.0 as wip/fallout1-ce



Module Name:	pkgsrc-wip
Committed By:	Yorick Hardy <yorickhardy%gmail.com@localhost>
Pushed By:	yhardy
Date:		Mon May 1 14:43:21 2023 +0200
Changeset:	22056a71ecd9be14a219e00d6f3cc5c50d626df9

Modified Files:
	Makefile
Added Files:
	fallout1-ce/DESCR
	fallout1-ce/Makefile
	fallout1-ce/PLIST
	fallout1-ce/distinfo
	fallout1-ce/patches/patch-CMakeLists.txt

Log Message:
fallout1-ce: import fallout1-ce-1.0.0 as wip/fallout1-ce

Fallout 1 Community Edition is a fully working re-implementation
of Fallout, 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=22056a71ecd9be14a219e00d6f3cc5c50d626df9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                                 |  1 +
 fallout1-ce/DESCR                        |  4 ++++
 fallout1-ce/Makefile                     | 23 +++++++++++++++++++++++
 fallout1-ce/PLIST                        |  2 ++
 fallout1-ce/distinfo                     |  6 ++++++
 fallout1-ce/patches/patch-CMakeLists.txt | 19 +++++++++++++++++++
 6 files changed, 55 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index d9bf0810f1..716705b1cf 100644
--- a/Makefile
+++ b/Makefile
@@ -847,6 +847,7 @@ SUBDIR+=	facedetect
 SUBDIR+=	fairymax
 SUBDIR+=	fakenes
 SUBDIR+=	fala
+SUBDIR+=	fallout1-ce
 SUBDIR+=	famsa
 SUBDIR+=	farsi-ttf
 SUBDIR+=	fasda
diff --git a/fallout1-ce/DESCR b/fallout1-ce/DESCR
new file mode 100644
index 0000000000..49ce418d7a
--- /dev/null
+++ b/fallout1-ce/DESCR
@@ -0,0 +1,4 @@
+Fallout 1 Community Edition is a fully working re-implementation
+of Fallout, with the same original gameplay, engine bugfixes,
+and some quality of life improvements, that works (mostly) hassle-free
+on multiple platforms.
diff --git a/fallout1-ce/Makefile b/fallout1-ce/Makefile
new file mode 100644
index 0000000000..79efac74da
--- /dev/null
+++ b/fallout1-ce/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD$
+
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+DISTNAME=	fallout1-ce-1.0.0
+CATEGORIES=	games
+MASTER_SITES=	${MASTER_SITE_GITHUB:=alexbatalov/}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/alexbatalov/fallout1-ce/
+COMMENT=	Re-implementation of Fallout 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}/fallout-ce ${DESTDIR}${PREFIX}/bin/
+
+.include "../../devel/SDL2/buildlink3.mk"
+.include "../../devel/cmake/build.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/fallout1-ce/PLIST b/fallout1-ce/PLIST
new file mode 100644
index 0000000000..f4032423d4
--- /dev/null
+++ b/fallout1-ce/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+bin/fallout-ce
diff --git a/fallout1-ce/distinfo b/fallout1-ce/distinfo
new file mode 100644
index 0000000000..cea160560c
--- /dev/null
+++ b/fallout1-ce/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+BLAKE2s (fallout1-ce-1.0.0.tar.gz) = b88c7c1e78dc43760c1a3e9e25f8596f3892af62d35649cc4064d00ed1657e6f
+SHA512 (fallout1-ce-1.0.0.tar.gz) = cc68a2e8760851aa8f12bccfb7086eac60c27f77899ef1d08e05f2909eea90645892296b6b2aa8c5e0fd77deced434281bbca32afcd94e0c4c98c3192dc25969
+Size (fallout1-ce-1.0.0.tar.gz) = 3812123 bytes
+SHA1 (patch-CMakeLists.txt) = 9cb2cb26448929fa0d20358253d861a00cbb2da8
diff --git a/fallout1-ce/patches/patch-CMakeLists.txt b/fallout1-ce/patches/patch-CMakeLists.txt
new file mode 100644
index 0000000000..e505bab0f5
--- /dev/null
+++ b/fallout1-ce/patches/patch-CMakeLists.txt
@@ -0,0 +1,19 @@
+$NetBSD$
+
+Always use pkgsrc SDL2.
+
+--- CMakeLists.txt.orig	2023-02-09 19:13:05.000000000 +0000
++++ CMakeLists.txt
+@@ -314,11 +314,7 @@ if(APPLE)
+     set(MACOSX_BUNDLE_BUNDLE_VERSION "1.0.0")
+ endif()
+ 
+-if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Linux")
+-    add_subdirectory("third_party/sdl2")
+-else()
+-    find_package(SDL2)
+-endif()
++find_package(SDL2)
+ 
+ add_subdirectory("third_party/fpattern")
+ target_link_libraries(${EXECUTABLE_NAME} ${FPATTERN_LIBRARY})


Home | Main Index | Thread Index | Old Index