2009-04-17 16:53:18 +02:00
|
|
|
# Template build file for 'atk'.
|
2008-10-04 06:29:49 +02:00
|
|
|
pkgname=atk
|
2016-04-10 07:33:34 +02:00
|
|
|
version=2.20.0
|
2015-03-18 16:23:42 +01:00
|
|
|
revision=1
|
2012-09-25 04:52:49 +02:00
|
|
|
build_style=gnu-configure
|
2016-04-10 07:33:34 +02:00
|
|
|
configure_args="$(vopt_enable gir introspection)"
|
|
|
|
hostmakedepends="pkg-config glib-devel $(vopt_if gir gobject-introspection)"
|
2014-03-27 08:37:01 +01:00
|
|
|
makedepends="libglib-devel"
|
2008-10-02 08:46:18 +02:00
|
|
|
short_desc="Set of interfaces for accessibility"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2011-06-14 15:32:18 +02:00
|
|
|
homepage="http://www.gtk.org/"
|
|
|
|
license="LGPL-2.1"
|
2013-03-28 06:53:45 +01:00
|
|
|
distfiles="${GNOME_SITE}/atk/${version%.*}/atk-${version}.tar.xz"
|
2016-04-10 07:33:34 +02:00
|
|
|
checksum=493a50f6c4a025f588d380a551ec277e070b28a82e63ef8e3c06b3ee7c1238f0
|
2013-04-12 08:55:23 +02:00
|
|
|
|
2013-05-06 15:40:06 +02:00
|
|
|
# Package build options
|
|
|
|
build_options="gir"
|
|
|
|
|
|
|
|
# Disable gir for cross builds.
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
|
|
build_options_default="gir"
|
|
|
|
fi
|
|
|
|
|
2013-04-12 08:55:23 +02:00
|
|
|
atk-devel_package() {
|
2016-04-10 07:33:34 +02:00
|
|
|
depends="${makedepends} atk>=${version}_${revision}"
|
2013-05-06 15:40:06 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 08:55:23 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-05-06 15:40:06 +02:00
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
vmove "usr/share/gir-*"
|
|
|
|
fi
|
2013-04-12 08:55:23 +02:00
|
|
|
vmove usr/share/gtk-doc
|
|
|
|
}
|
|
|
|
}
|