26 lines
744 B
Bash
Executable File
26 lines
744 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -ouex pipefail
|
|
|
|
# Enable rpm fusion free and nonfree
|
|
dnf5 -y install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
|
|
|
|
# switch to full ffmpeg
|
|
dnf5 -y swap ffmpeg-free ffmpeg --allowerasing
|
|
|
|
# install additonal codec
|
|
dnf5 -y group install multimedia
|
|
|
|
# install gstreamer plugins
|
|
dnf5 -y install \
|
|
gstreamer1-plugins-bad-free-extras \
|
|
gstreamer1-vaapi
|
|
|
|
# install steam
|
|
dnf5 -y install steam
|
|
|
|
# Hardware codec with amd
|
|
dnf5 -y swap mesa-va-drivers mesa-va-drivers-freeworld
|
|
dnf5 -y swap mesa-vdpau-drivers mesa-vdpau-drivers-freeworld
|
|
|
|
rm -f /etc/yum.repos.d/rpmfusion-*\.repo |