# Template build file for 'gtkmm'.
pkgname=gtkmm2
version=2.24.0
revision=4
wrksrc=gtkmm-${version}
subpackages="gtkmm2-devel"
build_style=gnu-configure
configure_args="--disable-static --disable-documentation"
makedepends="pkg-config glib-devel atk-devel pango-devel cairo-devel
 freetype-devel fontconfig-devel gtk+-devel libsigc++-devel glibmm-devel
 atkmm-devel pangomm-devel cairomm-devel libXcursor-devel"
short_desc="C++ bindings for The GTK+ toolkit (v2)"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="${GNOME_SITE}/gtkmm/2.24/gtkmm-$version.tar.bz2"
checksum=8cbae7254746bc7df7cce882d9b9a916c4e00dba7bdacd1c50b5d096a484cf56
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 2.x, this package also provides
 bindings for the ATK library."

pre_install() {
	sed -i -e 's/^doc_subdirs/#doc_subdirs/' Makefile
}
