pkgsrc/games/wesnoth/Makefile
adam 587a47dcd1 wesnoth: updated to 1.14.16
Version 1.14.16
AI
* Experimental AI: fixed a bug identifying hexes next to healers as healing locations
* Goto Micro AI:
  * Fixed bug when the avoid_enemies parameter is set to very small values
  * Fixed rare bug with blocked paths when ignoring enemies
* Protect Unit Micro AI: fixed bug when a unit is not on the AI side
* Multipack Wolves Micro AI: fixed error when a wolf is fully surrounded
Campaigns
* Dead Water:
  * Fix some characters’ names, which hadn’t been marked as translatable.
* Son of the Black-Eye:
  * S09: Name the enemy team.
* The South Guard:
  * S06b: Fix some enemies’ ambush abilities.
Editor
* Re-enabled topics for the terrain editor in the in-game help browser
* Added help topics for the scenario editor’s tools
* Added documentation about the files written by the editor
Translations
* Updated translations: British English, Catalan, Chinese (Traditional), French,
  Portuguese (Brazil), Spanish, Turkish
User interface
* Fixed color fringing issues with ClearType on Windows.
* Reduced font sizes for the unit HP/XP/MP/Vision/Defense displays on the sidebar at small resolutions to avoid overlaps.
* Rearranged the unit XP and vision displays on the sidebar to avoid running out of room for the XP display.
* Reduced font size for the ToD counter on the sidebar to avoid it being ellipsized too often.
* Gave the turn timer display the same icon as the system clock display.
* Anchored the Observers icon to the sidebar again in a way that does not allow it to overlap into it.
* Fixed the turn timer/system clock display on the top bar incorrectly using a larger font size at small resolutions.
* Rearranged the Defense display label on the sidebar slightly. It remains invisible in Wesnoth 1.14, however.
Miscellaneous and Bug Fixes
* Added support to wmlxgettext for double-quote characters in translatable raw strings
* Fixed an error message and the AI leader potentially not moving when it cannot reach a keep because it's occupied by an allied unit
* Fixed display zoom not being taken into account when using the `x`, `y`, `directional_x` and `directional_y` attributes in unit animations.
* Fixed `[terrain_defaults]` and `[resistance_defaults]`.
* Fixed an attack prediction assert that happened in rare combinations of the defender slowing and the attacker potentially leveling up, and a specific combination of standard and Monte Carlo attack evaluations
2021-03-22 09:45:03 +00:00

80 lines
2.6 KiB
Makefile

# $NetBSD: Makefile,v 1.168 2021/03/22 09:45:03 adam Exp $
DISTNAME= wesnoth-1.14.16
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=wesnoth/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://www.wesnoth.org/
COMMENT= Fantasy turn-based strategy game
LICENSE= gnu-gpl-v2
BUILD_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt
USE_CMAKE= yes
USE_LANGUAGES= c c++11
USE_LIBTOOL= yes
USE_TOOLS+= bash msgfmt perl:run pkg-config
# detects history.h, but does not link against libhistory
CMAKE_ARGS+= -DENABLE_HISTORY=OFF
# if OPT is set, -O3 will not be added
CMAKE_ARGS+= -DOPT="${DBG}"
UNLIMIT_RESOURCES+= datasize
UNLIMIT_RESOURCES+= stacksize
REPLACE_BASH+= data/tools/unit_tree/update-wmlunits
REPLACE_PYTHON+= data/tools/GUI.pyw
REPLACE_PYTHON+= data/tools/*.py
REPLACE_PYTHON+= data/tools/wesnoth/*.py
REPLACE_PYTHON+= data/tools/wml*
REPLACE_PYTHON+= data/tools/about_cfg_to_wiki
REPLACE_PYTHON+= data/tools/addon_manager/html.py
REPLACE_PYTHON+= data/tools/extractbindings
REPLACE_PYTHON+= data/tools/imgcheck
REPLACE_PYTHON+= data/tools/journeylifter
REPLACE_PYTHON+= data/tools/rmtrans/rmtrans.py
REPLACE_PYTHON+= data/tools/steam-changelog
REPLACE_PYTHON+= data/tools/trackplacer
REPLACE_PYTHON+= data/tools/unit_tree/helpers.py
REPLACE_PYTHON+= data/tools/unit_tree/TeamColorizer
REPLACE_PYTHON+= data/tools/unit_tree/overview.py
REPLACE_PYTHON+= data/tools/wesnoth_addon_manager
REPLACE_PYTHON+= utils/ai_test/*.py
REPLACE_PYTHON+= utils/*.py
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD" && !empty(OS_VERSION:M4.*)
USE_TOOLS+= gmake
.endif
PLIST_VARS+= icons
.if ${OPSYS} != "Darwin" && ${OPSYS} != "Cygwin"
PLIST.icons= yes
.endif
LDFLAGS.SunOS+= -lintl -lsocket
.include "../../audio/SDL2_mixer/buildlink3.mk"
.include "../../audio/libvorbis/buildlink3.mk"
.include "../../converters/fribidi/buildlink3.mk"
.include "../../devel/SDL2/buildlink3.mk"
.include "../../devel/boost-libs/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
BUILDLINK_API_DEPENDS.pango+= pango>=1.14.8
.include "../../devel/pango/buildlink3.mk"
.include "../../fonts/SDL2_ttf/buildlink3.mk"
.include "../../graphics/SDL2_image/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../lang/lua/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../net/SDL2_net/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../sysutils/dbus/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.mk"