2011-03-11 10:25:15 +00:00
|
|
|
# Template file for 'at-spi2-core'
|
|
|
|
pkgname=at-spi2-core
|
2014-09-25 10:05:08 +00:00
|
|
|
version=2.14.0
|
2014-03-27 07:38:33 +00:00
|
|
|
revision=1
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2014-09-25 10:05:08 +00:00
|
|
|
configure_args="$(vopt_enable gir introspection)"
|
|
|
|
hostmakedepends="pkg-config intltool dbus glib-devel $(vopt_if gir gobject-introspection)"
|
2014-02-04 15:51:53 +00:00
|
|
|
makedepends="libglib-devel libXext-devel libSM-devel libXtst-devel libXevie-devel dbus-devel"
|
2014-01-01 15:10:11 +00:00
|
|
|
conf_files="/etc/at-spi2/accessibility.conf"
|
2011-03-11 10:25:15 +00:00
|
|
|
short_desc="Assistive Technology Service Provider Interface"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-09-25 03:27:43 +00:00
|
|
|
homepage="http://www.gnome.org"
|
|
|
|
license="GPL-2"
|
2013-03-28 06:29:45 +00:00
|
|
|
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
2014-09-25 10:05:08 +00:00
|
|
|
checksum=5807b02e6ef695b52fde7ff26d675dd94a0707df3c42fe7fd224828e092514c8
|
2011-03-11 10:25:15 +00:00
|
|
|
|
2014-02-04 15:51:53 +00: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 06:55:23 +00:00
|
|
|
at-spi2-core-devel_package() {
|
2013-11-12 08:21:48 +00:00
|
|
|
depends="dbus-devel ${sourcepkg}>=${version}_${revision}"
|
2013-09-25 07:37:35 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 06:55:23 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-02-04 15:51:53 +00:00
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
fi
|
2013-04-12 06:55:23 +00:00
|
|
|
vmove usr/share/gtk-doc
|
2013-09-25 07:37:35 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 06:55:23 +00:00
|
|
|
}
|
|
|
|
}
|