SUMMARY="The Cantarell Font Family"
DESCRIPTION="\
The Cantarell font family is a contemporary humanistic sans serif. It was \
designed by Dave Crossland for on-screen reading - in particular for reading \
web pages on the author's HTC mobile phone. Since 2010 it's the default \
typaface of Gnome, the popular graphical user interface. Currently it fully \
supports Basic Latin, Western European, Catalan, Baltic, Turkish, Central \
European, Dutch and Afrikaans writing systems. The Cantarell typeface is \
included in Google Fonts too.
"
HOMEPAGE="http://wiki.gnome.org/CantarellFonts"
COPYRIGHT="2009-2011 Understanding Limited
	2010-2012 Jakub Steiner"
LICENSE="SIL Open Font License v1.1"
REVISION="1"
SOURCE_URI="http://download.gnome.org/sources/cantarell-fonts/$portVersion/cantarell-fonts-$portVersion.tar.xz"
CHECKSUM_SHA256="3d35db0ac03f9e6b0d5a53577591b714238985f4cfc31a0aa17f26cd74675e83"
SOURCE_DIR="cantarell-fonts-$portVersion"

ARCHITECTURES="any"
DISABLE_SOURCE_PACKAGE="yes"

PROVIDES="
	cantarell = $portVersion
	"

BUILD_PREREQUIRES="
	cmd:meson
	cmd:ninja
	"

BUILD()
{
	meson build --prefix="$prefix" \
		-Dbuildappstream=false -Dfontsdir="$fontsDir/otfonts"
	meson compile -C build $jobArgs
}

INSTALL()
{
	meson install -C build
}
