258.16. kpipewire-6.8.2
Qt and QML components for PipeWire screen-cast streams: display, DMA-BUF import and recording
6.8.2-1 · (LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL) AND GPL-2.0-or-later AND Apache-2.0 · 3.1 SBU · 925.8 KiB, 53 files · 43_toolkits, 187 of 344 · ports/core/kde/kpipewire
Homepage: https://invent.kde.org/plasma/kpipewire
KPipeWire is Plasma’s PipeWire screen-cast client. It takes the video stream a compositor offers through the screen-cast portal or KWin’s own screen-cast protocol, imports its frames as DMA-BUF textures, and shows them in Qt Quick (org.kde.pipewire), encodes them to a file (org.kde.pipewire.record), or watches which streams are open (org.kde.pipewire.monitor). Spectacle records with it, the task manager’s window thumbnails are drawn with it, and krdp and krfb send the desktop over the network through it.
Depends on: cmake, ninja, extra-cmake-modules, pkgconf, qt6-qtbase, qt6-qtdeclarative, kcoreaddons, ki18n, pipewire, ffmpeg, libva, libdrm, mesa, libglvnd, libepoxy.
Required by (7): krdp, krfb, plasma-desktop, plasma-workspace, selenium-webdriver-at-spi, spectacle, xdg-desktop-portal-kde.
Sources: kpipewire-6.8.2.tar.xz (166.4 KiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/43_toolkits/phase.env && kpkg install kpipewire'
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 \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
-D KF_SKIP_PO_PROCESSING=ON— Skips building the translations of its messages, which the package-wide English-only rule would remove anyway (see Size and language policy).
Libraries: libKPipeWire.so, libKPipeWireDmaBuf.so, libKPipeWireMonitor.so, libKPipeWireRecord.so.
Directories: /usr/include/KPipeWire, /usr/lib/cmake/KPipeWire, /usr/lib/qt6/qml/org/kde/pipewire, /usr/share/licenses/kpipewire.
Every dependency is a requirement of the configure, with no switch: PipeWire, FFmpeg’s libavcodec, libavformat, libavfilter, libavutil and libswscale, GBM from mesa, EGL through libglvnd, libepoxy, libdrm and libva.
The recorder asks FFmpeg for its encoders by name when a recording starts, so what it can write is decided by the ffmpeg port and not here: libx264, libvpx and libvpx-vp9, libwebp, gif and the VA-API h264_vaapi are built there. The libopenh264 encoder is not, and the recorder skips it.