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:           Sat Sep 21 12:34:24 UTC 2019

Modified Files:
        pkgsrc/games: Makefile
Added Files:
        pkgsrc/games/dunelegacy: DESCR MESSAGE Makefile PLIST distinfo
        pkgsrc/games/dunelegacy/patches:
            patch-src_FileClasses_music_DirectoryPlayer.cpp
            patch-src_FileClasses_music_XMIPlayer.cpp

Log Message:
Add games/dunelegacy.

Dune Legacy is an effort by a handful of developers to revitalize the first-ever
real-time strategy game.

It tries to be as similar as possible to the original gameplay but to integrate
user interface features most modern realtime-strategy games have like selecting
multiple units.


To generate a diff of this commit:
cvs rdiff -u -r1.455 -r1.456 pkgsrc/games/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/games/dunelegacy/DESCR \
    pkgsrc/games/dunelegacy/MESSAGE pkgsrc/games/dunelegacy/Makefile \
    pkgsrc/games/dunelegacy/PLIST pkgsrc/games/dunelegacy/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/games/dunelegacy/patches/patch-src_FileClasses_music_DirectoryPlayer.cpp \
    pkgsrc/games/dunelegacy/patches/patch-src_FileClasses_music_XMIPlayer.cpp

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.455 pkgsrc/games/Makefile:1.456
--- pkgsrc/games/Makefile:1.455 Fri Sep 20 14:56:00 2019
+++ pkgsrc/games/Makefile       Sat Sep 21 12:34:24 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.455 2019/09/20 14:56:00 nia Exp $
+# $NetBSD: Makefile,v 1.456 2019/09/21 12:34:24 nia Exp $
 #
 
 COMMENT=       Games
@@ -96,6 +96,7 @@ SUBDIR+=      doom2-pwad-struggle
 SUBDIR+=       doomlegacy
 SUBDIR+=       dopewars
 SUBDIR+=       duckmaze
+SUBDIR+=       dunelegacy
 SUBDIR+=       dungeon
 SUBDIR+=       easyrpg-player
 SUBDIR+=       eboard

Added files:

