# Description: C++ wrapper for the cairo graphics library.
# URL: https://cairographics.org/cairomm/
# Maintainer: John McQuah, jmcquah at disroot dot org
# Depends on: cairo libsigc++

name=cairomm
version=1.16.2
release=1
source=(https://cairographics.org/releases/$name-$version.tar.xz)

build() {
	meson setup build $name-$version \
		--prefix=/usr \
		--buildtype=plain \
		-D b_lto=true \
		-D b_pie=true

	ninja -C build -j ${JOBS:-1}
	DESTDIR=$PKG ninja -C build install
}
