1
0
mirror of https://github.com/SerenityOS/serenity synced 2024-07-08 22:50:47 +00:00
serenity/Ports/fontconfig/package.sh

20 lines
698 B
Bash
Raw Normal View History

2021-10-26 11:34:34 +00:00
#!/usr/bin/env -S bash ../.port_include.sh
port=fontconfig
version=2.14.0
2021-10-26 11:34:34 +00:00
useconfigure="true"
use_fresh_config_sub="true"
depends=("libxml2" "freetype")
files="https://www.freedesktop.org/software/fontconfig/release/fontconfig-${version}.tar.xz fontconfig-${version}.tar.xz dcbeb84c9c74bbfdb133d535fe1c7bedc9f2221a8daf3914b984c44c520e9bac"
configopts=(
"--with-sysroot=${SERENITY_INSTALL_ROOT}"
"--prefix=/usr/local"
"--disable-static"
"--enable-shared"
"--enable-libxml2"
"LDFLAGS=-ldl -lxml2"
)
2021-10-26 11:34:34 +00:00
export CFLAGS="-I${SERENITY_INSTALL_ROOT}/usr/local/include/libxml2"
export LIBXML2_CFLAGS="-I${SERENITY_INSTALL_ROOT}/usr/local/include/libxml2/"
export LIBXML2_LIBS="-lxml2"