Index: pkgsrc/games/dunelegacy/DESCR
diff -u /dev/null pkgsrc/games/dunelegacy/DESCR:1.1
--- /dev/null   Sat Sep 21 12:34:24 2019
+++ pkgsrc/games/dunelegacy/DESCR       Sat Sep 21 12:34:24 2019
@@ -0,0 +1,6 @@
+Dune Legacy is an effort by a handful of developers to revitalize the first-ever
+real-time strategy game.
+
+It tries to be as similar as possible to the original gameplay but to integrate
+user interface features most modern realtime-strategy games have like selecting
+multiple units.
Index: pkgsrc/games/dunelegacy/MESSAGE
diff -u /dev/null pkgsrc/games/dunelegacy/MESSAGE:1.1
--- /dev/null   Sat Sep 21 12:34:24 2019
+++ pkgsrc/games/dunelegacy/MESSAGE     Sat Sep 21 12:34:24 2019
@@ -0,0 +1,26 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2019/09/21 12:34:24 nia Exp $
+
+The following PAK-files from the original Dune 2 are needed to play
+Dune Legacy:
+
+       HARK.PAK
+       ATRE.PAK
+       ORDOS.PAK
+       ENGLISH.PAK
+       DUNE.PAK
+       SCENARIO.PAK
+       MENTAT.PAK
+       VOC.PAK
+       MERC.PAK
+       FINALE.PAK
+       INTRO.PAK
+       INTROVOC.PAK
+       SOUND.PAK
+       GERMAN.PAK (for playing in German)
+       FRENCH.PAK (for playing in French)
+
+You should place these files in ${PREFIX}/share/dunelegacy
+or ~/.config/dunelegacy/data
+
+===========================================================================
Index: pkgsrc/games/dunelegacy/Makefile
diff -u /dev/null pkgsrc/games/dunelegacy/Makefile:1.1
--- /dev/null   Sat Sep 21 12:34:24 2019
+++ pkgsrc/games/dunelegacy/Makefile    Sat Sep 21 12:34:24 2019
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1 2019/09/21 12:34:24 nia Exp $
+
+DISTNAME=              dunelegacy-0.96.4-src
+PKGNAME=               ${DISTNAME:S/-src//}
+CATEGORIES=            games
+MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=dunelegacy/}
+EXTRACT_SUFX=          .tar.bz2
+
+MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=              http://dunelegacy.sourceforge.net/
+COMMENT=               Open source Dune 2 clone
+LICENSE=               gnu-gpl-v2
+
+WRKSRC=                        ${WRKDIR}/${PKGNAME_NOREV}
+USE_LANGUAGES=         c c++
+GNU_CONFIGURE=         yes
+
+INSTALLATION_DIRS+=    share/applications
+INSTALLATION_DIRS+=    share/icons/hicolor/48x48/apps
+INSTALLATION_DIRS+=    share/icons/hicolor/128x128/apps
+INSTALLATION_DIRS+=    share/icons/hicolor/scalable/apps
+
+post-install:
+       ${INSTALL_DATA} ${WRKSRC}/dunelegacy.desktop \
+           ${DESTDIR}${PREFIX}/share/applications
+       ${INSTALL_DATA} ${WRKSRC}/dunelegacy.png \
+           ${DESTDIR}${PREFIX}/share/icons/hicolor/48x48/apps/dunelegacy.png
+       ${INSTALL_DATA} ${WRKSRC}/dunelegacy-128x128.png \
+           ${DESTDIR}${PREFIX}/share/icons/hicolor/128x128/apps/dunelegacy.png
+       ${INSTALL_DATA} ${WRKSRC}/dunelegacy.svg \
+           ${DESTDIR}${PREFIX}/share/icons/hicolor/scalable/apps/dunelegacy.svg
+
+.include "../../audio/SDL2_mixer/buildlink3.mk"
+.include "../../devel/SDL2/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/games/dunelegacy/PLIST
diff -u /dev/null pkgsrc/games/dunelegacy/PLIST:1.1
--- /dev/null   Sat Sep 21 12:34:24 2019
+++ pkgsrc/games/dunelegacy/PLIST       Sat Sep 21 12:34:24 2019
@@ -0,0 +1,62 @@
+@comment $NetBSD: PLIST,v 1.1 2019/09/21 12:34:24 nia Exp $
+bin/dunelegacy
+share/applications/dunelegacy.desktop
+share/dunelegacy/Dune2-Versions.txt
+share/dunelegacy/GFXHD.PAK
+share/dunelegacy/LEGACY.PAK
+share/dunelegacy/OPENSD2.PAK
+share/dunelegacy/locale/English.en.po
+share/dunelegacy/locale/French.fr.po
+share/dunelegacy/locale/German.de.po
+share/dunelegacy/locale/Spanish.es.po
+share/dunelegacy/locale/dunelegacy.pot
+share/dunelegacy/maps/multiplayer/2P - 32x128 - Gatekeeper.ini
+share/dunelegacy/maps/multiplayer/2P - 32x32 - X-Factor.ini
+share/dunelegacy/maps/multiplayer/2P - 64x32 - Cliffs Of Rene.ini
+share/dunelegacy/maps/multiplayer/2P - 64x64 - Bottle Neck.ini
+share/dunelegacy/maps/multiplayer/2P - 64x64 - Broken Mountains.ini
+share/dunelegacy/maps/multiplayer/2P - 64x64 - David's Pass.ini
+share/dunelegacy/maps/multiplayer/2P - 64x64 - Face Off.ini
+share/dunelegacy/maps/multiplayer/2P - 64x64 - Great Divide.ini
+share/dunelegacy/maps/multiplayer/2P - 64x64 - Sanctuarys.ini
+share/dunelegacy/maps/multiplayer/4P - 128x128 - Deserted.ini
+share/dunelegacy/maps/multiplayer/4P - 128x128 - Equilibrium.ini
+share/dunelegacy/maps/multiplayer/4P - 128x128 - Four Cities.ini
+share/dunelegacy/maps/multiplayer/4P - 128x128 - Hungry Hippos.ini
+share/dunelegacy/maps/multiplayer/4P - 128x128 - Silicon Valley XL.ini
+share/dunelegacy/maps/multiplayer/4P - 128x128 - Snake Pass.ini
+share/dunelegacy/maps/multiplayer/4P - 128x128 - Spicestorm.ini
+share/dunelegacy/maps/multiplayer/4P - 128x128 - The Sardaukar Outpost.ini
+share/dunelegacy/maps/multiplayer/4P - 128x128 - Worm Investation.ini
+share/dunelegacy/maps/multiplayer/4P - 128x128 - Wormhole.ini
+share/dunelegacy/maps/multiplayer/4P - 128x64 - Gamma Sector.ini
+share/dunelegacy/maps/multiplayer/4P - 64x64 - Channels.ini
+share/dunelegacy/maps/multiplayer/4P - 64x64 - Clear Path.ini
+share/dunelegacy/maps/multiplayer/4P - 64x64 - Combed.ini
+share/dunelegacy/maps/multiplayer/4P - 64x64 - Four Chambers.ini
+share/dunelegacy/maps/multiplayer/4P - 64x64 - Four Courners.ini
+share/dunelegacy/maps/multiplayer/4P - 64x64 - Sietch Stefan.ini
+share/dunelegacy/maps/multiplayer/4P - 64x64 - Silicon Valley.ini
+share/dunelegacy/maps/multiplayer/4P - 64x64 - Stronghold.ini
+share/dunelegacy/maps/multiplayer/4P - 64x64 - Vast Armies Have Arrived.ini
+share/dunelegacy/maps/multiplayer/5P - 128x128 - Fortress.ini
+share/dunelegacy/maps/multiplayer/5P - 128x128 - Gridlocked.ini
+share/dunelegacy/maps/multiplayer/5P - 128x128 - Hellvetika.ini
+share/dunelegacy/maps/multiplayer/5P - 128x128 - Kragetam.ini
+share/dunelegacy/maps/multiplayer/5P - 128x128 - Meadow.ini
+share/dunelegacy/maps/multiplayer/5P - 128x64 - Watch Your Track.ini
+share/dunelegacy/maps/multiplayer/6P - 128x128 - Gargantuan Mountains.ini
+share/dunelegacy/maps/multiplayer/6P - 64x128 - Rocking Fields.ini
+share/dunelegacy/maps/multiplayer/6P - 64x64 - Fertile Basin.ini
+share/dunelegacy/maps/singleplayer/2P - 32x128 - Canyon.ini
+share/dunelegacy/maps/singleplayer/2P - 64x64 - Duality.ini
+share/dunelegacy/maps/singleplayer/2P - 64x64 - North vs. South.ini
+share/dunelegacy/maps/singleplayer/2P - 64x64 - Twin Fists.ini
+share/dunelegacy/maps/singleplayer/3P - 64x32 - Middle Man.ini
+share/dunelegacy/maps/singleplayer/4P - 64x64 - 3 vs 1.ini
+share/dunelegacy/maps/singleplayer/5P - 128x128 - All against Atreides.ini
+share/dunelegacy/maps/singleplayer/5P - 128x128 - Sardaukar Base Easy.ini
+share/dunelegacy/maps/singleplayer/5P - 128x128 - Sardaukar Base.ini
+share/icons/hicolor/128x128/apps/dunelegacy.png
+share/icons/hicolor/48x48/apps/dunelegacy.png
+share/icons/hicolor/scalable/apps/dunelegacy.svg
Index: pkgsrc/games/dunelegacy/distinfo
diff -u /dev/null pkgsrc/games/dunelegacy/distinfo:1.1
--- /dev/null   Sat Sep 21 12:34:24 2019
+++ pkgsrc/games/dunelegacy/distinfo    Sat Sep 21 12:34:24 2019
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1 2019/09/21 12:34:24 nia Exp $
+
+SHA1 (dunelegacy-0.96.4-src.tar.bz2) = 033c4cd57e6c427c9b8ace9aa42f7502a57f9f94
+RMD160 (dunelegacy-0.96.4-src.tar.bz2) = cef0160458a36b32aae57ca7490c37582349fc7f
+SHA512 (dunelegacy-0.96.4-src.tar.bz2) = d6e152da4bc526ed05ac89fafc2e3467b1a95b3670987eeca262b7207e7dbe67dd228483cb5a432fe08232e34a52d4cb500b42cd186adb4bcde5da17419f7db0
+Size (dunelegacy-0.96.4-src.tar.bz2) = 2513167 bytes
+SHA1 (patch-src_FileClasses_music_DirectoryPlayer.cpp) = 992be856bf8829c200caf0730acaa60a6baf93f3
+SHA1 (patch-src_FileClasses_music_XMIPlayer.cpp) = 712ba9197c7b727254f9c46f643e88ea9a4ac7c6

