# Template build file for 'gtk+'.
pkgname=gtk+
version=2.24.1
revision=1
distfiles="${GNOME_SITE}/gtk+/2.24/gtk+-$version.tar.bz2"
build_style=gnu_configure
configure_args="--disable-cups --with-xinput"
short_desc="The GTK+ toolkit (v2)"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=0e2f94dfeb82ffb73640e17a411b9d62851dc4b2e147d90a24f94c1bfc0491ed
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."

conf_files="/etc/gtk-2.0/im-multipress.conf"
triggers="gtk-immodules"
subpackages="gtk+-devel"

Add_dependency run glibc
Add_dependency run libXext
Add_dependency run libXrender
Add_dependency run libXinerama
Add_dependency run libXi
Add_dependency run libXrandr
Add_dependency run libXcursor
Add_dependency run pango
Add_dependency run libX11
Add_dependency run libXcomposite
Add_dependency run libXdamage
Add_dependency run libXfixes
Add_dependency run atk
Add_dependency run cairo
Add_dependency run gdk-pixbuf
Add_dependency run libpng
Add_dependency run glib
Add_dependency run freetype
Add_dependency run fontconfig

Add_dependency build pkg-config
Add_dependency build perl
Add_dependency build glib-devel
Add_dependency build gobject-introspection
Add_dependency build libXext-devel
Add_dependency build libXrender-devel
Add_dependency build libXinerama-devel
Add_dependency build libXi-devel
Add_dependency build libXrandr-devel
Add_dependency build libXcursor-devel
Add_dependency build pango-devel		">=1.28.0"
Add_dependency build libX11-devel
Add_dependency build libXcomposite-devel
Add_dependency build libXdamage-devel
Add_dependency build libXfixes-devel
Add_dependency build atk-devel			">=1.32.0"
Add_dependency build cairo-devel
Add_dependency build gdk-pixbuf-devel
Add_dependency build libpng-devel
Add_dependency build freetype-devel
Add_dependency build fontconfig-devel

Add_dependency full shared-mime-info
