# Template build file for 'gtkmm'.
pkgname=gtkmm
version=3.12.0
revision=1
build_style=gnu-configure
configure_args="--disable-documentation"
hostmakedepends="pkg-config"
makedepends="gtk+3-devel>=3.12 glibmm-devel>=2.40 atkmm-devel pangomm-devel"
short_desc="C++ bindings for The GTK+ toolkit (v2)"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://gtkmm.sourceforge.net/"
license="LGPL-2.1"
distfiles="${GNOME_SITE}/gtkmm/${version%.*}/gtkmm-$version.tar.xz"
checksum=86c526ceec15d889996822128d566748bb36f70cf5a2c270530dfc546a2574e1

gtkmm-devel_package() {
	depends="gtk+3-devel>=3.12 glibmm-devel>=2.40 atkmm-devel
		pangomm-devel cairomm-devel gtkmm>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove "usr/lib/g[dt]k*"
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.so"
	}
}
