void-packages/srcpkgs/cairomm/template

26 lines
833 B
Bash

# Template file for 'cairomm'
pkgname=cairomm
version=1.14.5
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=70136203540c884e89ce1c9edfb6369b9953937f6cd596d97c78c9758a5d48db
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
}
}