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.
This commit is contained in:
1 parent
5d104388c1
commit
002246fbbf
1 file changed
+10
+10
@@ -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
|
||||
|
||||
Reference in new issue
Block a user