pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/games/vcmi
Module Name: pkgsrc
Committed By: adam
Date: Thu May 7 17:16:20 UTC 2026
Modified Files:
pkgsrc/games/vcmi: Makefile PLIST distinfo options.mk
pkgsrc/games/vcmi/patches: patch-CMakeLists.txt
Added Files:
pkgsrc/games/vcmi/patches: patch-AI_BattleAI_CMakeLists.txt
patch-AI_EmptyAI_CMakeLists.txt patch-AI_Nullkiller2_CMakeLists.txt
patch-AI_Nullkiller_CMakeLists.txt patch-AI_StupidAI_CMakeLists.txt
patch-client_render_hdEdition_DdsFormat.cpp
patch-cmake__modules_Findlibsquish.cmake patch-lib_CMakeLists.txt
patch-vcmiqt_CMakeLists.txt
Log Message:
vcmi: updated to 1.7.3
1.7.3
Stability
Fixed crash on Master Genie spellcasting attempts
Fixed random crash on startup due to preloading of .def assets
Fixed crash when attempting to start HotA 1.8 map while having older version of HotA mod active
Fixed crash on switching to or from fullscreen mode while rebinding spell for quick spell panel in combat
Fixed crash on invalid string in creature recruitment title
Fixed crash on Heroes Chronicles import failure on iOS
Fixed crash on starting Deus Ex Machina scenario of Forged of Fire campaign from HotA
Fixed crash on removing boat of a hero that starts map on water in HotA maps
Fixed crash on Linux on attempt to use middle mouse in the backpack
Fixed rare crash on opening custom campaigns map list while player has multiple mods active
Fixed rare crash on mod conflict detection testing
Fixed rare crash on closing of video playback
Fixed rare crash on updating minimap view
Fixed possible crash caused by gamestate corruption after losing battle against neutral
Fixed freeze on AI turn on systems with small number of CPU cores
Fixed rare freeze on finishing scenario in a campaign during AI turn
Fixed inability to proceed in "Long Live the King" campaign if Unearthed Graves are selected as starting bonus in second scenario
Fixed inability to load 1.6 saves that were made when player has active quests
Fix possible crash on shutdown if game is closed with sounds still playing
Fix crash on closing game window while there is commander levelup dialog open
Fix crash on entering into combat with MMAI library selected but without MMAI mod
Mechanics
Advanced Town Portal now costs 300 movement points, in line with H3
Cursed Ground now only cancels positive morale and does not affectes negative morale
Fixed regression of SPELLCASTER bonus, such as Archangel Resurrection ability not working properly
Reduced chance of Wyvern Monarch Poison from 50% to 30%, in line with H3
Interface
Fixed right-click popup descriptions for Fountain of Youth, Oasis, and Watering Hole
Fixed right-click popup and tooltip for "Search Map Object" button
Touch scrolling now works correctly in artifacts backpack
Added Ctrl+Alt+mouse click as recruitment shortcut for creature dwelling icons in town screen
Starting creatures, starting resources and primary skill bonuses in campaigns now show granted amount on icon in bonus selection menu
Luna Fire Wall tooltip now correctly accounts for her specialty
Commander abilities on levelup now correctly show their descriptions
Launcher
Added new mod screenshot viewer
Fixed regression that caused importing of offline backup installer to fail on some Android systems
Mod description and changelog will no longer automatically scroll to the very end on loading
Added mod uninstall confirmation to prevent unintentional mod uninstalling
On Android Launcher now uses immersive fullscreen mode to use all available screen space
Modding
Game will no longer report adventure map animation as missing if only .json for that animation exists
Game will no longer report files that are present in parent mod as missing when validation submod of a submod
It is now possibly to define mines for mod resources in RMG zone configuration without dependency on mod that provides the resource
Spell mastery is now correctly loaded from config for ON_COMBAT_EVENT bonus
To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 pkgsrc/games/vcmi/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/games/vcmi/PLIST pkgsrc/games/vcmi/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/games/vcmi/options.mk
cvs rdiff -u -r0 -r1.1 \
pkgsrc/games/vcmi/patches/patch-AI_BattleAI_CMakeLists.txt \
pkgsrc/games/vcmi/patches/patch-AI_EmptyAI_CMakeLists.txt \
pkgsrc/games/vcmi/patches/patch-AI_Nullkiller2_CMakeLists.txt \
pkgsrc/games/vcmi/patches/patch-AI_Nullkiller_CMakeLists.txt \
pkgsrc/games/vcmi/patches/patch-AI_StupidAI_CMakeLists.txt \
pkgsrc/games/vcmi/patches/patch-client_render_hdEdition_DdsFormat.cpp \
pkgsrc/games/vcmi/patches/patch-cmake__modules_Findlibsquish.cmake \
pkgsrc/games/vcmi/patches/patch-lib_CMakeLists.txt \
pkgsrc/games/vcmi/patches/patch-vcmiqt_CMakeLists.txt
cvs rdiff -u -r1.1 -r1.2 pkgsrc/games/vcmi/patches/patch-CMakeLists.txt
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/games/vcmi/Makefile
diff -u pkgsrc/games/vcmi/Makefile:1.22 pkgsrc/games/vcmi/Makefile:1.23
--- pkgsrc/games/vcmi/Makefile:1.22 Fri Feb 6 10:04:53 2026
+++ pkgsrc/games/vcmi/Makefile Thu May 7 17:16:19 2026
@@ -1,12 +1,11 @@
-# $NetBSD: Makefile,v 1.22 2026/02/06 10:04:53 wiz Exp $
+# $NetBSD: Makefile,v 1.23 2026/05/07 17:16:19 adam Exp $
-DISTNAME= vcmi-1.6.8
-PKGREVISION= 4
+DISTNAME= vcmi-1.7.3
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_GITHUB:=vcmi/}
GITHUB_SUBMODULES+= vcmi innoextract \
- 98bb55798a77c0346b12a1dbb53fe4d3e0379d66 \
+ 96e9566a35fb51ebf13ffbdadfd49a93c1ae5c1a \
launcher/lib/innoextract
GITHUB_SUBMODULES+= fuzzylite fuzzylite \
@@ -24,6 +23,8 @@ USE_TOOLS+= bash:run pkg-config
LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib/vcmi
+CMAKE_CONFIGURE_ARGS+= -DENABLE_DISCORD=OFF
+CMAKE_CONFIGURE_ARGS+= -DENABLE_MMAI=OFF # needs onnxruntime
CMAKE_CONFIGURE_ARGS+= -DFORCE_BUNDLED_FL=ON
TOOL_DEPENDS+= qt5-qttools-[0-9]*:../../x11/qt5-qttools
@@ -33,11 +34,18 @@ CXXFLAGS+= -DBOOST_STACKTRACE_GNU_SOURCE
SUBST_CLASSES+= ffmpeg
SUBST_FILES.ffmpeg+= cmake_modules/Findffmpeg.cmake
-SUBST_SED.ffmpeg+= -e "s,/opt/include,${BUILDLINK_DIR}/include/ffmpeg7,"
-SUBST_SED.ffmpeg+= -e "s,/opt/lib,${BUILDLINK_DIR}/lib/ffmpeg7,"
+SUBST_SED.ffmpeg+= -e "s,/opt/include,${BUILDLINK_DIR}/include/ffmpeg8,"
+SUBST_SED.ffmpeg+= -e "s,/opt/lib,${BUILDLINK_DIR}/lib/ffmpeg8,"
SUBST_MESSAGE.ffmpeg= Helping cmake find ffmpeg.
SUBST_STAGE.ffmpeg= pre-configure
+SUBST_CLASSES+= squish
+SUBST_FILES.squish+= cmake_modules/Findlibsquish.cmake
+SUBST_SED.squish+= -e "s,/usr/local/include,${BUILDLINK_DIR}/include,"
+SUBST_SED.squish+= -e "s,/usr/local/lib,${BUILDLINK_DIR}/lib,"
+SUBST_MESSAGE.squish= Helping cmake find libsquish.
+SUBST_STAGE.squish= pre-configure
+
.include "../../mk/compiler.mk"
.if ${CC_VERSION:Mgcc-*}
@@ -64,15 +72,16 @@ PLIST.desktop= yes
.include "../../archivers/xz/buildlink3.mk"
.include "../../audio/SDL2_mixer/buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"
+.include "../../devel/SDL2/buildlink3.mk"
.include "../../devel/boost-headers/buildlink3.mk"
.include "../../devel/boost-libs/buildlink3.mk"
.include "../../devel/cmake/build.mk"
-.include "../../devel/SDL2/buildlink3.mk"
.include "../../fonts/SDL2_ttf/buildlink3.mk"
-.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../graphics/SDL2_image/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../graphics/libsquish/buildlink3.mk"
.include "../../lang/python/tool.mk"
-.include "../../multimedia/ffmpeg7/buildlink3.mk"
+.include "../../multimedia/ffmpeg8/buildlink3.mk"
.include "../../parallel/threadingbuildingblocks/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/buildlink3.mk"
.include "../../mk/atomic64.mk"
Index: pkgsrc/games/vcmi/PLIST
diff -u pkgsrc/games/vcmi/PLIST:1.4 pkgsrc/games/vcmi/PLIST:1.5
--- pkgsrc/games/vcmi/PLIST:1.4 Thu Oct 16 20:21:55 2025
+++ pkgsrc/games/vcmi/PLIST Thu May 7 17:16:19 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2025/10/16 20:21:55 adam Exp $
+@comment $NetBSD: PLIST,v 1.5 2026/05/07 17:16:19 adam Exp $
bin/vcmibuilder
bin/vcmiclient
${PLIST.qt}bin/vcmieditor
@@ -7,8 +7,8 @@ bin/vcmiserver
lib/vcmi/AI/libBattleAI.so
lib/vcmi/AI/libEmptyAI.so
lib/vcmi/AI/libNullkiller.so
+lib/vcmi/AI/libNullkiller2.so
lib/vcmi/AI/libStupidAI.so
-lib/vcmi/AI/libVCAI.so
lib/vcmi/libvcmi.so
lib/vcmi/libvcmiqt.so
${PLIST.desktop}share/applications/vcmiclient.desktop
@@ -49,6 +49,13 @@ share/vcmi/Mods/vcmi/Content/Sprites/Sta
share/vcmi/Mods/vcmi/Content/Sprites/StackQueueSmall.png
share/vcmi/Mods/vcmi/Content/Sprites/UnitMaxMovementHighlight.png
share/vcmi/Mods/vcmi/Content/Sprites/UnitMovementHighlight.png
+share/vcmi/Mods/vcmi/Content/Sprites/adventureLayers.png
+share/vcmi/Mods/vcmi/Content/Sprites/battle/actionAttack.png
+share/vcmi/Mods/vcmi/Content/Sprites/battle/actionGenie.png
+share/vcmi/Mods/vcmi/Content/Sprites/battle/actionInfo.png
+share/vcmi/Mods/vcmi/Content/Sprites/battle/actionMove.png
+share/vcmi/Mods/vcmi/Content/Sprites/battle/actionReturn.png
+share/vcmi/Mods/vcmi/Content/Sprites/battle/actionShoot.png
share/vcmi/Mods/vcmi/Content/Sprites/battle/queueDefend.png
share/vcmi/Mods/vcmi/Content/Sprites/battle/queueWait.png
share/vcmi/Mods/vcmi/Content/Sprites/battle/rangeHighlights/green/empty.png
@@ -69,6 +76,14 @@ share/vcmi/Mods/vcmi/Content/Sprites/bat
share/vcmi/Mods/vcmi/Content/Sprites/battle/rangeHighlights/red/topLeft.png
share/vcmi/Mods/vcmi/Content/Sprites/battle/rangeHighlights/red/topLeftCorner.png
share/vcmi/Mods/vcmi/Content/Sprites/battle/rangeHighlights/red/topLeftHalfCorner.png
+share/vcmi/Mods/vcmi/Content/Sprites/campaigns/arrow-back-down.png
+share/vcmi/Mods/vcmi/Content/Sprites/campaigns/arrow-back-hover.png
+share/vcmi/Mods/vcmi/Content/Sprites/campaigns/arrow-back-normal.png
+share/vcmi/Mods/vcmi/Content/Sprites/campaigns/arrow-next-down.png
+share/vcmi/Mods/vcmi/Content/Sprites/campaigns/arrow-next-hover.png
+share/vcmi/Mods/vcmi/Content/Sprites/campaigns/arrow-next-normal.png
+share/vcmi/Mods/vcmi/Content/Sprites/campaigns/back.json
+share/vcmi/Mods/vcmi/Content/Sprites/campaigns/next.json
share/vcmi/Mods/vcmi/Content/Sprites/cprsmall.json
share/vcmi/Mods/vcmi/Content/Sprites/debug/blocked.png
share/vcmi/Mods/vcmi/Content/Sprites/debug/grid.png
@@ -84,6 +99,9 @@ share/vcmi/Mods/vcmi/Content/Sprites/lob
share/vcmi/Mods/vcmi/Content/Sprites/lobby/checkboxBlueOn.png
share/vcmi/Mods/vcmi/Content/Sprites/lobby/checkboxOff.png
share/vcmi/Mods/vcmi/Content/Sprites/lobby/checkboxOn.png
+share/vcmi/Mods/vcmi/Content/Sprites/lobby/checkboxSmall.json
+share/vcmi/Mods/vcmi/Content/Sprites/lobby/checkboxSmallOff.png
+share/vcmi/Mods/vcmi/Content/Sprites/lobby/checkboxSmallOn.png
share/vcmi/Mods/vcmi/Content/Sprites/lobby/closeChannel.png
share/vcmi/Mods/vcmi/Content/Sprites/lobby/delete-normal.png
share/vcmi/Mods/vcmi/Content/Sprites/lobby/delete-pressed.png
@@ -94,6 +112,7 @@ share/vcmi/Mods/vcmi/Content/Sprites/lob
share/vcmi/Mods/vcmi/Content/Sprites/lobby/iconFolder.png
share/vcmi/Mods/vcmi/Content/Sprites/lobby/iconPlayer.png
share/vcmi/Mods/vcmi/Content/Sprites/lobby/iconSend.png
+share/vcmi/Mods/vcmi/Content/Sprites/lobby/removeChannel.png
share/vcmi/Mods/vcmi/Content/Sprites/lobby/selectionTabSortDate.png
share/vcmi/Mods/vcmi/Content/Sprites/lobby/townBorderBig.png
share/vcmi/Mods/vcmi/Content/Sprites/lobby/townBorderBigActivated.png
@@ -102,13 +121,15 @@ share/vcmi/Mods/vcmi/Content/Sprites/lob
share/vcmi/Mods/vcmi/Content/Sprites/mapFormatIcons/vcmi1.png
share/vcmi/Mods/vcmi/Content/Sprites/minimapIcons/bordergate.png
share/vcmi/Mods/vcmi/Content/Sprites/minimapIcons/borderguard.png
+share/vcmi/Mods/vcmi/Content/Sprites/minimapIcons/generic.png
+share/vcmi/Mods/vcmi/Content/Sprites/minimapIcons/hero-overlay.png
+share/vcmi/Mods/vcmi/Content/Sprites/minimapIcons/hero.png
share/vcmi/Mods/vcmi/Content/Sprites/minimapIcons/keymaster.png
share/vcmi/Mods/vcmi/Content/Sprites/minimapIcons/obelisk.png
share/vcmi/Mods/vcmi/Content/Sprites/minimapIcons/obeliskVisited.png
share/vcmi/Mods/vcmi/Content/Sprites/minimapIcons/portalBidirectional.png
share/vcmi/Mods/vcmi/Content/Sprites/minimapIcons/portalEntrance.png
share/vcmi/Mods/vcmi/Content/Sprites/minimapIcons/portalExit.png
-share/vcmi/Mods/vcmi/Content/Sprites/questDialog.png
share/vcmi/Mods/vcmi/Content/Sprites/radialMenu/altDown.png
share/vcmi/Mods/vcmi/Content/Sprites/radialMenu/altDownBottom.png
share/vcmi/Mods/vcmi/Content/Sprites/radialMenu/altUp.png
@@ -145,17 +166,10 @@ share/vcmi/Mods/vcmi/Content/Sprites/spe
share/vcmi/Mods/vcmi/Content/Sprites/spellResearch/close.png
share/vcmi/Mods/vcmi/Content/Sprites/spellResearch/reroll.png
share/vcmi/Mods/vcmi/Content/Sprites/spells.json
-share/vcmi/Mods/vcmi/Content/Sprites/stackWindow/bonus-effects.png
-share/vcmi/Mods/vcmi/Content/Sprites/stackWindow/button-panel.png
share/vcmi/Mods/vcmi/Content/Sprites/stackWindow/cancel-normal.png
share/vcmi/Mods/vcmi/Content/Sprites/stackWindow/cancel-pressed.png
share/vcmi/Mods/vcmi/Content/Sprites/stackWindow/cancelButton.json
-share/vcmi/Mods/vcmi/Content/Sprites/stackWindow/commander-abilities.png
-share/vcmi/Mods/vcmi/Content/Sprites/stackWindow/commander-bg.png
share/vcmi/Mods/vcmi/Content/Sprites/stackWindow/icons.png
-share/vcmi/Mods/vcmi/Content/Sprites/stackWindow/info-panel-0.png
-share/vcmi/Mods/vcmi/Content/Sprites/stackWindow/info-panel-1.png
-share/vcmi/Mods/vcmi/Content/Sprites/stackWindow/info-panel-2.png
share/vcmi/Mods/vcmi/Content/Sprites/stackWindow/level-0.png
share/vcmi/Mods/vcmi/Content/Sprites/stackWindow/level-1.png
share/vcmi/Mods/vcmi/Content/Sprites/stackWindow/level-10.png
@@ -168,15 +182,21 @@ share/vcmi/Mods/vcmi/Content/Sprites/sta
share/vcmi/Mods/vcmi/Content/Sprites/stackWindow/level-8.png
share/vcmi/Mods/vcmi/Content/Sprites/stackWindow/level-9.png
share/vcmi/Mods/vcmi/Content/Sprites/stackWindow/levels.json
-share/vcmi/Mods/vcmi/Content/Sprites/stackWindow/spell-effects.png
share/vcmi/Mods/vcmi/Content/Sprites/stackWindow/switchModeIcons.json
share/vcmi/Mods/vcmi/Content/Sprites/stackWindow/upgrade-normal.png
share/vcmi/Mods/vcmi/Content/Sprites/stackWindow/upgrade-pressed.png
share/vcmi/Mods/vcmi/Content/Sprites/stackWindow/upgradeButton.json
share/vcmi/Mods/vcmi/Content/Sprites/vcmi/creatureIcons/towerLarge.png
share/vcmi/Mods/vcmi/Content/Sprites/vcmi/creatureIcons/towerSmall.png
+share/vcmi/Mods/vcmi/Content/Sprites2x/battle/actionAttack.png
+share/vcmi/Mods/vcmi/Content/Sprites2x/battle/actionGenie.png
+share/vcmi/Mods/vcmi/Content/Sprites2x/battle/actionInfo.png
+share/vcmi/Mods/vcmi/Content/Sprites2x/battle/actionMove.png
+share/vcmi/Mods/vcmi/Content/Sprites2x/battle/actionReturn.png
+share/vcmi/Mods/vcmi/Content/Sprites2x/battle/actionShoot.png
share/vcmi/Mods/vcmi/Content/Sprites2x/battle/queueDefend.png
share/vcmi/Mods/vcmi/Content/Sprites2x/battle/queueWait.png
+share/vcmi/Mods/vcmi/Content/Sprites2x/heroWindow/backpackButtonIcon.png
share/vcmi/Mods/vcmi/Content/Sprites2x/lobby/addChannel.png
share/vcmi/Mods/vcmi/Content/Sprites2x/lobby/closeChannel.png
share/vcmi/Mods/vcmi/Content/Sprites2x/lobby/iconPlayer.png
@@ -192,6 +212,7 @@ share/vcmi/Mods/vcmi/Content/Sprites2x/m
share/vcmi/Mods/vcmi/Content/Sprites2x/settingsWindow/gear.png
share/vcmi/Mods/vcmi/Content/Sprites2x/stackWindow/icons.png
share/vcmi/Mods/vcmi/Content/Sprites3x/battle/queueDefend.png
+share/vcmi/Mods/vcmi/Content/Sprites3x/heroWindow/backpackButtonIcon.png
share/vcmi/Mods/vcmi/Content/Sprites3x/lobby/addChannel.png
share/vcmi/Mods/vcmi/Content/Sprites3x/lobby/closeChannel.png
share/vcmi/Mods/vcmi/Content/Sprites3x/lobby/iconPlayer.png
@@ -199,6 +220,7 @@ share/vcmi/Mods/vcmi/Content/Sprites3x/m
share/vcmi/Mods/vcmi/Content/Sprites3x/settingsWindow/gear.png
share/vcmi/Mods/vcmi/Content/Sprites3x/stackWindow/icons.png
share/vcmi/Mods/vcmi/Content/Sprites4x/battle/queueDefend.png
+share/vcmi/Mods/vcmi/Content/Sprites4x/heroWindow/backpackButtonIcon.png
share/vcmi/Mods/vcmi/Content/Sprites4x/lobby/addChannel.png
share/vcmi/Mods/vcmi/Content/Sprites4x/lobby/closeChannel.png
share/vcmi/Mods/vcmi/Content/Sprites4x/lobby/iconPlayer.png
@@ -212,13 +234,23 @@ share/vcmi/Mods/vcmi/Content/Video/tutor
share/vcmi/Mods/vcmi/Content/Video/tutorial/MapZooming.webm
share/vcmi/Mods/vcmi/Content/Video/tutorial/RadialWheel.webm
share/vcmi/Mods/vcmi/Content/Video/tutorial/RightClick.webm
+share/vcmi/Mods/vcmi/Content/config/belarusian.json
+share/vcmi/Mods/vcmi/Content/config/bulgarian.json
share/vcmi/Mods/vcmi/Content/config/chinese.json
share/vcmi/Mods/vcmi/Content/config/czech.json
+share/vcmi/Mods/vcmi/Content/config/dutch.json
share/vcmi/Mods/vcmi/Content/config/english.json
+share/vcmi/Mods/vcmi/Content/config/filipino.json
+share/vcmi/Mods/vcmi/Content/config/finnish.json
share/vcmi/Mods/vcmi/Content/config/french.json
share/vcmi/Mods/vcmi/Content/config/german.json
+share/vcmi/Mods/vcmi/Content/config/greek.json
share/vcmi/Mods/vcmi/Content/config/hungarian.json
share/vcmi/Mods/vcmi/Content/config/italian.json
+share/vcmi/Mods/vcmi/Content/config/japanese.json
+share/vcmi/Mods/vcmi/Content/config/korean.json
+share/vcmi/Mods/vcmi/Content/config/latvian.json
+share/vcmi/Mods/vcmi/Content/config/norwegian.json
share/vcmi/Mods/vcmi/Content/config/polish.json
share/vcmi/Mods/vcmi/Content/config/portuguese.json
share/vcmi/Mods/vcmi/Content/config/rmg/hdmod/aroundamarsh.json
@@ -329,17 +361,21 @@ share/vcmi/Mods/vcmi/Content/config/rmg/
share/vcmi/Mods/vcmi/Content/config/rmg/unknownUnused/kite.json
share/vcmi/Mods/vcmi/Content/config/rmg/unknownUnused/upgrade.json
share/vcmi/Mods/vcmi/Content/config/rmg/unknownUnused/wheel.json
+share/vcmi/Mods/vcmi/Content/config/romanian.json
share/vcmi/Mods/vcmi/Content/config/russian.json
+share/vcmi/Mods/vcmi/Content/config/serbian.json
share/vcmi/Mods/vcmi/Content/config/spanish.json
share/vcmi/Mods/vcmi/Content/config/spells.json
share/vcmi/Mods/vcmi/Content/config/swedish.json
share/vcmi/Mods/vcmi/Content/config/towerCreature.json
share/vcmi/Mods/vcmi/Content/config/towerFactions.json
+share/vcmi/Mods/vcmi/Content/config/turkish.json
share/vcmi/Mods/vcmi/Content/config/ukrainian.json
share/vcmi/Mods/vcmi/Content/config/vietnamese.json
share/vcmi/Mods/vcmi/mod.json
-share/vcmi/config/ERMU_to_picture.json
share/vcmi/config/NEUTRAL.PAL
+share/vcmi/config/ai/nk2ai/nk2ai-settings.json
+share/vcmi/config/ai/nk2ai/object-priorities.txt
share/vcmi/config/ai/nkai/nkai-settings.json
share/vcmi/config/ai/nkai/object-priorities.txt
share/vcmi/config/ambientSounds.json
@@ -350,10 +386,10 @@ share/vcmi/config/battles_graphics.json
share/vcmi/config/biomes.json
share/vcmi/config/bonuses.json
share/vcmi/config/buildingsLibrary.json
-share/vcmi/config/campaignMedia.json
share/vcmi/config/campaignOverrides.json
+share/vcmi/config/campaignRegions.json
share/vcmi/config/campaignSets.json
-share/vcmi/config/campaign_regions.json
+share/vcmi/config/cheats.json
share/vcmi/config/commanders.json
share/vcmi/config/creatures/castle.json
share/vcmi/config/creatures/conflux.json
@@ -366,6 +402,7 @@ share/vcmi/config/creatures/rampart.json
share/vcmi/config/creatures/special.json
share/vcmi/config/creatures/stronghold.json
share/vcmi/config/creatures/tower.json
+share/vcmi/config/cursors.json
share/vcmi/config/difficulty.json
share/vcmi/config/factions/castle.json
share/vcmi/config/factions/conflux.json
@@ -395,7 +432,9 @@ share/vcmi/config/heroes/special.json
share/vcmi/config/heroes/stronghold.json
share/vcmi/config/heroes/tower.json
share/vcmi/config/highscoreCreatures.json
+share/vcmi/config/keyBindingsConfig.json
share/vcmi/config/mainmenu.json
+share/vcmi/config/mapLayers.json
share/vcmi/config/mapOverrides.json
share/vcmi/config/objects/cartographer.json
share/vcmi/config/objects/coverOfDarkness.json
@@ -426,12 +465,15 @@ share/vcmi/config/schemas/artifact.json
share/vcmi/config/schemas/battlefield.json
share/vcmi/config/schemas/biome.json
share/vcmi/config/schemas/bonus.json
+share/vcmi/config/schemas/bonusInstance.json
+share/vcmi/config/schemas/campaignRegion.json
share/vcmi/config/schemas/creature.json
share/vcmi/config/schemas/faction.json
share/vcmi/config/schemas/flaggable.json
share/vcmi/config/schemas/gameSettings.json
share/vcmi/config/schemas/hero.json
share/vcmi/config/schemas/heroClass.json
+share/vcmi/config/schemas/highscoreCreatures.json
share/vcmi/config/schemas/lobbyProtocol/accountCreated.json
share/vcmi/config/schemas/lobbyProtocol/accountJoinsRoom.json
share/vcmi/config/schemas/lobbyProtocol/activateGameRoom.json
@@ -458,12 +500,15 @@ share/vcmi/config/schemas/lobbyProtocol/
share/vcmi/config/schemas/lobbyProtocol/serverLoginSuccess.json
share/vcmi/config/schemas/lobbyProtocol/serverProxyLogin.json
share/vcmi/config/schemas/mapHeader.json
+share/vcmi/config/schemas/mapLayer.json
share/vcmi/config/schemas/market.json
+share/vcmi/config/schemas/mmaiSettings.json
share/vcmi/config/schemas/mod.json
share/vcmi/config/schemas/object.json
share/vcmi/config/schemas/objectTemplate.json
share/vcmi/config/schemas/objectType.json
share/vcmi/config/schemas/obstacle.json
+share/vcmi/config/schemas/resources.json
share/vcmi/config/schemas/rewardable.json
share/vcmi/config/schemas/river.json
share/vcmi/config/schemas/road.json
@@ -471,13 +516,14 @@ share/vcmi/config/schemas/script.json
share/vcmi/config/schemas/settings.json
share/vcmi/config/schemas/skill.json
share/vcmi/config/schemas/spell.json
+share/vcmi/config/schemas/spellSchool.json
share/vcmi/config/schemas/template.json
share/vcmi/config/schemas/terrain.json
share/vcmi/config/schemas/townBuilding.json
share/vcmi/config/schemas/townSiege.json
share/vcmi/config/schemas/townStructure.json
-share/vcmi/config/shortcutsConfig.json
share/vcmi/config/skills.json
+share/vcmi/config/spellSchools.json
share/vcmi/config/spells/ability.json
share/vcmi/config/spells/adventure.json
share/vcmi/config/spells/moats.json
@@ -490,7 +536,9 @@ share/vcmi/config/terrains.json
share/vcmi/config/textColors.json
share/vcmi/config/widgets/advancedOptionsTab.json
share/vcmi/config/widgets/adventureMap.json
+share/vcmi/config/widgets/adventureMapPortrait.json
share/vcmi/config/widgets/battleWindow2.json
+share/vcmi/config/widgets/buttons/battleUnitAction.json
share/vcmi/config/widgets/buttons/campaignBonusSelection.json
share/vcmi/config/widgets/buttons/castleInterfaceQuickAccess.json
share/vcmi/config/widgets/buttons/heroBackpack.json
Index: pkgsrc/games/vcmi/distinfo
diff -u pkgsrc/games/vcmi/distinfo:1.4 pkgsrc/games/vcmi/distinfo:1.5
--- pkgsrc/games/vcmi/distinfo:1.4 Thu Oct 16 20:21:55 2025
+++ pkgsrc/games/vcmi/distinfo Thu May 7 17:16:19 2026
@@ -1,17 +1,26 @@
-$NetBSD: distinfo,v 1.4 2025/10/16 20:21:55 adam Exp $
+$NetBSD: distinfo,v 1.5 2026/05/07 17:16:19 adam Exp $
BLAKE2s (fuzzylite-fuzzylite-13b3122f5c353c0389ed4e66041d548c44ec9df6.tar.gz) = 18e7168f6ebeb87875d4009c28ca853c7d6c131e1c404de8672c294ddefc7925
SHA512 (fuzzylite-fuzzylite-13b3122f5c353c0389ed4e66041d548c44ec9df6.tar.gz) =
b0f052a4b55605c4f49b9f6b85c84e8c58e3861ce57b8d99b8426f6a952541650469415fd6baff0218eb54858b9bee6989deddd72a4f85538b5b051f7cbec891
Size (fuzzylite-fuzzylite-13b3122f5c353c0389ed4e66041d548c44ec9df6.tar.gz) = 3957398 bytes
-BLAKE2s (vcmi-1.6.8.tar.gz) = 1e3c69071f9c35a4eccd38f8aca8338660ee4433142d84488d3814166db074fd
-SHA512 (vcmi-1.6.8.tar.gz) = a9e9a458d10aeb3094792bd21c4c73a7a4861af9a7df29e7870ca1a7e82839a7f7a05cecfa6c1139aa91cffba0be93035a27a485d4d687dbe88b6440a48746c2
-Size (vcmi-1.6.8.tar.gz) = 12109092 bytes
-BLAKE2s (vcmi-innoextract-98bb55798a77c0346b12a1dbb53fe4d3e0379d66.tar.gz) = f6e76d60f988d1ba4fcb2036d77c8ede815f401a84d4518099cf14071384fcf1
-SHA512 (vcmi-innoextract-98bb55798a77c0346b12a1dbb53fe4d3e0379d66.tar.gz) =
f1d87d464622d77dbeea76a4731f9126f339b2d15e36cc87b8495f7dc6a1d0b971d5d28dc5b9e0c40e898fbc0c2399e631e4ed723ecf6b5cb731a8fdbffbe412
-Size (vcmi-innoextract-98bb55798a77c0346b12a1dbb53fe4d3e0379d66.tar.gz) = 205383 bytes
-SHA1 (patch-CMakeLists.txt) = 4e1a01e5d9fa04263cf3e3c03636ea1c8a9acb0b
+BLAKE2s (vcmi-1.7.3.tar.gz) = 075e56794a4ea935068fbf668a5bb92f1d55872b9e5ec9094be63c98c698fe30
+SHA512 (vcmi-1.7.3.tar.gz) = 5da8da6f4ad0c463115aaaf1a9ebacd7f8f05387882e29a9e640be2a4d0573163406e9f1e94ff0cd58a365cabc0b8725c40241efcfcb7668590a6075637ddf06
+Size (vcmi-1.7.3.tar.gz) = 13353623 bytes
+BLAKE2s (vcmi-innoextract-96e9566a35fb51ebf13ffbdadfd49a93c1ae5c1a.tar.gz) = 7c30b026037cef82f5f6306a78bc08baa63d996e3c4a92317486ad9733ba0696
+SHA512 (vcmi-innoextract-96e9566a35fb51ebf13ffbdadfd49a93c1ae5c1a.tar.gz) =
e5359a7755e80be73949ed28b0d37a718aa283fb349add1526be914ea4fae62208e4c0490a58af0f3b135c7ee4df6235f9430827ab3a65d4d1cd129954ed4af9
+Size (vcmi-innoextract-96e9566a35fb51ebf13ffbdadfd49a93c1ae5c1a.tar.gz) = 216127 bytes
+SHA1 (patch-AI_BattleAI_CMakeLists.txt) = 5db507e6924e5f3abca368f09f6a6c5b471716dc
+SHA1 (patch-AI_EmptyAI_CMakeLists.txt) = 97bc0f581f5c2c578deb5cd0255ee646f2184801
+SHA1 (patch-AI_Nullkiller2_CMakeLists.txt) = 6fdb719d4b22ce10b06e45aa7220c5fd3bf1f46e
+SHA1 (patch-AI_Nullkiller_CMakeLists.txt) = 5ccd53999d520797b7cdae1e1b332e7a055953a2
+SHA1 (patch-AI_StupidAI_CMakeLists.txt) = 76dea342b5b7be935fd44c0b51e07cadba497170
+SHA1 (patch-CMakeLists.txt) = fc9aa8e94c8174a1d647cc5f00ff62b5c17ec172
SHA1 (patch-Global.h) = 7a587fa006fb4cb2ab3c9a48c303027a8baa6ed3
+SHA1 (patch-client_render_hdEdition_DdsFormat.cpp) = 4a281d6304b20f0e571c355813a2c301359a29a2
+SHA1 (patch-cmake__modules_Findlibsquish.cmake) = c4b8d7af961fb42e505015dcde6b7f4f2a091d96
SHA1 (patch-launcher_lib_innoextract_CMakeLists.txt) = 1df24702ad1de1a4360d5d889d794c3818af161f
+SHA1 (patch-lib_CMakeLists.txt) = e5f574108e8ab3834d4923adc9b0304796ef756b
SHA1 (patch-lib_CStopWatch.h) = a5c75887c1fed973a46478de19b9c4f85838cb21
SHA1 (patch-lib_CThreadHelper.cpp) = bcbbf7c6cedaea3e5a763882618d71e7849289f9
SHA1 (patch-lib_modding_CModVersion.h) = 470f65e441bb8627e5b0bb53442015fa2cb91bd2
+SHA1 (patch-vcmiqt_CMakeLists.txt) = d6d87ddb58c526cc8b6479015c5a070875eb460c
Index: pkgsrc/games/vcmi/options.mk
diff -u pkgsrc/games/vcmi/options.mk:1.2 pkgsrc/games/vcmi/options.mk:1.3
--- pkgsrc/games/vcmi/options.mk:1.2 Sun Aug 25 06:18:47 2024
+++ pkgsrc/games/vcmi/options.mk Thu May 7 17:16:19 2026
@@ -1,12 +1,9 @@
-# $NetBSD: options.mk,v 1.2 2024/08/25 06:18:47 wiz Exp $
+# $NetBSD: options.mk,v 1.3 2026/05/07 17:16:19 adam Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.vcmi
-
-PKG_SUPPORTED_OPTIONS= luajit
-
+PKG_SUPPORTED_OPTIONS= luajit qt6
PKG_OPTIONS_OPTIONAL_GROUPS+= gui
PKG_OPTIONS_GROUP.gui+= qt5 qt6
-
PKG_SUGGESTED_OPTIONS+= qt5
.include "../../lang/LuaJIT2/platform.mk"
@@ -19,10 +16,14 @@ PKG_SUGGESTED_OPTIONS+= luajit
PLIST_VARS+= qt
.if !empty(PKG_OPTIONS:Mqt6)
PLIST.qt= yes
+. include "../../devel/qt6-qttools/buildlink3.mk"
+. include "../../graphics/qt6-qtsvg/buildlink3.mk"
. include "../../x11/qt6-qtbase/buildlink3.mk"
.elif !empty(PKG_OPTIONS:Mqt5)
PLIST.qt= yes
. include "../../x11/qt5-qtbase/buildlink3.mk"
+. include "../../x11/qt5-qtsvg/buildlink3.mk"
+. include "../../x11/qt5-qttools/buildlink3.mk"
.else
CMAKE_CONFIGURE_ARGS+= -DENABLE_LAUNCHER=OFF
CMAKE_CONFIGURE_ARGS+= -DENABLE_EDITOR=OFF
Index: pkgsrc/games/vcmi/patches/patch-CMakeLists.txt
diff -u pkgsrc/games/vcmi/patches/patch-CMakeLists.txt:1.1 pkgsrc/games/vcmi/patches/patch-CMakeLists.txt:1.2
--- pkgsrc/games/vcmi/patches/patch-CMakeLists.txt:1.1 Thu Oct 16 20:21:55 2025
+++ pkgsrc/games/vcmi/patches/patch-CMakeLists.txt Thu May 7 17:16:19 2026
@@ -1,20 +1,10 @@
-$NetBSD: patch-CMakeLists.txt,v 1.1 2025/10/16 20:21:55 adam Exp $
+$NetBSD: patch-CMakeLists.txt,v 1.2 2026/05/07 17:16:19 adam Exp $
-Don't look for boost_system library.
On Dawrin, don't make application bundle.
---- CMakeLists.txt.orig 2025-04-24 19:50:03.000000000 +0000
+--- CMakeLists.txt.orig 2026-03-01 04:17:00.000000000 +0000
+++ CMakeLists.txt
-@@ -462,7 +462,7 @@ endif()
- # Finding packages #
- ############################################
-
--set(BOOST_COMPONENTS date_time filesystem locale program_options system thread)
-+set(BOOST_COMPONENTS date_time filesystem locale program_options thread)
- if(ENABLE_INNOEXTRACT)
- list(APPEND BOOST_COMPONENTS iostreams)
- endif()
-@@ -557,7 +557,7 @@ if(WIN32) # on Win everything goes into
+@@ -586,7 +586,7 @@ if(WIN32) # on Win everything goes into
set(BIN_DIR "." CACHE STRING "Where to install binaries")
set(LIB_DIR "." CACHE STRING "Where to install main library")
set(DATA_DIR "." CACHE STRING "Where to install data files")
@@ -23,11 +13,11 @@ On Dawrin, don't make application bundle
# includes lib path which determines where to install shared libraries (either /lib or /lib64)
include(GNUInstallDirs)
-@@ -876,7 +876,7 @@ if(WIN32)
+@@ -847,7 +847,7 @@ if(WIN32)
if(NOT (${CMAKE_CROSSCOMPILING}))
add_subdirectory(win)
endif()
--elseif(APPLE_MACOS AND NOT ENABLE_MONOLITHIC_INSTALL)
+-elseif(MACOS AND NOT ENABLE_MONOLITHIC_INSTALL)
+elseif(FALSE)
set(CPACK_MONOLITHIC_INSTALL 1)
set(CPACK_GENERATOR "DragNDrop")
Added files:
Index: pkgsrc/games/vcmi/patches/patch-AI_BattleAI_CMakeLists.txt
diff -u /dev/null pkgsrc/games/vcmi/patches/patch-AI_BattleAI_CMakeLists.txt:1.1
--- /dev/null Thu May 7 17:16:20 2026
+++ pkgsrc/games/vcmi/patches/patch-AI_BattleAI_CMakeLists.txt Thu May 7 17:16:19 2026
@@ -0,0 +1,14 @@
+$NetBSD: patch-AI_BattleAI_CMakeLists.txt,v 1.1 2026/05/07 17:16:19 adam Exp $
+
+On Darwin, use correct install_name.
+
+--- AI/BattleAI/CMakeLists.txt.orig 2026-05-07 12:35:20.203378040 +0000
++++ AI/BattleAI/CMakeLists.txt
+@@ -36,6 +36,7 @@ else()
+ install(TARGETS BattleAI RUNTIME DESTINATION ${AI_LIB_DIR} LIBRARY DESTINATION ${AI_LIB_DIR})
+ endif()
+
++set_target_properties(BattleAI PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/${AI_LIB_DIR}")
+ target_include_directories(BattleAI PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
+ target_link_libraries(BattleAI PRIVATE vcmi)
+
Index: pkgsrc/games/vcmi/patches/patch-AI_EmptyAI_CMakeLists.txt
diff -u /dev/null pkgsrc/games/vcmi/patches/patch-AI_EmptyAI_CMakeLists.txt:1.1
--- /dev/null Thu May 7 17:16:20 2026
+++ pkgsrc/games/vcmi/patches/patch-AI_EmptyAI_CMakeLists.txt Thu May 7 17:16:19 2026
@@ -0,0 +1,14 @@
+$NetBSD: patch-AI_EmptyAI_CMakeLists.txt,v 1.1 2026/05/07 17:16:19 adam Exp $
+
+On Darwin, use correct install_name.
+
+--- AI/EmptyAI/CMakeLists.txt.orig 2026-05-07 12:36:20.943125365 +0000
++++ AI/EmptyAI/CMakeLists.txt
+@@ -20,6 +20,7 @@ else()
+ install(TARGETS EmptyAI RUNTIME DESTINATION ${AI_LIB_DIR} LIBRARY DESTINATION ${AI_LIB_DIR})
+ endif()
+
++set_target_properties(EmptyAI PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/${AI_LIB_DIR}")
+ target_include_directories(EmptyAI PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
+ target_link_libraries(EmptyAI PRIVATE vcmi)
+
Index: pkgsrc/games/vcmi/patches/patch-AI_Nullkiller2_CMakeLists.txt
diff -u /dev/null pkgsrc/games/vcmi/patches/patch-AI_Nullkiller2_CMakeLists.txt:1.1
--- /dev/null Thu May 7 17:16:20 2026
+++ pkgsrc/games/vcmi/patches/patch-AI_Nullkiller2_CMakeLists.txt Thu May 7 17:16:19 2026
@@ -0,0 +1,14 @@
+$NetBSD: patch-AI_Nullkiller2_CMakeLists.txt,v 1.1 2026/05/07 17:16:19 adam Exp $
+
+On Darwin, use correct install_name.
+
+--- AI/Nullkiller2/CMakeLists.txt.orig 2026-05-07 12:40:39.599789924 +0000
++++ AI/Nullkiller2/CMakeLists.txt
+@@ -158,6 +158,7 @@ else()
+ install(TARGETS Nullkiller2 RUNTIME DESTINATION ${AI_LIB_DIR} LIBRARY DESTINATION ${AI_LIB_DIR})
+ endif()
+
++set_target_properties(Nullkiller2 PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/${AI_LIB_DIR}")
+ target_include_directories(Nullkiller2 PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
+ target_link_libraries(Nullkiller2 PUBLIC vcmi fuzzylite::fuzzylite TBB::tbb)
+
Index: pkgsrc/games/vcmi/patches/patch-AI_Nullkiller_CMakeLists.txt
diff -u /dev/null pkgsrc/games/vcmi/patches/patch-AI_Nullkiller_CMakeLists.txt:1.1
--- /dev/null Thu May 7 17:16:20 2026
+++ pkgsrc/games/vcmi/patches/patch-AI_Nullkiller_CMakeLists.txt Thu May 7 17:16:19 2026
@@ -0,0 +1,14 @@
+$NetBSD: patch-AI_Nullkiller_CMakeLists.txt,v 1.1 2026/05/07 17:16:19 adam Exp $
+
+On Darwin, use correct install_name.
+
+--- AI/Nullkiller/CMakeLists.txt.orig 2026-05-07 12:37:14.287341160 +0000
++++ AI/Nullkiller/CMakeLists.txt
+@@ -156,6 +156,7 @@ else()
+ install(TARGETS Nullkiller RUNTIME DESTINATION ${AI_LIB_DIR} LIBRARY DESTINATION ${AI_LIB_DIR})
+ endif()
+
++set_target_properties(Nullkiller PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/${AI_LIB_DIR}")
+ target_include_directories(Nullkiller PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
+ target_link_libraries(Nullkiller PUBLIC vcmi fuzzylite::fuzzylite TBB::tbb)
+
Index: pkgsrc/games/vcmi/patches/patch-AI_StupidAI_CMakeLists.txt
diff -u /dev/null pkgsrc/games/vcmi/patches/patch-AI_StupidAI_CMakeLists.txt:1.1
--- /dev/null Thu May 7 17:16:20 2026
+++ pkgsrc/games/vcmi/patches/patch-AI_StupidAI_CMakeLists.txt Thu May 7 17:16:19 2026
@@ -0,0 +1,14 @@
+$NetBSD: patch-AI_StupidAI_CMakeLists.txt,v 1.1 2026/05/07 17:16:19 adam Exp $
+
+On Darwin, use correct install_name.
+
+--- AI/StupidAI/CMakeLists.txt.orig 2026-05-07 12:38:08.508047004 +0000
++++ AI/StupidAI/CMakeLists.txt
+@@ -20,6 +20,7 @@ else()
+ install(TARGETS StupidAI RUNTIME DESTINATION ${AI_LIB_DIR} LIBRARY DESTINATION ${AI_LIB_DIR})
+ endif()
+
++set_target_properties(StupidAI PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/${AI_LIB_DIR}")
+ target_link_libraries(StupidAI PRIVATE vcmi)
+ target_include_directories(StupidAI PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
+
Index: pkgsrc/games/vcmi/patches/patch-client_render_hdEdition_DdsFormat.cpp
diff -u /dev/null pkgsrc/games/vcmi/patches/patch-client_render_hdEdition_DdsFormat.cpp:1.1
--- /dev/null Thu May 7 17:16:20 2026
+++ pkgsrc/games/vcmi/patches/patch-client_render_hdEdition_DdsFormat.cpp Thu May 7 17:16:19 2026
@@ -0,0 +1,15 @@
+$NetBSD: patch-client_render_hdEdition_DdsFormat.cpp,v 1.1 2026/05/07 17:16:19 adam Exp $
+
+Use correct include for newer libsquish.
+
+--- client/render/hdEdition/DdsFormat.cpp.orig 2026-05-07 05:39:02.376139609 +0000
++++ client/render/hdEdition/DdsFormat.cpp
+@@ -12,7 +12,7 @@
+ #include "DdsFormat.h"
+
+ #include <SDL_surface.h>
+-#include <squish.h>
++#include <squish/squish.h>
+
+ #include "../../../lib/filesystem/CInputStream.h"
+
Index: pkgsrc/games/vcmi/patches/patch-cmake__modules_Findlibsquish.cmake
diff -u /dev/null pkgsrc/games/vcmi/patches/patch-cmake__modules_Findlibsquish.cmake:1.1
--- /dev/null Thu May 7 17:16:20 2026
+++ pkgsrc/games/vcmi/patches/patch-cmake__modules_Findlibsquish.cmake Thu May 7 17:16:19 2026
@@ -0,0 +1,15 @@
+$NetBSD: patch-cmake__modules_Findlibsquish.cmake,v 1.1 2026/05/07 17:16:19 adam Exp $
+
+Use correct include path for newer libsquish.
+
+--- cmake_modules/Findlibsquish.cmake.orig 2026-05-07 05:20:01.995388890 +0000
++++ cmake_modules/Findlibsquish.cmake
+@@ -10,7 +10,7 @@
+ find_path(
+ LIBSQUISH_INCLUDE_DIR
+- squish.h
++ squish/squish.h
+ PATH_SUFFIXES squish
+ PATHS
+ /usr/include
+ /usr/local/include
Index: pkgsrc/games/vcmi/patches/patch-lib_CMakeLists.txt
diff -u /dev/null pkgsrc/games/vcmi/patches/patch-lib_CMakeLists.txt:1.1
--- /dev/null Thu May 7 17:16:20 2026
+++ pkgsrc/games/vcmi/patches/patch-lib_CMakeLists.txt Thu May 7 17:16:19 2026
@@ -0,0 +1,14 @@
+$NetBSD: patch-lib_CMakeLists.txt,v 1.1 2026/05/07 17:16:19 adam Exp $
+
+On Darwin, use correct install_name.
+
+--- lib/CMakeLists.txt.orig 2026-05-07 12:27:09.430852745 +0000
++++ lib/CMakeLists.txt
+@@ -838,6 +838,7 @@ else()
+ endif()
+
+ set_target_properties(vcmi PROPERTIES COMPILE_DEFINITIONS "VCMI_DLL=1")
++set_target_properties(vcmi PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/${LIB_DIR}")
+ target_link_libraries(vcmi PUBLIC
+ minizip::minizip ZLIB::ZLIB TBB::tbb
+ ${SYSTEM_LIBS} Boost::boost Boost::filesystem Boost::program_options Boost::locale Boost::date_time
Index: pkgsrc/games/vcmi/patches/patch-vcmiqt_CMakeLists.txt
diff -u /dev/null pkgsrc/games/vcmi/patches/patch-vcmiqt_CMakeLists.txt:1.1
--- /dev/null Thu May 7 17:16:20 2026
+++ pkgsrc/games/vcmi/patches/patch-vcmiqt_CMakeLists.txt Thu May 7 17:16:19 2026
@@ -0,0 +1,14 @@
+$NetBSD: patch-vcmiqt_CMakeLists.txt,v 1.1 2026/05/07 17:16:19 adam Exp $
+
+On Darwin, use correct install_name.
+
+--- vcmiqt/CMakeLists.txt.orig 2026-05-07 12:33:49.242045154 +0000
++++ vcmiqt/CMakeLists.txt
+@@ -41,6 +41,7 @@ if(WIN32)
+ )
+ endif()
+
++set_target_properties(vcmiqt PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/${LIB_DIR}")
+ target_link_libraries(vcmiqt vcmi Qt${QT_VERSION_MAJOR}::Core Qt${QT_VERSION_MAJOR}::Widgets)
+
+ target_include_directories(vcmiqt PUBLIC
Home |
Main Index |
Thread Index |
Old Index