Files
UltraGrid/.github/scripts/Linux/common.sh
Martin Pulec 0cfe4b6b0f CI Linux SDL: consolidate
add all to one script with deps/build_install/install_cached actions

- yml - use action @main
- cache: do not depend .github/scripts/Linux/prepare.sh, just the
catch-all SDL install file
- build SDL,SDL_ttf without entering the dir (as fluidsynth already does)
2025-08-28 08:48:16 +02:00

7 lines
231 B
Bash

# $2 - pattern to exclude; separate packates with '\|' (BRE alternation)
get_build_deps_excl() {
apt-cache showsrc "$1" | sed -n "/^Build-Depends:/\
{s/Build-Depends://;p;q}" | tr ',' '\n' | cut -f 2 -d\ | grep -v "$2"
}