pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games games: Add dhewm3.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/71351f6c67f9
branches:  trunk
changeset: 406090:71351f6c67f9
user:      nia <nia%pkgsrc.org@localhost>
date:      Sat Dec 14 19:16:39 2019 +0000

description:
games: Add dhewm3.

dhewm 3 is a Doom 3 GPL source port. The goal of dhewm 3 is bring DOOM 3
with the help of SDL to all suitable platforms.

Compared to the original version of Doom 3, dhewm3 has many bugfixes, supports
EAX-like sound effects on all operating systems and hardware (via OpenAL
Softs EFX support), has much better support for widescreen resolutions and
has 64-bit support.

Note that while the Doom 3 source code has been released under GPL, you
still need to legally own the game and provide dhewm3 the game data to play.

diffstat:

 games/Makefile                    |   3 +-
 games/dhewm3/DESCR                |  10 +++++++
 games/dhewm3/MESSAGE              |  20 +++++++++++++++
 games/dhewm3/Makefile             |  52 +++++++++++++++++++++++++++++++++++++++
 games/dhewm3/PLIST                |   7 +++++
 games/dhewm3/distinfo             |   6 ++++
 games/dhewm3/files/dhewm3.desktop |   9 ++++++
 7 files changed, 106 insertions(+), 1 deletions(-)

diffs (145 lines):

diff -r f015aa24b059 -r 71351f6c67f9 games/Makefile
--- a/games/Makefile    Sat Dec 14 18:34:40 2019 +0000
+++ b/games/Makefile    Sat Dec 14 19:16:39 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.472 2019/11/27 21:18:20 markd Exp $
+# $NetBSD: Makefile,v 1.473 2019/12/14 19:16:39 nia Exp $
 #
 
 COMMENT=       Games
@@ -85,6 +85,7 @@
 SUBDIR+=       dd2
 SUBDIR+=       defendguin
 SUBDIR+=       devilutionx
+SUBDIR+=       dhewm3
 SUBDIR+=       digger
 SUBDIR+=       dipmap
 SUBDIR+=       doom-pwad-sigil
