From 002246fbbf2a0112899adfc07861571e72a626fb Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 24 Nov 2026 16:56:26 +0000 Subject: [PATCH] install.sh: on a Wayland session also install GStreamer's PipeWire plugin and gst-launch-1.0 Arch names checked (installed on the Plasma 6.8 test desktop; --dry-run there prints them); the Debian, Fedora and openSUSE names are those distros' usual ones, not run. --- install.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/install.sh b/install.sh index 88cafae..709770a 100755 --- a/install.sh +++ b/install.sh @@ -184,6 +184,16 @@ install_dependencies() { runtime="" ;; esac + # Wayland: native Wayland games reach the engine through the ScreenCast portal and GStreamer's PipeWire plugin + # (gst-launch-1.0 pipewiresrc). Package names checked on Arch only; the others are each distro's usual names. + if [ "$SESSION_TYPE" = wayland ] && [ -n "$runtime" ]; then + case "$DISTRO_FAMILY" in + arch) runtime="$runtime gstreamer gst-plugins-base gst-plugin-pipewire" ;; + debian) runtime="$runtime gstreamer1.0-tools gstreamer1.0-plugins-base gstreamer1.0-pipewire" ;; + fedora) runtime="$runtime gstreamer1 gstreamer1-plugins-base pipewire-gstreamer" ;; + opensuse) runtime="$runtime gstreamer-utils gstreamer-plugins-base gstreamer-plugin-pipewire" ;; + esac + fi if [ -n "$runtime" ]; then step "Installing the tools Summit runs (a failure here only disables a feature)" # shellcheck disable=SC2086