Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

325.9. widelands-1.3.1

Real-time strategy about building an economy and its roads, in the line of The Settlers II

1.3.1-1 · GPL-2.0-or-later · 16.1 SBU · 606.2 MiB, 22437 files · 44_apps, 209 of 422 · ports/core/games-strategy/widelands

Homepage: https://www.widelands.org

Depends on: cmake, ninja, pkgconf, python3, sdl2-compat, sdl2-image, sdl2-mixer, sdl2-ttf, glew, libglvnd, mesa, libpng, zlib, icu, minizip, asio, libintl, gettext.

Required by: no port names it.

Sources: widelands-1.3.1.tar.gz (446.5 MiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/44_apps/phase.env && kpkg install widelands'

build.sh:

mkdir build && cd build
cmake .. -G Ninja \
	-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
	-DCMAKE_BUILD_TYPE=Release \
	-DCMAKE_INSTALL_PREFIX=/usr \
	-DCMAKE_CXX_STANDARD_LIBRARIES=-lintl \
	-DWL_INSTALL_BASEDIR=/usr/share/doc/widelands \
	-DWL_INSTALL_DATADIR=/usr/share/widelands \
	-DWL_INSTALL_BINDIR=/usr/bin \
	-DOPTION_BUILD_TESTS=OFF \
	-DOPTION_BUILD_CODECHECK=OFF \
	-DOPTION_BUILD_WEBSITE_TOOLS=OFF \
	-DOPTION_USE_GLBINDING=OFF \
	-DOPTION_GLEW_STATIC=OFF \
	-DOPTION_FORCE_EMBEDDED_MINIZIP=OFF \
	-DOPTION_ASAN=OFF \
	-DUSE_XDG=ON \
	-DUSE_FLTO_IF_AVAILABLE=no \
	-DOpenGL_GL_PREFERENCE=GLVND \
	-DGTK_UPDATE_ICON_CACHE=GTK_UPDATE_ICON_CACHE-NOTFOUND
ninja
DESTDIR=$PKG ninja install
cd ..

Programs: widelands.

Directories: /usr/share/doc/widelands, /usr/share/licenses/widelands, /usr/share/widelands.