2021-03-07 19:45:41 +03:00
|
|
|
#!/usr/bin/env -S bash ../.port_include.sh
|
|
|
|
port=SDL2_ttf
|
|
|
|
version=2.0.15
|
|
|
|
useconfigure=true
|
|
|
|
files="https://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-${version}.tar.gz SDL2_ttf-${version}.tar.gz"
|
|
|
|
depends="SDL2 freetype"
|
|
|
|
|
|
|
|
configure() {
|
|
|
|
run ./configure \
|
2021-03-11 21:50:44 +03:00
|
|
|
--host="${SERENITY_ARCH}-pc-serenity" \
|
|
|
|
--with-sdl-prefix="${SERENITY_BUILD_DIR}/Root/usr" \
|
2021-04-11 17:28:32 +03:00
|
|
|
--with-x=no \
|
2021-04-04 14:10:53 +03:00
|
|
|
FT2_CFLAGS="-I${SERENITY_BUILD_DIR}/Root/usr/local/include/freetype2" \
|
2021-03-07 20:01:10 +03:00
|
|
|
LIBS="-lgui -lgfx -lipc -lcore -lcompress"
|
2021-03-07 19:45:41 +03:00
|
|
|
}
|