25 lines
660 B
Plaintext
Raw Normal View History

# Description: A free and portable TrueType font rendering engine
# URL: https://www.freetype.org/
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
2023-08-26 10:23:08 +02:00
# Depends on: bzip2-32 freetype libpng-32
name=freetype-32
2024-08-15 19:50:57 +02:00
version=2.13.3
2019-03-18 23:03:29 +11:00
release=1
2023-08-26 10:23:08 +02:00
source=(https://sourceforge.net/projects/freetype/files/freetype2/$version/freetype-$version.tar.xz)
build() {
meson setup ${name%-*}-$version build \
--prefix=/usr \
--libdir=/usr/lib32 \
--buildtype=plain \
--wrap-mode=nodownload \
-D b_lto=true \
-D b_pie=true \
-D default_library=shared
meson compile -C build -j ${JOBS:-1}
DESTDIR=$PKG meson install -C build
rm -r $PKG/usr/include
}