pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games Add devilutionx-0.4.0 as games/devilutionx.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dbd17c6a905e
branches:  trunk
changeset: 335945:dbd17c6a905e
user:      nia <nia%pkgsrc.org@localhost>
date:      Wed Jul 03 10:58:12 2019 +0000

description:
Add devilutionx-0.4.0 as games/devilutionx.

DevilutionX is a port of the classic action role-playing hack and slash
PC game "Diablo" for modern operating systems.

diffstat:

 games/Makefile                              |   3 +-
 games/devilutionx/DESCR                     |   2 +
 games/devilutionx/MESSAGE                   |  13 ++++++
 games/devilutionx/Makefile                  |  58 +++++++++++++++++++++++++++++
 games/devilutionx/PLIST                     |  10 +++++
 games/devilutionx/distinfo                  |   6 +++
 games/devilutionx/files/devilutionx.desktop |   9 ++++
 7 files changed, 100 insertions(+), 1 deletions(-)

diffs (139 lines):

diff -r f6283731388a -r dbd17c6a905e games/Makefile
--- a/games/Makefile    Wed Jul 03 10:42:54 2019 +0000
+++ b/games/Makefile    Wed Jul 03 10:58:12 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.435 2019/06/30 23:33:40 nia Exp $
+# $NetBSD: Makefile,v 1.436 2019/07/03 10:58:12 nia Exp $
 #
 
 COMMENT=       Games
@@ -82,6 +82,7 @@
 SUBDIR+=       d2x
 SUBDIR+=       dd2
 SUBDIR+=       defendguin
+SUBDIR+=       devilutionx
 SUBDIR+=       digger
 SUBDIR+=       dipmap
 SUBDIR+=       doom1
diff -r f6283731388a -r dbd17c6a905e games/devilutionx/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/devilutionx/DESCR   Wed Jul 03 10:58:12 2019 +0000
@@ -0,0 +1,2 @@
+DevilutionX is a port of the classic action role-playing hack and slash
+PC game "Diablo" for modern operating systems.
diff -r f6283731388a -r dbd17c6a905e games/devilutionx/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/devilutionx/MESSAGE Wed Jul 03 10:58:12 2019 +0000
@@ -0,0 +1,13 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2019/07/03 10:58:12 nia Exp $
+
+DevilutionX requires DIABDAT.MPQ from an original copy of Diablo I.
+
+Copy it to $HOME/.local/share/diasurgical/devilution.
+
+Make sure the resulting filename is all lowercase, e.g. "diabdat.mpq":
+
+$ mkdir -p ~/.local/share/diasurgical/devilution
+$ cp DIABDAT.MPQ ~/.local/share/diasurgical/devilution/diabdat.mpq
+
+===========================================================================
diff -r f6283731388a -r dbd17c6a905e games/devilutionx/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/devilutionx/Makefile        Wed Jul 03 10:58:12 2019 +0000
@@ -0,0 +1,58 @@
+# $NetBSD: Makefile,v 1.1 2019/07/03 10:58:12 nia Exp $
+
+DISTNAME=      devilutonx-0.4.0
+CATEGORIES=    games
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=diasurgical/}
+GITHUB_PROJECT=        devilutionX
+
+MAINTAINER=    nia%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/diasurgical/devilutionX
+COMMENT=       Port of the RPG Diablo for modern operating systems
+LICENSE=       unlicense
+
+WRKSRC=                ${WRKDIR}/${GITHUB_PROJECT}-${PKGVERSION_NOREV}
+
+USE_CMAKE=     yes
+USE_LANGUAGES= c c++03
+
+CMAKE_ARGS+=   -DCMAKE_BUILD_TYPE="Release"
+CMAKE_ARGS+=   -DASAN=OFF
+CMAKE_ARGS+=   -DDEBUG=OFF
+CMAKE_ARGS+=   -DFASTER=OFF
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} != "Linux"
+CXXFLAGS+=     -DO_LARGEFILE=0 -Dstat64=stat -Dlstat64=lstat -Dlseek64=lseek -Doff64_t=off_t -Dfstat64=fstat -Dftruncate64=ftruncate
+.endif
+
+CXXFLAGS+=     -DASIO_DISABLE_STD_EXPERIMENTAL_STRING_VIEW=1
+
+ICON_SIZES=    1024 512 256 128 64 32 16
+
+INSTALLATION_DIRS+=    bin
+INSTALLATION_DIRS+=    share/applications
+.for i in ${ICON_SIZES}
+INSTALLATION_DIRS+=    share/icons/hicolor/${i}x${i}/apps
+.endfor
+
+post-extract:
+       ${MV} ${WRKSRC}/Xcode/AppIcon.xcassets/AppIcon.appiconset/appicon-1.png \
+           ${WRKSRC}/Xcode/AppIcon.xcassets/AppIcon.appiconset/32.png
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/devilutionx ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_DATA} ${FILESDIR}/devilutionx.desktop \
+           ${DESTDIR}${PREFIX}/share/applications
+.for i in ${ICON_SIZES}
+       ${INSTALL_DATA} ${WRKSRC}/Xcode/AppIcon.xcassets/AppIcon.appiconset/${i}.png \
+           ${DESTDIR}${PREFIX}/share/icons/hicolor/${i}x${i}/apps/devilutionx.png
+.endfor
+
+.include "../../audio/SDL2_mixer/buildlink3.mk"
+.include "../../devel/SDL2/buildlink3.mk"
+.include "../../fonts/SDL2_ttf/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../security/libsodium/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r f6283731388a -r dbd17c6a905e games/devilutionx/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/devilutionx/PLIST   Wed Jul 03 10:58:12 2019 +0000
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1 2019/07/03 10:58:12 nia Exp $
+bin/devilutionx
+share/applications/devilutionx.desktop
+share/icons/hicolor/1024x1024/apps/devilutionx.png
+share/icons/hicolor/128x128/apps/devilutionx.png
+share/icons/hicolor/16x16/apps/devilutionx.png
+share/icons/hicolor/256x256/apps/devilutionx.png
+share/icons/hicolor/32x32/apps/devilutionx.png
+share/icons/hicolor/512x512/apps/devilutionx.png
+share/icons/hicolor/64x64/apps/devilutionx.png
diff -r f6283731388a -r dbd17c6a905e games/devilutionx/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/devilutionx/distinfo        Wed Jul 03 10:58:12 2019 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/07/03 10:58:12 nia Exp $
+
+SHA1 (devilutonx-0.4.0.tar.gz) = d5d71cf752dc0b5c89f9827b52f1567cb5cfb8f4
+RMD160 (devilutonx-0.4.0.tar.gz) = 0b647b8ee4641d9af000d4d54e1008a506a9fc66
+SHA512 (devilutonx-0.4.0.tar.gz) = ba8f650f8dd00e3b08f6ac082566351c8f3b6162d7bfa2fdf3464b38c201b08677d2f6151f2272e1d73eb972b8babc49b38364523d10763eb179f6b682641443
+Size (devilutonx-0.4.0.tar.gz) = 1351201 bytes
diff -r f6283731388a -r dbd17c6a905e games/devilutionx/files/devilutionx.desktop
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/devilutionx/files/devilutionx.desktop       Wed Jul 03 10:58:12 2019 +0000
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Encoding=UTF-8
+Name=DevilutionX
+Comment=Port of the RPG Diablo for modern operating systems
+Icon=devilutionx
+Exec=devilutionx
+Terminal=false
+Categories=Game;RolePlaying;



Home | Main Index | Thread Index | Old Index