# Description: A library for layout and rendering of text
# URL: https://www.gtk.org/
# Maintainer: CRUX System Team, core-ports at crux dot nu
# Depends on: fribidi xorg-libsm xorg-libxft

name=pango
version=1.52.2
release=1
source=(https://download-fallback.gnome.org/sources/$name/${version:0:4}/$name-$version.tar.xz)

build() {
	meson setup $name-$version build \
		--prefix=/usr \
		--buildtype=plain \
		--wrap-mode nodownload \
		-D b_lto=true \
		-D b_pie=true
	meson compile -C build -j ${JOBS:-1}
	DESTDIR=$PKG meson install -C build
}
