mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-20 04:09:03 +00:00
CI: add sountfont, not download
The size is only some 90 kB when compressed so it is perhaps not worth downloading from external source and depend on it. It could be even bundled directly, not by CI. Now it is actually the case in Linux (create-appimage.sh) but it is also possible for other platforms.
This commit is contained in:
@@ -64,9 +64,10 @@ add_fonts() { # for GUI+testcard2
|
||||
cp "$FONT_PATH" $APPPREFIX/share/fonts
|
||||
done
|
||||
done
|
||||
if ls $APPPREFIX/lib/*mixer* >/dev/null 2>&1 && [ -f "${SDL_SOUNDFONTS-nonexistent}" ]; then
|
||||
if ls $APPPREFIX/lib/*mixer* >/dev/null 2>&1; then
|
||||
mkdir -p $APPPREFIX/share/soundfonts
|
||||
cp "$SDL_SOUNDFONTS" $APPPREFIX/share/soundfonts/default.${SDL_SOUNDFONTS##*.}
|
||||
sf=${SDL_SOUNDFONTS:-$srcdir/data/default.sf3}
|
||||
cp "$sf" $APPPREFIX/share/soundfonts/default."${sf##*.}"
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user