pkgsrc-WIP-changes archive

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

rottexpr: import rottexpr-0.01 as wip/rottexpr



Module Name:	pkgsrc-wip
Committed By:	Yorick Hardy <yorickhardy%gmail.com@localhost>
Pushed By:	yhardy
Date:		Sat Jan 23 10:13:03 2021 +0200
Changeset:	63aaf2672d2e595ffd54d55fdac501e9bc5e3f73

Modified Files:
	Makefile
Added Files:
	rottexpr/DESCR
	rottexpr/Makefile
	rottexpr/PLIST
	rottexpr/distinfo
	rottexpr/patches/patch-w__wad.c

Log Message:
rottexpr: import rottexpr-0.01 as wip/rottexpr

This source port of Rise of the Triad features the following:

 - Now runs off of SDL2!
 - Support for resolutions from 320x200 all the way to 3840x2160
 - Adaptive HUD positioning (no more status bar being off to the side)
 - HUD scaling (HUD scaling for bottomless HUD coming later)
 - Support for bordered and borderless windowed modes

New gameplay options:

 * Blitzguards being outfitted with any weapon from the missile/magic weapon
   arsenal! Yes, that means Blitzguards can use excalibats too!
 * You can now pick up ammo from dropped missile weapons!
 * A special respawning enemy game mode called ZomROTT, where you have to gib
   your enemies to keep them from coming back!

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=63aaf2672d2e595ffd54d55fdac501e9bc5e3f73

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

diffstat:
 Makefile                        |  1 +
 rottexpr/DESCR                  | 15 +++++++++++++++
 rottexpr/Makefile               | 31 +++++++++++++++++++++++++++++++
 rottexpr/PLIST                  |  4 ++++
 rottexpr/distinfo               |  7 +++++++
 rottexpr/patches/patch-w__wad.c | 18 ++++++++++++++++++
 6 files changed, 76 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 85e4bcea59..b477b97a5e 100644
--- a/Makefile
+++ b/Makefile
@@ -4792,6 +4792,7 @@ SUBDIR+=	rootcheck
 SUBDIR+=	rootsh
 SUBDIR+=	rosegarden
 SUBDIR+=	rott
+SUBDIR+=	rottexpr
 SUBDIR+=	roundcube-plugin-carddav
 SUBDIR+=	roundcube-skin-mvision2
 SUBDIR+=	routersploit
diff --git a/rottexpr/DESCR b/rottexpr/DESCR
new file mode 100644
index 0000000000..6b437437fa
--- /dev/null
+++ b/rottexpr/DESCR
@@ -0,0 +1,15 @@
+This source port of Rise of the Triad features the following:
+
+ - Now runs off of SDL2!
+ - Support for resolutions from 320x200 all the way to 3840x2160
+ - Adaptive HUD positioning (no more status bar being off to the side)
+ - HUD scaling (HUD scaling for bottomless HUD coming later)
+ - Support for bordered and borderless windowed modes
+
+New gameplay options:
+
+ * Blitzguards being outfitted with any weapon from the missile/magic weapon
+   arsenal! Yes, that means Blitzguards can use excalibats too!
+ * You can now pick up ammo from dropped missile weapons!
+ * A special respawning enemy game mode called ZomROTT, where you have to gib
+   your enemies to keep them from coming back!
diff --git a/rottexpr/Makefile b/rottexpr/Makefile
new file mode 100644
index 0000000000..97eef73a42
--- /dev/null
+++ b/rottexpr/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD$
+
+GITHUB_PROJECT=	rottexpr
+GITHUB_TAG=	v0.01
+DISTNAME=	v0.01
+PKGNAME=	${GITHUB_PROJECT}-${DISTNAME:S,^v,,}
+CATEGORIES=	games
+MASTER_SITES=	${MASTER_SITE_GITHUB:=LTCHIPS/}
+DIST_SUBDIR=	${GITHUB_PROJECT}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/LTCHIPS/rottexpr/
+COMMENT=	SDL2 source port of Rise of the Triad
+LICENSE=	gnu-gpl-v2
+
+WRKSRC=		${WRKDIR}/rottexpr-0.01/src
+
+MAKE_FLAGS+=	EXTRALDLIBS=-lexecinfo
+#MAKE_FLAGS+=	SHAREWARE=1
+USE_TOOLS+=	gmake
+
+INSTALLATION_DIRS+=	bin share/doc/rottexpr
+
+do-install:
+	${INSTALL_GAME} ${WRKSRC}/rott ${DESTDIR}${PREFIX}/bin/rottexpr
+	${INSTALL_DATA} ${WRKSRC}/../*md ${DESTDIR}${PREFIX}/share/doc/rottexpr/
+
+.include "../../audio/SDL2_mixer/buildlink3.mk"
+.include "../../devel/SDL2/buildlink3.mk"
+.include "../../devel/libexecinfo/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/rottexpr/PLIST b/rottexpr/PLIST
new file mode 100644
index 0000000000..3224b5e0a1
--- /dev/null
+++ b/rottexpr/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD$
+bin/rottexpr
+share/doc/rottexpr/LAUNCH ARGS.md
+share/doc/rottexpr/README.md
diff --git a/rottexpr/distinfo b/rottexpr/distinfo
new file mode 100644
index 0000000000..fe5a704783
--- /dev/null
+++ b/rottexpr/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (rottexpr/v0.01.tar.gz) = 9c833f444f82678a60d08213390c8b9e851289b6
+RMD160 (rottexpr/v0.01.tar.gz) = f728b1bb2a276aeb4b0aa6ef35d9bc619cc424e1
+SHA512 (rottexpr/v0.01.tar.gz) = c393e61b11c56c18199d38bbfcfe2e22500d0adcdb648b31f7b7e24afdaf12e208b9accc82d6109a4ce0c632c56161ba2db9a2f885e5c087375fdfee69b6c4a6
+Size (rottexpr/v0.01.tar.gz) = 545824 bytes
+SHA1 (patch-w__wad.c) = 3c2b74f92f51524d605027bf7d39b5783e348f1f
diff --git a/rottexpr/patches/patch-w__wad.c b/rottexpr/patches/patch-w__wad.c
new file mode 100644
index 0000000000..0747a2c236
--- /dev/null
+++ b/rottexpr/patches/patch-w__wad.c
@@ -0,0 +1,18 @@
+$NetBSD$
+
+Use the correct header for alloca(3) on NetBSD.
+
+--- w_wad.c.orig	2021-01-04 15:51:51.000000000 +0000
++++ w_wad.c
+@@ -17,7 +17,11 @@ along with this program.  If not, see <h
+ */
+ // W_wad.c
+ 
++#ifdef __NetBSD__
++#include <stdlib.h>
++#else
+ #include <alloca.h>
++#endif
+ #include <stdio.h>
+ #include <string.h>
+ #include <fcntl.h>


Home | Main Index | Thread Index | Old Index