2011-02-14 13:08:46 +00:00
|
|
|
# Template build file for 'gtk+3'.
|
|
|
|
pkgname=gtk+3
|
2013-04-17 18:06:03 +00:00
|
|
|
version=3.8.1
|
|
|
|
revision=1
|
2011-02-14 13:08:46 +00:00
|
|
|
wrksrc="gtk+-${version}"
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2012-05-16 09:06:42 +00:00
|
|
|
configure_args="--enable-cups --disable-schemas-compile
|
2012-10-09 16:11:34 +00:00
|
|
|
--enable-gtk2-dependency --enable-colord --enable-x11-backend
|
|
|
|
--enable-broadway-backend"
|
2011-02-14 13:08:46 +00:00
|
|
|
short_desc="The GTK+ toolkit (v3)"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-06-07 21:21:15 +00:00
|
|
|
homepage="http://www.gtk.org/"
|
|
|
|
license="LGPL-2.1"
|
2013-03-28 06:00:23 +00:00
|
|
|
distfiles="${GNOME_SITE}/gtk+/3.8/gtk+-${version}.tar.xz"
|
2013-04-17 18:06:03 +00:00
|
|
|
checksum=f43e7c7d7a0e2417225509e88f67799534c69abfbb6f615fc7a895bf15e31255
|
2011-02-14 13:08:46 +00:00
|
|
|
|
2013-03-28 06:00:23 +00:00
|
|
|
hostmakedepends="pkg-config"
|
2012-10-09 16:11:34 +00:00
|
|
|
|
|
|
|
makedepends="libXcursor-devel libXdamage-devel libXext-devel libXinerama-devel
|
2013-04-17 18:06:03 +00:00
|
|
|
libXi-devel libXrandr-devel libXcomposite-devel libglib-devel>=2.36.0
|
2013-03-28 06:00:23 +00:00
|
|
|
atk-devel>=2.8.0 at-spi2-atk-devel>=2.6.0_2 libpng-devel fontconfig-devel
|
|
|
|
cairo-devel pango-devel>=1.29.3 gdk-pixbuf-devel>=2.28 gtk+-devel
|
2012-10-09 16:11:34 +00:00
|
|
|
colord-devel>=0.1.23_3 gobject-introspection cups-devel"
|
|
|
|
|
2011-12-06 10:51:39 +00:00
|
|
|
post_install() {
|
|
|
|
rm -f ${DESTDIR}/usr/share/man/man1/gtk-update-icon-cache.1
|
|
|
|
}
|
2013-04-12 13:11:12 +00:00
|
|
|
|
|
|
|
gtk+3-devel_package() {
|
2013-04-17 18:06:03 +00:00
|
|
|
depends="libglib-devel>=2.36.0 atk-devel>=2.6.0 cairo-devel gdk-pixbuf-devel
|
2013-04-12 13:11:12 +00:00
|
|
|
pango-devel at-spi2-atk-devel>=2.6.0 libXcomposite-devel libXcursor-devel
|
|
|
|
libXrandr-devel libXi-devel libXinerama-devel gtk+3-${version}_${revision}"
|
|
|
|
short_desc="${short_desc} - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
vmove usr/share/gtk-doc
|
|
|
|
vmove usr/share/aclocal
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
gtk+3-demo_package() {
|
|
|
|
short_desc="${short_desc} - demonstration application"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin/gtk3-demo
|
|
|
|
vmove usr/bin/gtk3-widget-factory
|
|
|
|
vmove usr/bin/gtk3-demo-application
|
|
|
|
vmove usr/share/gtk-3.0
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
gtk+3_package() {
|
|
|
|
triggers="gtk3-immodules"
|
|
|
|
conf_files="/etc/gtk-3.0/im-multipress.conf"
|
|
|
|
depends="gtk-update-icon-cache shared-mime-info glib>=2.36 atk>=2.8.0 dbus-x11"
|
|
|
|
pkg_install() {
|
2013-04-13 11:29:34 +00:00
|
|
|
vmove etc
|
2013-04-12 13:11:12 +00:00
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|