1
0
Fork 0

Add ncurses to installer packages

This commit is contained in:
krcroft 2019-12-10 17:10:29 -08:00 committed by Patryk Obara
parent eb9c0a8ec3
commit d12172b8a4
9 changed files with 14 additions and 10 deletions

View file

@ -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)

View file

@ -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)

View file

@ -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}"
}

View file

@ -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)

View file

@ -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)

View file

@ -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

View file

@ -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)

View file

@ -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)

View file

@ -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