diff --git a/scripts/install_deps.sh b/scripts/install_deps.sh index 0ecf0c3..244e8b8 100755 --- a/scripts/install_deps.sh +++ b/scripts/install_deps.sh @@ -1,8 +1,11 @@ #!/bin/bash -sudo apt-get update +# test for nala installation +which nala && PKG_MNG="nala" || PKG_MNG="apt-get" -sudo apt-get install autoconf automake build-essential cmake git-core \ +sudo "$PKG_MNG" update + +sudo "$PKG_MNG" install autoconf automake build-essential cmake git-core \ libass-dev libfreetype6-dev libsdl2-dev libtool libva-dev libvdpau-dev \ libvorbis-dev libxcb1-dev libxcb-shm0-dev libxcb-xfixes0-dev pkg-config \ texinfo wget zlib1g-dev nasm yasm libssl-dev time python3 meson ninja-build\