# Template build file for 'gtk+3'.
pkgname=gtk+3
version=3.0.0
wrksrc="gtk+-${version}"
distfiles="${GNOME_SITE}/gtk+/3.0/gtk+-$version.tar.bz2"
build_style=gnu_configure
configure_args="--disable-cups --disable-schemas-compile
--enable-gtk2-dependency"
short_desc="The GTK+ toolkit (v3)"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=ec0729bf28f09a16e0b0a6a588556c7cee091f40426505b3694a9488bf6cbf67
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."

triggers="gtk3-immodules gsettings-schemas"
conf_files="/etc/gtk-3.0/im-multipress.conf"
subpackages="gir-gtk+3 gtk+3-devel"

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

Add_dependency build libXext-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
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
Add_dependency build cairo-devel
Add_dependency build gdk-pixbuf-devel
Add_dependency build glibc-devel
Add_dependency build libpng-devel
Add_dependency build glib-devel
Add_dependency build freetype-devel
Add_dependency build fontconfig-devel

Add_dependency full gtk+ ">=0"		# for gtk-update-icon-cache
Add_dependency full shared-mime-info
