2022-01-07 02:27:35 +03:00
|
|
|
#!/usr/bin/env -S bash ../.port_include.sh
|
2023-08-17 19:08:40 +03:00
|
|
|
port='libgd'
|
|
|
|
version='2.3.3'
|
|
|
|
useconfigure='true'
|
|
|
|
use_fresh_config_sub='true'
|
2023-08-17 19:05:40 +03:00
|
|
|
configopts=(
|
|
|
|
"--with-sysroot=${SERENITY_INSTALL_ROOT}"
|
|
|
|
'--without-avif'
|
|
|
|
'--without-heif'
|
|
|
|
'--without-liq'
|
|
|
|
'--without-raqm'
|
|
|
|
'--without-webp'
|
|
|
|
'--without-x'
|
|
|
|
'--without-xpm'
|
|
|
|
)
|
2023-08-17 19:08:40 +03:00
|
|
|
config_sub_paths=(
|
|
|
|
'config/config.sub'
|
|
|
|
)
|
2023-07-10 14:10:29 +03:00
|
|
|
files=(
|
2023-09-02 07:32:27 +03:00
|
|
|
"https://github.com/libgd/libgd/releases/download/gd-${version}/libgd-${version}.tar.gz#dd3f1f0bb016edcc0b2d082e8229c822ad1d02223511997c80461481759b1ed2"
|
2023-07-10 14:10:29 +03:00
|
|
|
)
|
2023-08-17 19:05:40 +03:00
|
|
|
depends=(
|
|
|
|
'fontconfig'
|
|
|
|
'freetype'
|
|
|
|
'libjpeg'
|
|
|
|
'libpng'
|
|
|
|
'libtiff'
|
|
|
|
'zlib'
|
|
|
|
)
|