# Template file for 'libgnomecanvasmm'
pkgname=libgnomecanvasmm
version=2.26.0
revision=2
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config"
makedepends="gtkmm2-devel libgnomecanvas-devel"
short_desc="GNOME Canvas library (gtkmm2 binding)"
maintainer="davehome <davehome@redthumb.info.tm>"
homepage="http://gtkmm.sourceforge.net/"
license="LGPL-2.1"
distfiles="${GNOME_SITE}/$pkgname/2.26/$pkgname-$version.tar.bz2"
checksum=996577f97f459a574919e15ba7fee6af8cda38a87a98289e9a4f54752d83e918
long_desc="
 This is the canvas widget library for GNOME2. Libgnomecanvas was
 originally part of the gnome-libs package, but has been split out into
 a separate package for GNOME2.

 The GNOME canvas is an engine for structured graphics that offers a rich
 imaging model, high performance rendering, and a powerful, high-level API.
 It offers a choice of two rendering back-ends, one based on Xlib for
 extremely fast display, and another based on Libart, a sophisticated,
 antialiased, alpha-compositing engine. Applications have a choice between
 the Xlib imaging model or a superset of the PostScript imaging model,
 depending on the level of graphic sophistication required.

 This is the gtkmm2 binding."

libgnomecanvasmm-devel_package() {
	depends="libgnomecanvas-devel libgnomecanvasmm>=${version}"
	short_desc+=" -- development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/libgnomecanvasmm-2.6
		vmove usr/lib/pkgconfig
	}
}

libgnomecanvasmm_package() {
	pkg_install() {
		vmove usr
	}
}