diff --git a/scripts/automator/packages/manager-apt b/scripts/automator/packages/manager-apt index 6c136b28..4fa2f760 100644 --- a/scripts/automator/packages/manager-apt +++ b/scripts/automator/packages/manager-apt @@ -1,2 +1,2 @@ # Package repo: https://packages.ubuntu.com/ -packages+=(xvfb libtool build-essential libsdl1.2-dev libsdl-net1.2-dev libopusfile-dev) +packages+=(xvfb libtool build-essential libsdl1.2-dev libsdl-net1.2-dev libncurses-dev libopusfile-dev) diff --git a/scripts/automator/packages/manager-brew b/scripts/automator/packages/manager-brew index 4c5173a8..892cab27 100644 --- a/scripts/automator/packages/manager-brew +++ b/scripts/automator/packages/manager-brew @@ -1,3 +1,3 @@ # Package repo: https://formulae.brew.sh/ delim="@" -packages+=(coreutils autogen autoconf automake make pkg-config libpng sdl sdl_net opusfile) +packages+=(coreutils autogen autoconf automake make pkg-config libpng ncurses sdl sdl_net opusfile) diff --git a/scripts/automator/packages/manager-defaults b/scripts/automator/packages/manager-defaults index b18fa423..06084b97 100644 --- a/scripts/automator/packages/manager-defaults +++ b/scripts/automator/packages/manager-defaults @@ -7,5 +7,9 @@ compiler="" STEPS=(print) function print() { - echo "${PACKAGES[*]}" "${COMPILER}" + filtered=(${PACKAGES[@]}) + for exclude in ${excludes[@]}; do + filtered=(${filtered[@]//*"${exclude}"*/}) + done + echo "${filtered[*]}" "${COMPILER}" } diff --git a/scripts/automator/packages/manager-dnf b/scripts/automator/packages/manager-dnf index 442183fd..79f1d9ab 100644 --- a/scripts/automator/packages/manager-dnf +++ b/scripts/automator/packages/manager-dnf @@ -1,2 +1,2 @@ # Package repo: https://apps.fedoraproject.org/packages/ -packages+=(xvfb libtool SDL SDL_net-devel opusfile-devel) +packages+=(xvfb libtool ncurses-devel SDL SDL_net-devel opusfile-devel) diff --git a/scripts/automator/packages/manager-macports b/scripts/automator/packages/manager-macports index fe0b99ad..826b1496 100644 --- a/scripts/automator/packages/manager-macports +++ b/scripts/automator/packages/manager-macports @@ -1,3 +1,3 @@ # Package repo: https://www.macports.org/ports.php?by=name delim="" -packages+=(coreutils autogen autoconf automake pkgconfig libpng libsdl libsdl_net opusfile) +packages+=(coreutils autogen autoconf automake pkgconfig libpng ncurses libsdl libsdl_net opusfile) diff --git a/scripts/automator/packages/manager-msys2 b/scripts/automator/packages/manager-msys2 index d5646a7a..ddd00736 100644 --- a/scripts/automator/packages/manager-msys2 +++ b/scripts/automator/packages/manager-msys2 @@ -2,6 +2,6 @@ # MSYS2 only supports the current latest releases of Clang and GCC, so we disable version customization packages+=(autogen autoconf base-devel automake-wrapper binutils) pkg_type=$([[ "${bits}" == "64" ]] && echo "x86_64" || echo "i686") -for pkg in pkg-config libtool libpng zlib SDL SDL_net opusfile; do +for pkg in pkg-config libtool libpng zlib ncurses SDL SDL_net opusfile; do packages+=("mingw-w64-${pkg_type}-${pkg}") done diff --git a/scripts/automator/packages/manager-pacman b/scripts/automator/packages/manager-pacman index 7ae2cb85..54f7243f 100644 --- a/scripts/automator/packages/manager-pacman +++ b/scripts/automator/packages/manager-pacman @@ -1,4 +1,4 @@ # Package repo: https://www.archlinux.org/packages/ # Arch offers 32-bit versions of SDL (but not others) -packages+=(xvfb libtool sdl_net opusfile) +packages+=(xvfb libtool ncurses sdl_net opusfile) [[ "${bits}" == "32" ]] && packages+=(lib32-sdl) || packages+=(sdl) diff --git a/scripts/automator/packages/manager-vcpkg b/scripts/automator/packages/manager-vcpkg index 7cff149d..ffaa3108 100644 --- a/scripts/automator/packages/manager-vcpkg +++ b/scripts/automator/packages/manager-vcpkg @@ -1,2 +1,2 @@ # Package repo: https://repology.org/projects/?inrepo=vcpkg -packages+=(libpng sdl1 sdl1-net opusfile) +packages+=(libpng pdcurses sdl1 sdl1-net opusfile) diff --git a/scripts/automator/packages/manager-zypper b/scripts/automator/packages/manager-zypper index 44bcdbeb..80de6b13 100644 --- a/scripts/automator/packages/manager-zypper +++ b/scripts/automator/packages/manager-zypper @@ -3,8 +3,8 @@ packages+=(devel_basis xvfb libtool opusfile) if [[ "${bits}" == "32" ]]; then - packages+=(libSDL-devel-32bit libSDL_net-devel-32bit) + packages+=(ncurses-devel-32bit libSDL-devel-32bit libSDL_net-devel-32bit) else - packages+=(SDL SDL_net) + packages+=(ncurses-devel SDL SDL_net) fi