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

327.8. kreversi-26.08.2

Reversi against the computer or a second player

26.08.2-1 · GPL-2.0-or-later · 0.7 SBU · 998.8 KiB, 45 files · 44_apps, 154 of 422 · ports/core/games-board/kreversi

Homepage: https://apps.kde.org/kreversi/

KReversi is KDE’s Reversi, against the computer or a second player, built on libkdegames.

Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, qt6-qtwayland, qt6-qtdeclarative, qt6-qtsvg, kcolorscheme, kconfig, kconfigwidgets, kcoreaddons, kcrash, kdbusaddons, kdoctools, ki18n, kiconthemes, kjobwidgets, kio, kxmlgui, kwidgetsaddons, libkdegames.

Required by (1): kde-gear-games.

Sources: kreversi-26.08.2.tar.xz (1012.3 KiB). Every step kpkg takes applies to this port.

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

build.sh:

cmake -S . -B build -G Ninja \
	-D CMAKE_INSTALL_PREFIX=/usr \
	-D KDE_INSTALL_LIBDIR=lib \
	-D CMAKE_BUILD_TYPE=Release \
	-D KDE_INSTALL_USE_QT_SYS_PATHS=ON \
	-D BUILD_TESTING=OFF \
	-D KF_SKIP_PO_PROCESSING=ON \
	-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build

cat > "$PKG/usr/share/applications/org.kde.kreversi.desktop" <<'DESKTOP'
[Desktop Entry]
Type=Application
Name=KReversi
GenericName=Reversi Board Game
Comment=Turn your opponent's pieces over by surrounding them
TryExec=kreversi
Exec=kreversi -qwindowtitle %c
Icon=kreversi
X-DocPath=kreversi/index.html
Categories=Qt;KDE;Game;BoardGame;
Keywords=reversi;othello;board;kreversi;
Terminal=false
StartupWMClass=org.kde.kreversi
DESKTOP
chmod 644 "$PKG/usr/share/applications/org.kde.kreversi.desktop"

Programs: kreversi.

Directories: /usr/share/doc/HTML/en/kreversi, /usr/share/kreversi, /usr/share/licenses/kreversi.

The desktop entry is KDOS’s own, written over upstream’s. Its StartupWMClass is org.kde.kreversi, the desktop file name KAboutData sets and the window’s Wayland app_id, so the task manager can match the window to its entry.