Support newest libjpeg-turbo on OpenSuse

This commit is contained in:
Dmitry Maksyoma
2023-01-24 21:40:09 +13:00
parent c34724f421
commit 40401ef380
2 changed files with 12 additions and 1 deletions

View File

@@ -21,6 +21,10 @@ install_build_dependencies() {
dnf install -y cmake gcc
return
fi
if [ "$DISTRO" = opensuse ]; then
zypper install -y cmake gcc
return
fi
apt-get update
apt-get install -y cmake gcc
@@ -35,6 +39,10 @@ ensure_libjpeg_is_fast() {
dnf install -y nasm
return
fi
if [ "$DISTRO" = opensuse ]; then
zypper install -y nasm
return
fi
apt-get update
apt-get install -y nasm