# Template file for 'cairomm1.16'
pkgname=cairomm1.16
version=1.16.1
revision=1
wrksrc="cairomm-$version"
build_style=meson
hostmakedepends="pkg-config"
makedepends="libsigc++3-devel fontconfig-devel libpng-devel libXrender-devel cairo-devel"
short_desc="C++ bindings to Cairo vector graphics library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later, MPL-1.1"
homepage="https://www.cairographics.org/cairomm/"
distfiles="http://cairographics.org/releases/cairomm-$version.tar.xz"
checksum=6f6060d8e98dd4b8acfee2295fddbdd38cf487c07c26aad8d1a83bb9bff4a2c6

cairomm1.16-devel_package() {
	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove "usr/lib/cairomm*"
		vmove usr/lib/pkgconfig
	}
}
