pkgsrc-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a05292f2e371
branches:  trunk
changeset: 399319:a05292f2e371
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue Aug 06 19:42:20 2019 +0000

description:
Add games/widelands.

Widelands is a free, open source real-time strategy game with singleplayer
campaigns and a multiplayer mode. The game was inspired by Settlers II but
has significantly more variety and depth to it. Still, it is easy to get
started through playable tutorials.

diffstat:

 games/Makefile                                   |      3 +-
 games/widelands/DESCR                            |      4 +
 games/widelands/Makefile                         |     65 +
 games/widelands/PLIST                            |  48875 +++++++++++++++++++++
 games/widelands/distinfo                         |      8 +
 games/widelands/patches/patch-CMakeLists.txt     |     25 +
 games/widelands/patches/patch-src_CMakeLists.txt |     20 +
 7 files changed, 48999 insertions(+), 1 deletions(-)

diffs (truncated from 49038 to 300 lines):

diff -r 488132bf29fb -r a05292f2e371 games/Makefile
--- a/games/Makefile    Tue Aug 06 14:05:26 2019 +0000
+++ b/games/Makefile    Tue Aug 06 19:42:20 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.440 2019/08/01 22:37:24 nia Exp $
+# $NetBSD: Makefile,v 1.441 2019/08/06 19:42:20 nia Exp $
 #
 
 COMMENT=       Games
@@ -369,6 +369,7 @@
 SUBDIR+=       warmux
 SUBDIR+=       warzone2100
 SUBDIR+=       wesnoth
+SUBDIR+=       widelands
 SUBDIR+=       wordwarvi
 SUBDIR+=       wormz
 SUBDIR+=       wtf
