328.2. scummvm-2026.3.0
Runs classic point-and-click adventure and role-playing games from their original data files
| Version | 2026.3.0, release 1 |
| Shelf | emulators — Standalone emulators of computers and consoles, and compatibility layers |
| Phase | 44_apps (Applications), 109 of 422 in build order |
| Licence | GPL-3.0-or-later |
| Homepage | https://www.scummvm.org |
| Build time | 26.6 SBU |
| Installed size | 186.6 MiB in 235 files |
| Recipe | ports/core/emulators/scummvm/kpkgbuild |
About
ScummVM runs classic point-and-click adventure and role-playing games from their original data files by reimplementing each game’s engine: LucasArts’ SCUMM games, Sierra’s, Revolution’s and many others. The player supplies the game data. It is an SDL 2 program, drawn here by sdl2-compat on SDL 3, with its own launcher and menus and no toolkit.
Sources
scummvm-2026.3.0.tar.xz(214.7 MiB)
sha256b863a81e1598df8bc4aa0c33e3d9b1c8bbede1879d94d91568a4f200057677e7
upstream: https://downloads.scummvm.org/frs/scummvm/2026.3.0/scummvm-2026.3.0.tar.xz
archive copy: sources-2/emulators--scummvm-2026.3.0.tar.xz
Dependencies
Depends on: pkgconf, librsvg, sdl2-compat, mesa, libglvnd, alsa-lib, fluidsynth, speech-dispatcher, libogg, libvorbis, flac, libmad, faad2, libtheora, libvpx, libjpeg-turbo, libpng, giflib, freetype2, fribidi, zlib, libmpeg2, a52dec, libopenmpt.
Required by: no port names it.
Optional, off in KDOS
These switches in build.sh turn off a feature whose library is a port here. The recipe may turn each off on purpose, or because the library was not yet a port when the recipe was written; this list cannot tell which.
--disable-libcurl, line 31: curl--disable-enet, line 33: enet--disable-gtk, line 40: gtk3 (explained with the switches below)--disable-mikmod, line 68: libmikmod (explained with the switches below)--disable-readline, line 73: readline (explained with the switches below)
Installation
From the repository root, inside the build container, this is the line kdosbuild runs for the port:
script/chroot/exec.sh bash -c 'source script/phases/44_apps/phase.env && kpkg install scummvm'
What kpkg does
kpkg runs these steps, in this order, as root inside the chroot. The port directory is /ports/core/emulators/scummvm.
1. Verify every declared source. Each file a sha256 = line names, found in the port directory or in /var/cache/kpkg/sources, must hash to its line; a mismatch stops the build before anything is unpacked.
cd /ports/core/emulators/scummvm
echo 'b863a81e1598df8bc4aa0c33e3d9b1c8bbede1879d94d91568a4f200057677e7 scummvm-2026.3.0.tar.xz' | sha256sum -c -
2. Unpack. The work directory is emptied and the first source is unpacked into $SRC with its top directory stripped; any later tarball lands unstripped beside it in $SRC_ROOT, and a file that is not a tarball is copied into $SRC.
SRC_ROOT=/var/cache/kpkg/work/scummvm
SRC=$SRC_ROOT/scummvm-2026.3.0
PKG=$SRC_ROOT/pkg
rm -rf "$SRC_ROOT"
mkdir -p "$SRC" "$PKG"
tar --no-same-permissions --warning=no-unknown-keyword -xf scummvm-2026.3.0.tar.xz -C "$SRC" --strip-components=1
Every config.guess and config.sub older than automake’s is then replaced with automake’s, so a configure script recognises the musl target.
3. Build. build.sh is sourced in a subshell under set -e, from $SRC, with name, version, release and the five paths PKGNAME, PORT_SRC, SRC_ROOT, SRC and PKG set as shell variables. Its body, verbatim:
install -d "$SRC_ROOT/sdl-shim"
cat > "$SRC_ROOT/sdl-shim/sdl2-config" <<'SHIM'
#!/bin/sh
case "$1" in
--cflags) exec pkg-config --cflags sdl2 ;;
--libs) exec pkg-config --libs sdl2 ;;
--version) exec pkg-config --modversion sdl2 ;;
*) exit 1 ;;
esac
SHIM
chmod 755 "$SRC_ROOT/sdl-shim/sdl2-config"
export PATH="$SRC_ROOT/sdl-shim:$PATH"
./configure \
--prefix=/usr \
--enable-release \
--disable-Werror \
--disable-debug \
--enable-optimizations \
--disable-cloud \
--disable-libcurl \
--disable-sdlnet \
--disable-enet \
--disable-dlc \
--disable-scummvmdlc \
--disable-updates \
--disable-sparkle \
--disable-discord \
--disable-libunity \
--disable-gtk \
--disable-eventrecorder \
--enable-tts \
--disable-translation \
--enable-alsa \
--enable-fluidsynth \
--disable-fluidlite \
--enable-mt32emu \
--disable-seq-midi \
--disable-timidity \
--disable-sndio \
--disable-sonivox \
--enable-ogg \
--enable-vorbis \
--disable-tremor \
--enable-flac \
--enable-mad \
--enable-faad \
--enable-theoradec \
--enable-vpx \
--enable-jpeg \
--enable-png \
--enable-gif \
--enable-freetype2 \
--enable-fribidi \
--enable-zlib \
--enable-mpeg2 \
--enable-a52 \
--disable-mikmod \
--enable-openmpt \
--disable-mpcdec \
--disable-retrowave \
--disable-opl2lpt \
--disable-readline
make
make DESTDIR=$PKG install
install -d "$PKG/usr/share/icons/hicolor/256x256/apps"
rsvg-convert -w 256 -h 256 icons/scummvm.svg \
-o "$PKG/usr/share/icons/hicolor/256x256/apps/org.scummvm.scummvm.png"
cat > "$PKG/usr/share/applications/org.scummvm.scummvm.desktop" <<'DESKTOP'
[Desktop Entry]
Type=Application
Name=ScummVM
GenericName=Adventure Game Engine
Comment=Play classic adventure and role-playing games from their original data files
TryExec=scummvm
Exec=scummvm
Icon=org.scummvm.scummvm
Terminal=false
StartupNotify=false
StartupWMClass=scummvm
Categories=Game;AdventureGame;RolePlaying;
Keywords=adventure;point and click;lucasarts;sierra;monkey island;scumm;game;
DESKTOP
chmod 644 "$PKG/usr/share/applications/org.scummvm.scummvm.desktop"
The switches, and why each is set:
--enable-release— Release mode, which definesRELEASE_BUILDand turns on optimisations;--disable-debugand--enable-optimizationssay the same thing directly, and the build carries no debugging symbols. It also turns the update checker on, so--disable-updateshas to come after it on the command line: configure reads the switches in order.--disable-Werror— Do not promote some warnings to errors, which configure does by default.--disable-cloud— This switch,--disable-libcurl,--disable-sdlnet,--disable-enet,--disable-dlc,--disable-scummvmdlc,--disable-updates,--disable-sparkle,--disable-discordand--disable-libunityleave out everything that reaches the network or another desktop’s services: cloud saves, the libcurl and SDL_net networking libraries, ENet multiplayer, the DLC and update downloaders, Discord presence and the Unity launcher.--disable-gtk— No GTK file dialogs; the launcher’s own file browser is used.--disable-eventrecorder— No event recorder, a developer tool for replaying input.--enable-tts— Text to speech through speech-dispatcher, which reads the menus and subtitles aloud.--disable-translation— No translated interface messages.--enable-alsa— This switch and the other--enable-switches that follow (FluidSynth, the MT-32 emulator, Ogg, Vorbis, FLAC, MAD, FAAD, Theora, VPx, JPEG, PNG, GIF, FreeType, FriBidi, zlib, MPEG-2, A/52 and OpenMPT) are libraries configure would otherwise probe for. Named on, the probe is skipped, and a missing library is a build failure instead of a quietly smaller program. MPEG-2 and A/52 play the cutscenes of some games, and OpenMPT the tracker-module music.--disable-fluidlite— This switch and--disable-sonivox,--disable-mpcdec,--disable-tremor,--disable-retrowaveand--disable-opl2lptare libraries and hardware drivers with no port here, turned off rather than detected: FluidLite and Sonivox MIDI, Musepack audio, the Tremor integer Vorbis decoder (full Vorbis is used), and the RetroWave and OPL2LPT sound-card adapters.--disable-seq-midi— No OSS MIDI sequencer, and with--disable-timidityand--disable-sndio, no MIDI through TiMidity’s network socket or sndio. MIDI is FluidSynth or the built-in MT-32 emulator.--disable-mikmod— No MikMod. configure uses it only when OpenMPT is absent.--disable-readline— No readline in the text debug console.
The common switches of each build system are explained in the Flag glossary.
4. Package. kpkg removes libtool archives, the info directory index, mimeinfo.cache and every fonts.dir from $PKG, copies the source’s licence files into /usr/share/licenses/scummvm, prunes what the image does not ship, lints the tree and rolls it reproducibly:
tar --sort=name --format=gnu --numeric-owner --owner=0 --group=0 \
--mtime=@$SOURCE_DATE_EPOCH \
--use-compress-program='xz -9 -T0 --block-size=32MiB --no-adjust' \
-cf scummvm-2026.3.0-1.tar.xz -C "$PKG" .
5. Adopt. kpkgadd installs the package’s files over the root, refusing a path another package owns, records the file list in /var/lib/kpkg/db/scummvm, and runs the triggers its paths call for.
Contents
Installed programs: scummvm.
Installed directories: /usr/share/doc/scummvm, /usr/share/licenses/scummvm, /usr/share/scummvm.
Short descriptions
scummvm |
adventure and role-playing game interpreter |
Notes
The SDL 2 interface comes from sdl2-compat, whose Provides: sdl2 answers pkg-config. Once pkg-config answers for sdl2, configure takes its SDL flags only from an sdl2-config found on PATH, and there is none here; without one it reads pkg-config’s own version as SDL’s and fails its probe. build.sh writes a small sdl2-config into $SRC_ROOT/sdl-shim, first on PATH, that answers --cflags, --libs and --version from pkg-config.
The menu icon is a 256-pixel PNG that build.sh rasterises from upstream’s SVG. Upstream’s menu entry is replaced, and SDL names the Wayland window after the executable, scummvm.