Package Details: vcmi 1.6.7-2

Git Clone URL: https://aur.archlinux.org/vcmi.git (read-only, click to copy)
Package Base: vcmi
Description: Open-source engine for Heroes of Might and Magic III
Upstream URL: http://vcmi.eu
Keywords: homm homm3 vcmi
Licenses: GPL-2.0-or-later AND CC-BY-SA-4.0
Conflicts: vcmi
Provides: vcmi
Submitter: Raziel23
Maintainer: Gigas002
Last Packager: Gigas002
Votes: 51
Popularity: 0.50
First Submitted: 2013-03-12 14:11 (UTC)
Last Updated: 2025-03-06 09:34 (UTC)

Pinned Comments

Gigas002 commented on 2024-05-29 15:08 (UTC)

PKGBUILD tweaks

If you want to build with clang, add this part to cmake flags:

    -DCMAKE_CXX_COMPILER='clang++' \
    -DCMAKE_C_COMPILER='clang' \

If you want to use bundled fuzzylite:

    -DFORCE_BUNDLED_FL=ON \

If you want to use innoextract (system-wide installation won't work since vcmi has a temporary? fork of innoextract for now):

    -DENABLE_INNOEXTRACT=ON \

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 Next › Last »

Gigas002 commented on 2024-05-10 17:07 (UTC) (edited on 2024-05-13 13:05 (UTC) by Gigas002)

Building the 1.5.0 release may cause some compiler warnings with gcc, but should compile and work without problems anyway. If you don't want to see that nasty stuff - compile with clang instead, add these lines to PKGBUILD:

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  mkdir -p build && cd build
  cmake -B. -H.. \
    -DCMAKE_INSTALL_PREFIX='/usr' \
    -DCMAKE_INSTALL_RPATH='/usr/lib/vcmi' \
    -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=TRUE \
    -DCMAKE_SKIP_RPATH='FALSE' \
    -DENABLE_TEST=OFF \
    -DFORCE_BUNDLED_FL=OFF \
    -DCMAKE_BUILD_TYPE='Release' \
    -DCMAKE_CXX_COMPILER_LAUNCHER='ccache' \
    -DCMAKE_C_COMPILER_LAUNCHER='ccache' \
    -DENABLE_INNOEXTRACT='FALSE' \
    -DCMAKE_CXX_COMPILER='clang++' \
    -DCMAKE_C_COMPILER='clang' \
    -Wno-dev
  make
}

Gigas002 commented on 2024-01-04 10:09 (UTC)

@xuhcc thanks for the note, I'll update the package when the next release comes (in order not to trigger rebuild for everyone because of this minor change for now)

xuhcc commented on 2023-12-29 12:08 (UTC)

tbb in depends should probably be replaced with onetbb (from Extra). Besides that, everything works well. Thanks @Gigas002

Gigas002 commented on 2023-12-13 12:57 (UTC)

I've added a qt5-tools runtime dependency, please let me know, if it works for you. Also tested a clang build lately, compile time is better (10 mins against 15 mins on my machine), should I make it default in cmake flags?

xcom commented on 2023-12-11 13:32 (UTC)

yay -S qt6-tools-desktop is needed.

Wintershade commented on 2023-10-22 23:42 (UTC)

This package makedepends on qt5-tools, the build won't start without it installed.

Gigas002 commented on 2023-05-01 05:40 (UTC)

Added a patch from this issue: https://github.com/vcmi/vcmi/issues/1971#issuecomment-1529109450

Game should work fine for now

otlet commented on 2023-04-18 13:50 (UTC) (edited on 2023-04-18 13:50 (UTC) by otlet)

if error:

CMake Error at CMakeLists.txt:417 (find_package):
Found package configuration file:

/usr/lib/cmake/Qt6/Qt6Config.cmake

but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT
FOUND.  Reason given by package:

Failed to find required Qt component "LinguistTools".

Expected Config file at
"/usr/lib/cmake/Qt6LinguistTools/Qt6LinguistToolsConfig.cmake" does NOT
exist

Configuring with --debug-find-pkg=Qt6LinguistTools might reveal details why
the package was not found.

Configuring with -DQT_DEBUG_FIND_PACKAGE=ON will print the values of some
of the path variables that find_package uses to try and find the package.

Solution: Install qt6-tools

Gigas002 commented on 2022-12-13 13:33 (UTC) (edited on 2022-12-13 13:33 (UTC) by Gigas002)

Updated the package to version 1.0.0. Used vcmi-git for reference. Works on my machine (c)

Removed the outdated patches, since the bug seems to be fixed (https://github.com/vcmi/vcmi/commit/5d8e943787666543df6b858c001ab4e59b09fe2d)

Use stable ffmpeg instead of ffmpeg4.4 (https://github.com/vcmi/vcmi/pull/737)

Try to use fuzzylite-git if you can't build fuzzylite package