Index: pkgsrc/games/dunelegacy/patches/patch-src_FileClasses_music_DirectoryPlayer.cpp
diff -u /dev/null pkgsrc/games/dunelegacy/patches/patch-src_FileClasses_music_DirectoryPlayer.cpp:1.1
--- /dev/null   Sat Sep 21 12:34:24 2019
+++ pkgsrc/games/dunelegacy/patches/patch-src_FileClasses_music_DirectoryPlayer.cpp     Sat Sep 21 12:34:24 2019
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_FileClasses_music_DirectoryPlayer.cpp,v 1.1 2019/09/21 12:34:24 nia Exp $
+
+Initialize generic MIDI support for SDL2_mixer.
+
+--- src/FileClasses/music/DirectoryPlayer.cpp.orig     2016-11-20 14:57:02.000000000 +0000
++++ src/FileClasses/music/DirectoryPlayer.cpp
+@@ -61,7 +61,7 @@ DirectoryPlayer::DirectoryPlayer() : Mus
+ 
+     music = nullptr;
+ 
+-    Mix_Init(MIX_INIT_FLUIDSYNTH | MIX_INIT_FLAC | MIX_INIT_MP3 | MIX_INIT_OGG);
++    Mix_Init(MIX_INIT_MID | MIX_INIT_FLAC | MIX_INIT_MP3 | MIX_INIT_OGG);
+ }
+ 
+ DirectoryPlayer::~DirectoryPlayer() {
Index: pkgsrc/games/dunelegacy/patches/patch-src_FileClasses_music_XMIPlayer.cpp
diff -u /dev/null pkgsrc/games/dunelegacy/patches/patch-src_FileClasses_music_XMIPlayer.cpp:1.1
--- /dev/null   Sat Sep 21 12:34:24 2019
+++ pkgsrc/games/dunelegacy/patches/patch-src_FileClasses_music_XMIPlayer.cpp   Sat Sep 21 12:34:24 2019
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_FileClasses_music_XMIPlayer.cpp,v 1.1 2019/09/21 12:34:24 nia Exp $
+
+Initialize generic MIDI support for SDL2_mixer.
+
+--- src/FileClasses/music/XMIPlayer.cpp.orig   2016-11-17 23:06:11.000000000 +0000
++++ src/FileClasses/music/XMIPlayer.cpp
+@@ -32,7 +32,7 @@
+ XMIPlayer::XMIPlayer() : MusicPlayer(settings.audio.playMusic, settings.audio.musicVolume) {
+     music = nullptr;
+ 
+-    if((Mix_Init(MIX_INIT_FLUIDSYNTH) & MIX_INIT_FLUIDSYNTH) == 0) {
++    if((Mix_Init(MIX_INIT_MID) & MIX_INIT_MID) == 0) {
+         SDL_Log("XMIPlayer: Failed to init required midi support: %s", SDL_GetError());
+     }
+ }



Home | Main Index | Thread Index | Old Index