pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/games Add games/dunelegacy.
details: https://anonhg.NetBSD.org/pkgsrc/rev/d689253320f8
branches: trunk
changeset: 401642:d689253320f8
user: nia <nia%pkgsrc.org@localhost>
date: Sat Sep 21 12:34:24 2019 +0000
description:
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.
diffstat:
games/Makefile | 3 +-
games/dunelegacy/DESCR | 6 +
games/dunelegacy/MESSAGE | 26 ++++
games/dunelegacy/Makefile | 36 +++++
games/dunelegacy/PLIST | 62 ++++++++++
games/dunelegacy/distinfo | 8 +
games/dunelegacy/patches/patch-src_FileClasses_music_DirectoryPlayer.cpp | 15 ++
games/dunelegacy/patches/patch-src_FileClasses_music_XMIPlayer.cpp | 15 ++
8 files changed, 170 insertions(+), 1 deletions(-)
diffs (213 lines):
diff -r ae4df31a63ed -r d689253320f8 games/Makefile
--- a/games/Makefile Sat Sep 21 12:23:43 2019 +0000
+++ b/games/Makefile Sat Sep 21 12:34:24 2019 +0000
@@ -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+= doomlegacy
SUBDIR+= dopewars
SUBDIR+= duckmaze
+SUBDIR+= dunelegacy
SUBDIR+= dungeon
SUBDIR+= easyrpg-player
SUBDIR+= eboard
diff -r ae4df31a63ed -r d689253320f8 games/dunelegacy/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/games/dunelegacy/DESCR Sat Sep 21 12:34:24 2019 +0000
@@ -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.
diff -r ae4df31a63ed -r d689253320f8 games/dunelegacy/MESSAGE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/games/dunelegacy/MESSAGE Sat Sep 21 12:34:24 2019 +0000
@@ -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
+
+===========================================================================
diff -r ae4df31a63ed -r d689253320f8 games/dunelegacy/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/games/dunelegacy/Makefile Sat Sep 21 12:34:24 2019 +0000
@@ -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"
diff -r ae4df31a63ed -r d689253320f8 games/dunelegacy/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/games/dunelegacy/PLIST Sat Sep 21 12:34:24 2019 +0000
@@ -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
diff -r ae4df31a63ed -r d689253320f8 games/dunelegacy/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/games/dunelegacy/distinfo Sat Sep 21 12:34:24 2019 +0000
@@ -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
diff -r ae4df31a63ed -r d689253320f8 games/dunelegacy/patches/patch-src_FileClasses_music_DirectoryPlayer.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/games/dunelegacy/patches/patch-src_FileClasses_music_DirectoryPlayer.cpp Sat Sep 21 12:34:24 2019 +0000
@@ -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() {
diff -r ae4df31a63ed -r d689253320f8 games/dunelegacy/patches/patch-src_FileClasses_music_XMIPlayer.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/games/dunelegacy/patches/patch-src_FileClasses_music_XMIPlayer.cpp Sat Sep 21 12:34:24 2019 +0000
@@ -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