diff -r f015aa24b059 -r 71351f6c67f9 games/dhewm3/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/dhewm3/DESCR        Sat Dec 14 19:16:39 2019 +0000
@@ -0,0 +1,10 @@
+dhewm 3 is a Doom 3 GPL source port. The goal of dhewm 3 is bring DOOM 3
+with the help of SDL to all suitable platforms.
+
+Compared to the original version of Doom 3, dhewm3 has many bugfixes, supports
+EAX-like sound effects on all operating systems and hardware (via OpenAL
+Softs EFX support), has much better support for widescreen resolutions and
+has 64-bit support.
+
+Note that while the Doom 3 source code has been released under GPL, you
+still need to legally own the game and provide dhewm3 the game data to play.
diff -r f015aa24b059 -r 71351f6c67f9 games/dhewm3/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/dhewm3/MESSAGE      Sat Dec 14 19:16:39 2019 +0000
@@ -0,0 +1,20 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2019/12/14 19:16:39 nia Exp $
+
+You need the following game files:
+
+MD5 (base/pak000.pk4) = 71b8d37b2444d3d86a36fd61783844fe
+MD5 (base/pak001.pk4) = 4bc4f3ba04ec2b4f4837be40e840a3c1
+MD5 (base/pak002.pk4) = fa84069e9642ad9aa4b49624150cc345
+MD5 (base/pak003.pk4) = f22d8464997924e4913e467e7d62d5fe
+MD5 (base/pak004.pk4) = 38561a3c73f93f2e6fd31abf1d4e9102
+MD5 (base/pak005.pk4) = 2afd4ece27d36393b7538d55a345b90d
+MD5 (base/pak006.pk4) = a6e7003fa9dcc75073dc02b56399b370
+MD5 (base/pak007.pk4) = 6319f086f930ec1618ab09b4c20c268c
+MD5 (base/pak008.pk4) = 28750b7841de9453eb335bad6841a2a5
+
+Copy them to ~/.local/share/dhewm3/base or ${PREFIX}/share/dhewm3/base.
+
+For more information, see https://github.com/dhewm/dhewm3/wiki/FAQ
+
+===========================================================================
diff -r f015aa24b059 -r 71351f6c67f9 games/dhewm3/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/dhewm3/Makefile     Sat Dec 14 19:16:39 2019 +0000
@@ -0,0 +1,52 @@
+# $NetBSD: Makefile,v 1.1 2019/12/14 19:16:39 nia Exp $
+
+DISTNAME=      dhewm3-1.5.0-src
+PKGNAME=       ${DISTNAME:S/-src//1}
+CATEGORIES=    games
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=dhewm/}
+GITHUB_PROJECT=        dhewm3
+GITHUB_RELEASE=        ${PKGVERSION_NOREV}
+EXTRACT_SUFX=  .tar.xz
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://dhewm3.org/
+COMMENT=       Source port of the original Doom 3
+LICENSE=       gnu-gpl-v3
+
+WRKSRC=                ${WRKDIR}/${PKGNAME_NOREV}
+USE_CMAKE=     yes
+USE_TOOLS+=    pkg-config
+USE_LANGUAGES= c c++11
+
+# C++11
+GCC_REQD+=     4.7
+
+CONFIGURE_DIRS+=       neo
+
+CMAKE_ARGS+=   -Wno-dev
+CMAKE_ARGS+=   -DDEDICATED=ON
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "NetBSD"
+CFLAGS+=       -DIOAPI_NO_64
+CXXFLAGS+=     -DIOAPI_NO_64
+.endif
+
+INSTALLATION_DIRS+=    share/applications
+INSTALLATION_DIRS+=    share/pixmaps
+
+post-install:
+       ${INSTALL_DATA} ${WRKSRC}/neo/sys/linux/setup/image/doom3.png \
+           ${DESTDIR}${PREFIX}/share/pixmaps
+       ${INSTALL_DATA} ${FILESDIR}/dhewm3.desktop \
+           ${DESTDIR}${PREFIX}/share/applications
+
+.include "../../audio/libvorbis/buildlink3.mk"
+.include "../../audio/openal-soft/buildlink3.mk"
+.include "../../devel/SDL2/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../www/curl/buildlink3.mk"
+.include "../../mk/jpeg.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r f015aa24b059 -r 71351f6c67f9 games/dhewm3/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/dhewm3/PLIST        Sat Dec 14 19:16:39 2019 +0000
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1 2019/12/14 19:16:39 nia Exp $
+bin/dhewm3
+bin/dhewm3ded
+lib/dhewm3/base.so
+lib/dhewm3/d3xp.so
+share/applications/dhewm3.desktop
+share/pixmaps/doom3.png
diff -r f015aa24b059 -r 71351f6c67f9 games/dhewm3/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/dhewm3/distinfo     Sat Dec 14 19:16:39 2019 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/12/14 19:16:39 nia Exp $
+
+SHA1 (dhewm3-1.5.0-src.tar.xz) = 4dd50a0d046565f17ca7737c922f9510f3cf0e21
+RMD160 (dhewm3-1.5.0-src.tar.xz) = c9b376d22381e8cfd5657c079ba26eb07c9f1217
+SHA512 (dhewm3-1.5.0-src.tar.xz) = 0a52744818205f842bf5d32d27310acb890999555258a94b589d8369f3804c0d4888fb594261791abff193e8d6b853b5d818205e66ef3928a2d1d361135e9a5d
+Size (dhewm3-1.5.0-src.tar.xz) = 3815488 bytes
diff -r f015aa24b059 -r 71351f6c67f9 games/dhewm3/files/dhewm3.desktop
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/dhewm3/files/dhewm3.desktop Sat Dec 14 19:16:39 2019 +0000
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Encoding=UTF-8
+Name=dhewm3
+Comment=Source port of the original Doom 3
+Icon=doom3
+Exec=dhewm3
+Terminal=false
+Categories=Game;Shooter;



Home | Main Index | Thread Index | Old Index