# Template build file for 'gtk+3'.
pkgname=gtk+3
version=3.6.0
revision=2
wrksrc="gtk+-${version}"
build_style=gnu-configure
configure_args="--enable-cups --disable-schemas-compile
--enable-gtk2-dependency --enable-colord --enable-x11-backend
--enable-broadway-backend"
triggers="gtk3-immodules"
conf_files="/etc/gtk-3.0/im-multipress.conf"
subpackages="gtk+3-devel gtk+3-demo"
depends="gtk-update-icon-cache shared-mime-info atk>=2.6.0"
makedepends="libXcursor-devel libXdamage-devel libXext-devel libXinerama-devel
libXi-devel libXrandr-devel libXcomposite-devel glib-devel>=2.34.0
atk-devel>=2.6.0 at-spi2-atk-devel>=2.6.0_2 libpng-devel fontconfig-devel
cairo-devel pango-devel>=1.29.3 gdk-pixbuf-devel>=2.25.2 gtk+-devel
colord-devel gobject-introspection cups-devel"
short_desc="The GTK+ toolkit (v3)"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gtk.org/"
license="LGPL-2.1"
distfiles="${GNOME_SITE}/gtk+/3.6/gtk+-${version}.tar.xz"
checksum=e13f45225a795ebe9e4047486fa57b3232e6a21539983775db6cd4ae9046b049
long_desc="
 GTK+ is a multi-platform toolkit for creating graphical user
 interfaces. Offering a complete set of widgets, GTK+ is suitable for
 projects ranging from small one-off tools to complete application
 suites.

 GTK+ has been designed from the ground up to support a range of
 languages, not only C/C++. Using GTK+ from languages such as Perl and
 Python (especially in combination with the Glade GUI builder) provides
 an effective method of rapid application development."

post_install() {
	rm -f ${DESTDIR}/usr/share/man/man1/gtk-update-icon-cache.1
}
