2008-10-04 04:29:49 +00:00
|
|
|
# Template build file for 'gtk+'.
|
|
|
|
pkgname=gtk+
|
2013-03-07 13:45:04 +00:00
|
|
|
version=2.24.17
|
2013-04-12 13:11:12 +00:00
|
|
|
revision=2
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2012-05-16 09:12:47 +00:00
|
|
|
configure_args="--enable-cups --with-xinput"
|
2009-04-18 15:05:00 +00:00
|
|
|
short_desc="The GTK+ toolkit (v2)"
|
2008-10-03 00:48:02 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-06-20 08:10:51 +00:00
|
|
|
homepage="http://www.gtk.org"
|
|
|
|
license="LGPL-2.1"
|
2012-07-16 16:26:07 +00:00
|
|
|
distfiles="${GNOME_SITE}/gtk+/2.24/gtk+-$version.tar.xz"
|
2013-03-07 13:45:04 +00:00
|
|
|
checksum=e947b2b460156d98e8e38930b82458e1d613a71eb26e927f966f7081a640f415
|
2012-12-14 12:25:32 +00:00
|
|
|
|
|
|
|
makedepends="pkg-config perl glib-devel libXcursor-devel libXext-devel
|
|
|
|
libXrender-devel libXinerama-devel libXi-devel libXrandr-devel
|
|
|
|
libXcomposite-devel libXdamage-devel fontconfig-devel
|
|
|
|
gdk-pixbuf-devel>=2.26.1_2 cairo-devel pango-devel>=1.28.0
|
2013-04-12 13:11:12 +00:00
|
|
|
atk-devel>=1.32.0 gobject-introspection cups-devel
|
|
|
|
shared-mime-info dbus-x11"
|
|
|
|
|
|
|
|
gtk+-devel_package() {
|
|
|
|
depends="glib-devel atk-devel cairo-devel gdk-pixbuf-devel pango-devel gtk+>=${version}"
|
|
|
|
short_desc="${short_desc} - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/lib/gtk-2.0/include
|
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
vmove usr/share/gtk-doc
|
|
|
|
vmove usr/share/aclocal
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
gtk+-demo_package() {
|
|
|
|
short_desc="${short_desc} - demonstration application"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin/gtk-demo
|
|
|
|
vmove usr/share/gtk-2.0
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
gtk-update-icon-cache_package() {
|
|
|
|
short_desc="${short_desc} - The GTK+ update icon cache tool"
|
|
|
|
replaces="gtk+<=2.24.8_3 gtk+3<=3.2.2"
|
|
|
|
depends="gdk-pixbuf>=2.26.1_2" # libpng-1.5
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin/gtk-update-icon-cache
|
|
|
|
vinstall docs/reference/gtk/gtk-update-icon-cache.1 644 usr/share/man/man1
|
|
|
|
}
|
|
|
|
}
|
2012-12-14 12:25:32 +00:00
|
|
|
|
2013-04-12 13:11:12 +00:00
|
|
|
gtk+_package() {
|
|
|
|
depends="shared-mime-info dbus-x11 gdk-pixbuf>=2.26.1_2
|
|
|
|
gtk-update-icon-cache>=${version}_${revision}"
|
|
|
|
conf_files="/etc/gtk-2.0/im-multipress.conf"
|
|
|
|
triggers="gtk-immodules"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|