25 lines
676 B
Plaintext
25 lines
676 B
Plaintext
# 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
|
|
# Depends on: bzip2-32 freetype libpng-32
|
|
|
|
name=freetype-32
|
|
version=2.13.3
|
|
release=1
|
|
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,share/aclocal}
|
|
}
|