2021-10-26 14:34:34 +03:00
|
|
|
#!/usr/bin/env -S bash ../.port_include.sh
|
|
|
|
port=fontconfig
|
2022-04-01 04:00:11 +03:00
|
|
|
version=2.14.0
|
2021-10-26 14:34:34 +03:00
|
|
|
useconfigure="true"
|
2022-01-08 16:32:29 +03:00
|
|
|
use_fresh_config_sub="true"
|
2022-01-31 03:33:35 +03:00
|
|
|
depends=("libxml2" "freetype")
|
2023-07-10 14:10:29 +03:00
|
|
|
files=(
|
2023-08-07 22:10:39 +03:00
|
|
|
"https://www.freedesktop.org/software/fontconfig/release/fontconfig-${version}.tar.xz dcbeb84c9c74bbfdb133d535fe1c7bedc9f2221a8daf3914b984c44c520e9bac"
|
2023-07-10 14:10:29 +03:00
|
|
|
)
|
2022-06-07 16:16:56 +03:00
|
|
|
configopts=(
|
|
|
|
"--with-sysroot=${SERENITY_INSTALL_ROOT}"
|
|
|
|
"--prefix=/usr/local"
|
|
|
|
"--disable-static"
|
|
|
|
"--enable-shared"
|
|
|
|
"--enable-libxml2"
|
|
|
|
"LDFLAGS=-ldl -lxml2"
|
|
|
|
)
|
2021-10-26 14:34:34 +03: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"
|