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

327.37. kubrick-26.08.2

Rubik's Cube puzzles in 3D, in several sizes and shapes, with solving demos

26.08.2-1 · GPL-2.0-or-later AND GFDL-1.2-or-later AND BSD-3-Clause AND CC0-1.0 · 0.4 SBU · 462.7 KiB, 40 files · 44_apps, 183 of 422 · ports/core/games-board/kubrick

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

Kubrick is a Rubik’s Cube game drawn in 3D: cubes, bricks and mats of any size up to 6×6×6, with preset puzzles at several levels from a 2×2×1 mat to a 6×6×6 cube, a 6×3×2 brick and a 6×4×1 mat, turned with the pointer or the keyboard. It shows demonstrations of patterns and solution moves, and every move can be undone back to the start. It is a Qt 6 and KDE Frameworks application built on libkdegames.

Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, qt6-qtsvg, kconfig, kconfigwidgets, kcoreaddons, kcrash, kdbusaddons, kdoctools, ki18n, kwidgetsaddons, kxmlgui, libkdegames, libglvnd, glu, mesa, gzip.

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

Sources: kubrick-26.08.2.tar.xz (383.6 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 kubrick'

build.sh:

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

Programs: kubrick.

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

The cube is drawn with desktop OpenGL in a QOpenGLWidget. The program links OpenGL::GL through libglvnd and OpenGL::GLU from glu, which the top-level configure does not name but the program’s link line does: without glu the generate step stops at an unknown OpenGL::GLU target. mesa is the driver libglvnd dispatches to at run time.

KF_SKIP_PO_PROCESSING stops only ki18n_install(): kdoctools_install() still builds the handbook in every translated language, and kpkg’s language rule removes /usr/share/doc/HTML/<lang>/ from the package.

The desktop entry is upstream’s org.kde.kubrick.desktop. KAboutData derives the window’s Wayland app id, org.kde.kubrick, from the component name and the apps.kde.org home page, so it is the entry’s file name and Plasma pairs the window with the entry without a StartupWMClass.