# Description: A library that encapsulates the logic for complex text layout
# URL: https://github.com/HOST-Oman/libraqm/
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: fribidi harfbuzz

name=libraqm
version=0.10.1
release=1
source=(https://github.com/HOST-Oman/libraqm/releases/download/v$version/raqm-$version.tar.xz)

build() {
	meson setup raqm-$version build \
		--prefix=/usr \
		--buildtype=plain \
		--wrap-mode nodownload \
		-D b_lto=true \
		-D b_pie=true \
		-D docs=false
	meson compile -C build
	DESTDIR=$PKG meson install -C build
}
