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