void-packages/srcpkgs/cairomm/template

26 lines
833 B
Bash

# Template file for 'cairomm'
pkgname=cairomm
version=1.14.4
revision=1
build_style=meson
configure_args="-Dbuild-examples=false"
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="https://cairographics.org/releases/cairomm-${version}.tar.xz"
checksum=4749d25a2b2ef67cc0c014caaf5c87fa46792fc4b3ede186fb0fc932d2055158
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
}
}