Files
Ivan Savenko a313899d5a Rework Ubuntu packaging and fix translation export
Goal is to fix problems with translatino exporting in some edge cases,
specifically:

- If a mod has compatibility-type submod that depends on another mod and
changes some strings, game only exports modified strings (discovered
with Ruins mod)
- Since 1.8 development is starting to get new features, including
modding changes, we no longer can use same vcmi build to validate both
1.7 and 1.8 mods. This change allows us to keep both 1.7 and 1.8 builds
in same PPA, allowing mod validation CI to select one depending on
active branch.

Changes:
- Game will now correctly turn off another mod for second re-run of
automated export, allowing to correctly export both changed and original
strings
- Removed 'debian' directory from root, Ubuntu packaging files are now
in 'packaging' directory,
- Ubuntu PPA build will now generate two packages: 'vcmi' and 'vcmi-1.7'
(soon to be changed to 1.8). This allows to explicitly install specific
vcmi branch via versioned package, or install latest version via 'vcmi'
package
- Replaced several compatibility branches with Ubuntu 22.04 and 24.04
packaging overrides with different set of files in 'packaging' directory

Current plan is:
1. Build new packages for 1.7 on daily PPA, using master branch + this
commit
2. Rebase this commit onto 1.8/develop, update packaging rules, and
switch PPA to 1.8
3. Modify mod workflow to install either 1.7 or 1.8 build depending on
active branch
2026-06-12 16:40:11 +03:00

30 lines
1.4 KiB
Plaintext

Source: vcmi
Section: games
Priority: optional
Maintainer: Ivan Savenko <saven.ivan@gmail.com>
Build-Depends: debhelper-compat (= 13), cmake, gettext, libsdl2-dev, libsdl2-image-dev, libsdl2-ttf-dev, libsdl2-mixer-dev, zlib1g-dev, libavformat-dev, libswscale-dev, libboost-dev, libboost-date-time-dev, libboost-program-options-dev, libboost-filesystem-dev, libboost-iostreams-dev, libtbb-dev, libminizip-dev, liblzma-dev, libsquish-dev, libfmt-dev, libluajit-5.1-dev, qt6-base-dev, qt6-base-dev-tools, qt6-tools-dev, qt6-tools-dev-tools, qt6-l10n-tools, qt6-svg-dev, libonnxruntime-dev
Standards-Version: 4.6.2
Homepage: https://vcmi.eu
Vcs-Git: https://github.com/vcmi/vcmi.git
Vcs-Browser: https://github.com/vcmi/vcmi
Package: vcmi-1.8
Architecture: any
Conflicts: vcmi-1.7
Replaces: vcmi-1.7
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: Rewrite of the Heroes of Might and Magic 3 engine
The purpose of VCMI project is to rewrite entire HOMM 3: WoG engine from
scratch, giving it new and extended possibilities. It will help to support
mods and new towns already made by fans but abandoned because of game code
limitations.
.
In its current state it already supports maps of any sizes, higher
resolutions and extended engine limits.
Package: vcmi
Architecture: any
Depends: vcmi-1.8
Description: Metapackage for latest VCMI release
Installs the latest stable VCMI release. Currently points to vcmi-1.8.