pkgsrc-Changes archive

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

CVS commit: pkgsrc/games



Module Name:    pkgsrc
Committed By:   nia
Date:           Wed Jul  3 10:58:12 UTC 2019

Modified Files:
        pkgsrc/games: Makefile
Added Files:
        pkgsrc/games/devilutionx: DESCR MESSAGE Makefile PLIST distinfo
        pkgsrc/games/devilutionx/files: devilutionx.desktop

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.435 -r1.436 pkgsrc/games/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/games/devilutionx/DESCR \
    pkgsrc/games/devilutionx/MESSAGE pkgsrc/games/devilutionx/Makefile \
    pkgsrc/games/devilutionx/PLIST pkgsrc/games/devilutionx/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/games/devilutionx/files/devilutionx.desktop

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

Modified files:

Index: pkgsrc/games/Makefile
diff -u pkgsrc/games/Makefile:1.435 pkgsrc/games/Makefile:1.436
--- pkgsrc/games/Makefile:1.435 Sun Jun 30 23:33:40 2019
+++ pkgsrc/games/Makefile       Wed Jul  3 10:58:12 2019
@@ -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+=      crossfire-server
 SUBDIR+=       d2x
 SUBDIR+=       dd2
 SUBDIR+=       defendguin
+SUBDIR+=       devilutionx
 SUBDIR+=       digger
 SUBDIR+=       dipmap
 SUBDIR+=       doom1

Added files:

Index: pkgsrc/games/devilutionx/DESCR
diff -u /dev/null pkgsrc/games/devilutionx/DESCR:1.1
--- /dev/null   Wed Jul  3 10:58:12 2019
+++ pkgsrc/games/devilutionx/DESCR      Wed Jul  3 10:58:12 2019
@@ -0,0 +1,2 @@
+DevilutionX is a port of the classic action role-playing hack and slash
+PC game "Diablo" for modern operating systems.
Index: pkgsrc/games/devilutionx/MESSAGE
diff -u /dev/null pkgsrc/games/devilutionx/MESSAGE:1.1
--- /dev/null   Wed Jul  3 10:58:12 2019
+++ pkgsrc/games/devilutionx/MESSAGE    Wed Jul  3 10:58:12 2019
@@ -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
+
+===========================================================================
Index: pkgsrc/games/devilutionx/Makefile
diff -u /dev/null pkgsrc/games/devilutionx/Makefile:1.1
--- /dev/null   Wed Jul  3 10:58:12 2019
+++ pkgsrc/games/devilutionx/Makefile   Wed Jul  3 10:58:12 2019
@@ -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"
Index: pkgsrc/games/devilutionx/PLIST
diff -u /dev/null pkgsrc/games/devilutionx/PLIST:1.1
--- /dev/null   Wed Jul  3 10:58:12 2019
+++ pkgsrc/games/devilutionx/PLIST      Wed Jul  3 10:58:12 2019
@@ -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
Index: pkgsrc/games/devilutionx/distinfo
diff -u /dev/null pkgsrc/games/devilutionx/distinfo:1.1
--- /dev/null   Wed Jul  3 10:58:12 2019
+++ pkgsrc/games/devilutionx/distinfo   Wed Jul  3 10:58:12 2019
@@ -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

Index: pkgsrc/games/devilutionx/files/devilutionx.desktop
diff -u /dev/null pkgsrc/games/devilutionx/files/devilutionx.desktop:1.1
--- /dev/null   Wed Jul  3 10:58:12 2019
+++ pkgsrc/games/devilutionx/files/devilutionx.desktop  Wed Jul  3 10:58:12 2019
@@ -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