void-packages/srcpkgs/cairomm/template

25 lines
791 B
Bash

# Template file for 'cairomm'
pkgname=cairomm
version=1.14.2
revision=1
build_style=meson
hostmakedepends="pkg-config"
makedepends="libsigc++-devel fontconfig-devel libpng-devel libXrender-devel cairo-devel"
depends="cairo>=1.12.14_6"
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/$pkgname-$version.tar.xz"
checksum=0126b9cc295dc36bc9c0860d5b720cb5469fd78d5620c8f10cc5f0c07b928de3
cairomm-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/cairomm*"
vmove usr/lib/pkgconfig
}
}