diff -r 488132bf29fb -r a05292f2e371 games/widelands/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/widelands/DESCR     Tue Aug 06 19:42:20 2019 +0000
@@ -0,0 +1,4 @@
+Widelands is a free, open source real-time strategy game with singleplayer
+campaigns and a multiplayer mode. The game was inspired by Settlers II but
+has significantly more variety and depth to it. Still, it is easy to get
+started through playable tutorials.
diff -r 488132bf29fb -r a05292f2e371 games/widelands/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/widelands/Makefile  Tue Aug 06 19:42:20 2019 +0000
@@ -0,0 +1,65 @@
+# $NetBSD: Makefile,v 1.1 2019/08/06 19:42:20 nia Exp $
+
+DISTNAME=      widelands-build20
+PKGNAME=       widelands-20
+CATEGORIES=    games
+MASTER_SITES=  https://launchpad.net/widelands/${PKGVERSION_NOREV}/${PKGVERSION_NOREV}/+download/
+EXTRACT_SUFX=  .tar.bz2
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://www.widelands.org/
+COMMENT=       Fantasy real-time strategy game
+LICENSE=       gnu-gpl-v2
+
+USE_CMAKE=     yes
+USE_LANGUAGES= c c++11
+
+# C++11
+GCC_REQD+=     4.8
+
+CONFIGURE_DIRS=        build
+CMAKE_ARG_PATH=        ..
+
+CMAKE_ARGS+=   -DWL_INSTALL_BASEDIR=${PREFIX}
+CMAKE_ARGS+=   -DWL_INSTALL_DATADIR=${PREFIX}/share/widelands
+
+BUILDLINK_TRANSFORM+=  rm:-Werror=shadow
+
+# too much spam from boost headers
+BUILDLINK_TRANSFORM+=  rm:-Wold-style-cast
+BUILDLINK_TRANSFORM+=  rm:-Wundef
+
+PYTHON_FOR_BUILD_ONLY= yes
+
+INSTALLATION_DIRS+=    bin
+INSTALLATION_DIRS+=    share/doc/widelands
+
+pre-configure:
+       ${PRINTF} '#include <libintl.h>\n' > ${WRKSRC}/src/third_party/gettext/gettext.h
+       ${MKDIR} ${WRKSRC}/build
+
+post-install:
+       ${MV}   ${DESTDIR}${PREFIX}/widelands \
+               ${DESTDIR}${PREFIX}/wl_map_object_info \
+               ${DESTDIR}${PREFIX}/wl_map_info \
+               ${DESTDIR}${PREFIX}/bin
+       ${MV}   ${DESTDIR}${PREFIX}/VERSION \
+               ${DESTDIR}${PREFIX}/ChangeLog \
+               ${DESTDIR}${PREFIX}/CREDITS \
+               ${DESTDIR}${PREFIX}/COPYING \
+               ${DESTDIR}${PREFIX}/share/doc/widelands
+
+.include "../../audio/SDL2_mixer/buildlink3.mk"
+.include "../../devel/SDL2/buildlink3.mk"
+.include "../../devel/boost-libs/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../fonts/SDL2_ttf/buildlink3.mk"
+.include "../../graphics/SDL2_image/buildlink3.mk"
+.include "../../graphics/MesaLib/buildlink3.mk"
+.include "../../graphics/glew/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../lang/python/pyversion.mk"
+.include "../../textproc/icu/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 488132bf29fb -r a05292f2e371 games/widelands/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/widelands/PLIST     Tue Aug 06 19:42:20 2019 +0000
@@ -0,0 +1,48875 @@
+@comment $NetBSD: PLIST,v 1.1 2019/08/06 19:42:20 nia Exp $
+bin/widelands
+bin/wl_map_info
+bin/wl_map_object_info
+share/doc/widelands/COPYING
+share/doc/widelands/CREDITS
+share/doc/widelands/ChangeLog
+share/doc/widelands/VERSION
+share/widelands/ai/ai_input_1.wai
+share/widelands/ai/ai_input_2.wai
+share/widelands/ai/ai_input_3.wai
+share/widelands/ai/ai_input_4.wai
+share/widelands/campaigns/atl01.wmf/binary/heights
+share/widelands/campaigns/atl01.wmf/binary/mapobjects
+share/widelands/campaigns/atl01.wmf/binary/resource
+share/widelands/campaigns/atl01.wmf/binary/terrain
+share/widelands/campaigns/atl01.wmf/elemental
+share/widelands/campaigns/atl01.wmf/pics/background.jpg
+share/widelands/campaigns/atl01.wmf/pics/colionder.png
+share/widelands/campaigns/atl01.wmf/pics/loftomor.png
+share/widelands/campaigns/atl01.wmf/pics/opol.png
+share/widelands/campaigns/atl01.wmf/pics/ostur.png
+share/widelands/campaigns/atl01.wmf/pics/princess.png
+share/widelands/campaigns/atl01.wmf/pics/sidolus.png
+share/widelands/campaigns/atl01.wmf/player_names
+share/widelands/campaigns/atl01.wmf/player_position
+share/widelands/campaigns/atl01.wmf/port_spaces
+share/widelands/campaigns/atl01.wmf/scripting/init.lua
+share/widelands/campaigns/atl01.wmf/scripting/mission_thread.lua
+share/widelands/campaigns/atl01.wmf/scripting/starting_conditions.lua
+share/widelands/campaigns/atl01.wmf/scripting/texts.lua
+share/widelands/campaigns/atl01.wmf/scripting/water_rising.lua
+share/widelands/campaigns/bar01.wmf/binary/heights
+share/widelands/campaigns/bar01.wmf/binary/mapobjects
+share/widelands/campaigns/bar01.wmf/binary/resource
+share/widelands/campaigns/bar01.wmf/binary/terrain
+share/widelands/campaigns/bar01.wmf/elemental
+share/widelands/campaigns/bar01.wmf/pics/background.jpg
+share/widelands/campaigns/bar01.wmf/pics/boldreth.png
+share/widelands/campaigns/bar01.wmf/pics/chieftain.png
+share/widelands/campaigns/bar01.wmf/pics/khantrukh.png
+share/widelands/campaigns/bar01.wmf/player_names
+share/widelands/campaigns/bar01.wmf/player_position
+share/widelands/campaigns/bar01.wmf/scripting/init.lua
+share/widelands/campaigns/bar01.wmf/scripting/mission_thread.lua
+share/widelands/campaigns/bar01.wmf/scripting/secret_village.lua
+share/widelands/campaigns/bar01.wmf/scripting/starting_conditions.lua
+share/widelands/campaigns/bar01.wmf/scripting/texts.lua
+share/widelands/campaigns/bar02.wmf/binary/bob
+share/widelands/campaigns/bar02.wmf/binary/heights
+share/widelands/campaigns/bar02.wmf/binary/mapobjects
+share/widelands/campaigns/bar02.wmf/binary/resource
+share/widelands/campaigns/bar02.wmf/binary/terrain
+share/widelands/campaigns/bar02.wmf/elemental
+share/widelands/campaigns/bar02.wmf/pics/background.jpg
+share/widelands/campaigns/bar02.wmf/pics/boldreth.png
+share/widelands/campaigns/bar02.wmf/pics/chieftain.png
+share/widelands/campaigns/bar02.wmf/pics/khantrukh.png
+share/widelands/campaigns/bar02.wmf/player_names
+share/widelands/campaigns/bar02.wmf/player_position
+share/widelands/campaigns/bar02.wmf/scripting/init.lua
+share/widelands/campaigns/bar02.wmf/scripting/mission_thread.lua
+share/widelands/campaigns/bar02.wmf/scripting/starting_conditions.lua
+share/widelands/campaigns/bar02.wmf/scripting/texts.lua
+share/widelands/campaigns/campaigns.conf
+share/widelands/campaigns/dummy.wmf/binary/heights
+share/widelands/campaigns/dummy.wmf/binary/mapobjects
+share/widelands/campaigns/dummy.wmf/binary/resource
+share/widelands/campaigns/dummy.wmf/binary/terrain
+share/widelands/campaigns/dummy.wmf/elemental
+share/widelands/campaigns/dummy.wmf/minimap.png
+share/widelands/campaigns/dummy.wmf/objective
+share/widelands/campaigns/dummy.wmf/player_names
+share/widelands/campaigns/dummy.wmf/player_position
+share/widelands/campaigns/dummy.wmf/port_spaces
+share/widelands/campaigns/dummy.wmf/scripting/init.lua
+share/widelands/campaigns/dummy.wmf/version
+share/widelands/campaigns/emp01.wmf/binary/bob
+share/widelands/campaigns/emp01.wmf/binary/heights
+share/widelands/campaigns/emp01.wmf/binary/mapobjects
+share/widelands/campaigns/emp01.wmf/binary/resource
+share/widelands/campaigns/emp01.wmf/binary/terrain
+share/widelands/campaigns/emp01.wmf/elemental
+share/widelands/campaigns/emp01.wmf/pics/Amalea.png
+share/widelands/campaigns/emp01.wmf/pics/Lutius.png
+share/widelands/campaigns/emp01.wmf/pics/Saledus.png
+share/widelands/campaigns/emp01.wmf/pics/background.jpg
+share/widelands/campaigns/emp01.wmf/player_names
+share/widelands/campaigns/emp01.wmf/player_position
+share/widelands/campaigns/emp01.wmf/scripting/helper_functions.lua
+share/widelands/campaigns/emp01.wmf/scripting/init.lua
+share/widelands/campaigns/emp01.wmf/scripting/mission_thread.lua
+share/widelands/campaigns/emp01.wmf/scripting/starting_conditions.lua
+share/widelands/campaigns/emp01.wmf/scripting/texts.lua
+share/widelands/campaigns/emp02.wmf/binary/bob
+share/widelands/campaigns/emp02.wmf/binary/heights
+share/widelands/campaigns/emp02.wmf/binary/mapobjects
+share/widelands/campaigns/emp02.wmf/binary/resource
+share/widelands/campaigns/emp02.wmf/binary/terrain
+share/widelands/campaigns/emp02.wmf/elemental
+share/widelands/campaigns/emp02.wmf/pics/Amalea.png
+share/widelands/campaigns/emp02.wmf/pics/Lutius.png
+share/widelands/campaigns/emp02.wmf/pics/Saledus.png
+share/widelands/campaigns/emp02.wmf/pics/background.jpg
+share/widelands/campaigns/emp02.wmf/player_names
+share/widelands/campaigns/emp02.wmf/player_position
+share/widelands/campaigns/emp02.wmf/scripting/init.lua
+share/widelands/campaigns/emp02.wmf/scripting/mission_thread.lua
+share/widelands/campaigns/emp02.wmf/scripting/starting_conditions.lua
+share/widelands/campaigns/emp02.wmf/scripting/texts.lua
+share/widelands/campaigns/emp03.wmf/binary/heights
+share/widelands/campaigns/emp03.wmf/binary/mapobjects
+share/widelands/campaigns/emp03.wmf/binary/resource
+share/widelands/campaigns/emp03.wmf/binary/terrain
+share/widelands/campaigns/emp03.wmf/elemental
+share/widelands/campaigns/emp03.wmf/minimap.png
+share/widelands/campaigns/emp03.wmf/objective
+share/widelands/campaigns/emp03.wmf/pics/Amalea.png
+share/widelands/campaigns/emp03.wmf/pics/Amalea2.png
+share/widelands/campaigns/emp03.wmf/pics/Amalea3.png
+share/widelands/campaigns/emp03.wmf/pics/Lutius.png
+share/widelands/campaigns/emp03.wmf/pics/Saledus2.png
+share/widelands/campaigns/emp03.wmf/pics/Saledus3.png
+share/widelands/campaigns/emp03.wmf/pics/artifacts_models.png
+share/widelands/campaigns/emp03.wmf/pics/background.jpg
+share/widelands/campaigns/emp03.wmf/player_names
+share/widelands/campaigns/emp03.wmf/player_position
+share/widelands/campaigns/emp03.wmf/port_spaces
+share/widelands/campaigns/emp03.wmf/scripting/helper_functions.lua
+share/widelands/campaigns/emp03.wmf/scripting/init.lua
+share/widelands/campaigns/emp03.wmf/scripting/mission_thread.lua
+share/widelands/campaigns/emp03.wmf/scripting/starting_conditions.lua
+share/widelands/campaigns/emp03.wmf/scripting/texts.lua
+share/widelands/campaigns/emp03.wmf/version
+share/widelands/campaigns/emp04.wmf/binary/heights
+share/widelands/campaigns/emp04.wmf/binary/mapobjects
+share/widelands/campaigns/emp04.wmf/binary/resource
+share/widelands/campaigns/emp04.wmf/binary/terrain
+share/widelands/campaigns/emp04.wmf/elemental
+share/widelands/campaigns/emp04.wmf/minimap.png
+share/widelands/campaigns/emp04.wmf/objective
+share/widelands/campaigns/emp04.wmf/pics/Amalea.png
+share/widelands/campaigns/emp04.wmf/pics/Amalea2.png
+share/widelands/campaigns/emp04.wmf/pics/Amalea3.png
+share/widelands/campaigns/emp04.wmf/pics/Julia.png
+share/widelands/campaigns/emp04.wmf/pics/Lutius.png
+share/widelands/campaigns/emp04.wmf/pics/Markus.png
+share/widelands/campaigns/emp04.wmf/pics/Saledus2.png
+share/widelands/campaigns/emp04.wmf/pics/Saledus3.png
+share/widelands/campaigns/emp04.wmf/pics/background.jpg
+share/widelands/campaigns/emp04.wmf/player_names
+share/widelands/campaigns/emp04.wmf/player_position
+share/widelands/campaigns/emp04.wmf/port_spaces
+share/widelands/campaigns/emp04.wmf/scripting/helper_functions.lua
+share/widelands/campaigns/emp04.wmf/scripting/init.lua
+share/widelands/campaigns/emp04.wmf/scripting/mission_thread.lua
+share/widelands/campaigns/emp04.wmf/scripting/starting_conditions.lua
+share/widelands/campaigns/emp04.wmf/scripting/texts.lua
+share/widelands/campaigns/emp04.wmf/scripting/tribes/brewery1.lua
+share/widelands/campaigns/emp04.wmf/scripting/tribes/brewery2.lua
+share/widelands/campaigns/emp04.wmf/scripting/tribes/farm1.lua
+share/widelands/campaigns/emp04.wmf/scripting/tribes/farm2.lua
+share/widelands/campaigns/emp04.wmf/scripting/tribes/foresters_house1.lua
+share/widelands/campaigns/emp04.wmf/scripting/tribes/init.lua
+share/widelands/campaigns/emp04.wmf/scripting/tribes/lumberjacks_house1.lua
+share/widelands/campaigns/emp04.wmf/scripting/tribes/mill1.lua
+share/widelands/campaigns/emp04.wmf/scripting/tribes/mill2.lua
+share/widelands/campaigns/emp04.wmf/scripting/tribes/temple_of_vesta.lua
+share/widelands/campaigns/emp04.wmf/scripting/tribes/trainingcamp1.lua
+share/widelands/campaigns/emp04.wmf/scripting/tribes/vesta_helptexts.lua
+share/widelands/campaigns/emp04.wmf/scripting/tribes/well1.lua
+share/widelands/campaigns/emp04.wmf/version
+share/widelands/campaigns/fri01.wmf/binary/heights
+share/widelands/campaigns/fri01.wmf/binary/mapobjects
+share/widelands/campaigns/fri01.wmf/binary/resource
+share/widelands/campaigns/fri01.wmf/binary/terrain
+share/widelands/campaigns/fri01.wmf/elemental
+share/widelands/campaigns/fri01.wmf/objective
+share/widelands/campaigns/fri01.wmf/pics/background.jpg
+share/widelands/campaigns/fri01.wmf/pics/hauke.png
+share/widelands/campaigns/fri01.wmf/pics/maukor.png
+share/widelands/campaigns/fri01.wmf/pics/reebaud.png
+share/widelands/campaigns/fri01.wmf/player_names
+share/widelands/campaigns/fri01.wmf/player_position
+share/widelands/campaigns/fri01.wmf/port_spaces
+share/widelands/campaigns/fri01.wmf/scripting/init.lua
+share/widelands/campaigns/fri01.wmf/scripting/mission_thread.lua
+share/widelands/campaigns/fri01.wmf/scripting/starting_conditions.lua
+share/widelands/campaigns/fri01.wmf/scripting/texts.lua
+share/widelands/campaigns/fri01.wmf/version
+share/widelands/campaigns/fri02.wmf/binary/heights
+share/widelands/campaigns/fri02.wmf/binary/mapobjects
+share/widelands/campaigns/fri02.wmf/binary/resource
+share/widelands/campaigns/fri02.wmf/binary/terrain
+share/widelands/campaigns/fri02.wmf/elemental
+share/widelands/campaigns/fri02.wmf/objective
+share/widelands/campaigns/fri02.wmf/pics/background.jpg
+share/widelands/campaigns/fri02.wmf/pics/hauke.png
+share/widelands/campaigns/fri02.wmf/pics/murilius.png
+share/widelands/campaigns/fri02.wmf/pics/reebaud.png
+share/widelands/campaigns/fri02.wmf/player_names
+share/widelands/campaigns/fri02.wmf/player_position



Home | Main Index | Thread Index | Old Index