Add code to handle codec installation manually
This commit is contained in:
parent
0597a8faff
commit
052cbcfb68
@ -82,6 +82,8 @@ GNOME_EXTENSIONS=(
|
|||||||
########################################
|
########################################
|
||||||
# URLs
|
# URLs
|
||||||
|
|
||||||
|
PACKMAN_REPO_URL="https://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/"
|
||||||
|
|
||||||
FLATHUB_REMOTE_URL="https://flathub.org/repo/flathub.flatpakrepo"
|
FLATHUB_REMOTE_URL="https://flathub.org/repo/flathub.flatpakrepo"
|
||||||
|
|
||||||
PERSONALIZER_REPO_URL="https://gitlab.com/jessieh/opensuse-personalizer.git"
|
PERSONALIZER_REPO_URL="https://gitlab.com/jessieh/opensuse-personalizer.git"
|
||||||
@ -309,9 +311,13 @@ if [[ "${detected_features[@]}" == *"x86-64-v3"* ]]; then
|
|||||||
sudo zypper in patterns-glibc-hwcaps-x86_64_v3
|
sudo zypper in patterns-glibc-hwcaps-x86_64_v3
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sudo zypper --non-interactive rm ${RM[@]} ${AL[@]}
|
sudo zypper --non-interactive remove ${RM[@]} ${AL[@]}
|
||||||
sudo zypper --non-interactive al ${AL[@]}
|
sudo zypper --non-interactive addlock ${AL[@]}
|
||||||
sudo zypper --non-interactive in ${IN[@]}
|
sudo zypper --non-interactive install ${IN[@]}
|
||||||
|
|
||||||
|
# Install any codecs not hosted by OpenSUSE
|
||||||
|
sudo zypper --non-interactive addrepo -cfp 90 "${PACKMAN_REPO_URL}" packman
|
||||||
|
sudo zypper --non-interactive install --from packman ffmpeg gstreamer-plugins-{good,bad,ugly,libav} libavcodec-full
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
# Flatpak operations
|
# Flatpak operations
|
||||||
@ -323,12 +329,6 @@ sudo flatpak remote-add --if-not-exists flathub "${FLATHUB_REMOTE}"
|
|||||||
echo "Setting up Flatpak packages..."
|
echo "Setting up Flatpak packages..."
|
||||||
sudo flatpak install --noninteractive ${FLATPAK_PACKAGES[@]}
|
sudo flatpak install --noninteractive ${FLATPAK_PACKAGES[@]}
|
||||||
|
|
||||||
########################################
|
|
||||||
# Codec installation
|
|
||||||
|
|
||||||
echo "Setting up codecs..."
|
|
||||||
opi codecs
|
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
# (OPTIONAL) Extra packages
|
# (OPTIONAL) Extra packages
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user