# Template build file for 'gtkmm'.
pkgname=gtkmm
version=3.8.1
revision=1
build_style=gnu-configure
configure_args="--disable-documentation"
hostmakedepends="pkg-config"
makedepends="gtk+3-devel>=3.8.1 glibmm-devel>=2.36 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/3.8/gtkmm-$version.tar.xz"
checksum=d374c6d6d78fd9f61bca737cd7c23452de427a1662de8abf46df784e07e4c95b
long_desc="
 gtkmm (previously known as Gtk--) is the official C++ interface for the
 popular GUI library GTK+. Highlights include typesafe callbacks, widgets
 extensible via inheritance and a comprehensive set of widget classes that
 can be freely combined to quickly create complex user interfaces. Here's
 an overview, with documentation and status. gtkmm is free software
 distributed under the GNU Library General Public License (LGPL).

 Aside from the C++ interface to Gtk 3.x, this package also provides
 bindings for the ATK library."

gtkmm-devel_package() {
	depends="gtk+3-devel>=3.8 glibmm-devel>=2.35.9 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
	}
}

gtkmm_package() {
	depends="gtk+3>=3.8.1"
	pkg_install() {
		vmove usr
	}
}
