2009-04-17 14:53:18 +00:00
|
|
|
# Template build file for 'atk'.
|
2008-10-04 04:29:49 +00:00
|
|
|
pkgname=atk
|
2013-03-28 05:53:45 +00:00
|
|
|
version=2.8.0
|
2013-05-06 13:40:06 +00:00
|
|
|
revision=3
|
2012-09-25 02:52:49 +00:00
|
|
|
build_style=gnu-configure
|
2013-03-28 05:53:45 +00:00
|
|
|
hostmakedepends="pkg-config"
|
2013-05-06 13:40:06 +00:00
|
|
|
makedepends="glib-devel>=2.36"
|
2008-10-02 06:46:18 +00:00
|
|
|
short_desc="Set of interfaces for accessibility"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-06-14 13:32:18 +00:00
|
|
|
homepage="http://www.gtk.org/"
|
|
|
|
license="LGPL-2.1"
|
2013-03-28 05:53:45 +00:00
|
|
|
distfiles="${GNOME_SITE}/atk/${version%.*}/atk-${version}.tar.xz"
|
|
|
|
checksum=b22519176226f3e07cf6d932b77852e6b6be4780977770704b32d0f4e0686df4
|
2008-10-02 06:46:18 +00:00
|
|
|
long_desc="
|
|
|
|
The ATK library provides a set of interfaces for accessibility.
|
|
|
|
By supporting the ATK interfaces, an application or toolkit can
|
|
|
|
be used with such tools as screen readers, magnifiers,
|
|
|
|
and alternative input devices.
|
|
|
|
|
|
|
|
Atk provides a core set of interfaces which are common to all
|
2011-07-13 23:21:02 +00:00
|
|
|
widgets and additional interfaces that are appropriate to certain
|
2008-10-02 06:46:18 +00:00
|
|
|
classes of widgets and whose existence can be queried at run time.
|
|
|
|
It also provides interfaces which an application can use to provide
|
|
|
|
additional accessibility information to assistive technology tools."
|
2013-04-12 06:55:23 +00:00
|
|
|
|
2013-05-06 13:40:06 +00:00
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
|
|
# needs glib-mkenums
|
|
|
|
hostmakedepends+=" glib-devel"
|
|
|
|
fi
|
|
|
|
|
|
|
|
# Package build options
|
|
|
|
build_options="gir"
|
|
|
|
desc_option_gir="Enable support for building gobject introspection data"
|
|
|
|
|
|
|
|
# Disable gir for cross builds.
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
|
|
build_options_default="gir"
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
configure_args+=" --enable-introspection"
|
|
|
|
makedepends+=" gobject-introspection"
|
|
|
|
else
|
|
|
|
configure_args+=" --disable-introspection"
|
|
|
|
fi
|
|
|
|
|
2013-04-12 06:55:23 +00:00
|
|
|
atk-devel_package() {
|
|
|
|
depends="libglib-devel atk>=${version}"
|
2013-05-06 13:40:06 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 06:55:23 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-05-06 13:40:06 +00:00
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
vmove "usr/share/gir-*"
|
|
|
|
fi
|
2013-04-12 06:55:23 +00:00
|
|
|
vmove usr/share/gtk-doc
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
atk_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|