serenity/Ports/SDL2_ttf/package.sh
Timothy Flynn 9af8c61b29 Ports: Update ports that depend on LibCore to depend on LibCoreMinimal
Looks like we need to be explicit for make-based ports.
2024-03-31 19:22:32 +02:00

23 lines
689 B
Bash
Executable file

#!/usr/bin/env -S bash ../.port_include.sh
port='SDL2_ttf'
version='2.20.2'
useconfigure='true'
files=(
"https://github.com/libsdl-org/SDL_ttf/releases/download/release-${version}/SDL2_ttf-${version}.tar.gz#9dc71ed93487521b107a2c4a9ca6bf43fb62f6bddd5c26b055e6b91418a22053"
)
depends=(
'freetype'
'SDL2'
)
configure() {
run ./configure \
--host="${SERENITY_ARCH}-pc-serenity" \
--with-sdl-prefix="${SERENITY_INSTALL_ROOT}/usr/local" \
--with-x='no' \
--disable-static \
--enable-shared \
FT2_CFLAGS="-I${SERENITY_INSTALL_ROOT}/usr/local/include/freetype2" \
LIBS='-lgui -lgfx -lipc -lcore -lcoreminimal -lcompress'
}