2012-11-21 11:12:43 -06:00
|
|
|
# Description: A library for configuring and customizing font access
|
2023-01-28 00:40:23 +01:00
|
|
|
# URL: https://www.freedesktop.org/wiki/Software/fontconfig/
|
2013-02-01 19:09:37 +11:00
|
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
2023-01-28 00:40:23 +01:00
|
|
|
# Depends on: expat-32 fontconfig freetype-32 util-linux-32
|
2012-11-21 11:12:43 -06:00
|
|
|
|
|
|
|
name=fontconfig-32
|
2023-01-28 00:40:23 +01:00
|
|
|
version=2.14.2
|
2013-03-04 21:01:01 -06:00
|
|
|
release=1
|
2022-04-03 15:42:55 +02:00
|
|
|
source=(https://fontconfig.org/release/fontconfig-$version.tar.xz)
|
2012-11-21 11:12:43 -06:00
|
|
|
|
|
|
|
build() {
|
2023-01-28 00:40:23 +01:00
|
|
|
meson setup fontconfig-$version build \
|
|
|
|
--prefix=/usr \
|
2012-11-21 11:12:43 -06:00
|
|
|
--libdir=/usr/lib32 \
|
2023-01-28 00:40:23 +01:00
|
|
|
--buildtype=plain \
|
|
|
|
--wrap-mode=nodownload \
|
|
|
|
-D b_lto=true \
|
|
|
|
-D b_pie=true \
|
|
|
|
-D doc-man=enabled \
|
|
|
|
-D doc=disabled \
|
|
|
|
-D nls=disabled \
|
|
|
|
-D tests=disabled \
|
|
|
|
-D cache-build=disabled
|
|
|
|
meson compile -C build -j ${JOBS:-1}
|
|
|
|
DESTDIR=$PKG meson install -C build
|
2012-11-21 11:12:43 -06:00
|
|
|
|
2023-01-28 00:40:23 +01:00
|
|
|
rm -r $PKG/usr/{bin,include,share} $PKG/etc
|
2012-11-21 11:12:43 -06:00
|
|
|
}
|