1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 13:17:34 +00:00

Ports: Add SDL2_ttf

This commit is contained in:
Andreas Kling 2021-03-07 17:45:41 +01:00
parent fefb05f6f3
commit 30b957e46c
3 changed files with 27 additions and 0 deletions

14
Ports/SDL2_ttf/package.sh Executable file
View file

@ -0,0 +1,14 @@
#!/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"
workdir="SDL2_ttf-$version"
depends="SDL2 freetype"
configure() {
run ./configure \
--host=${SERENITY_ARCH}-pc-serenity \
--with-sdl-prefix=${SERENITY_ROOT}/Build/Root/usr \
LIBS="-lgui -lgfx -lipc -lcore -lcompression"
}