void-packages/srcpkgs/at-spi2-core/template

38 lines
1.1 KiB
Plaintext
Raw Normal View History

# Template file for 'at-spi2-core'
pkgname=at-spi2-core
2014-11-20 00:01:28 +01:00
version=2.14.1
2014-03-27 08:38:33 +01:00
revision=1
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"
conf_files="/etc/at-spi2/accessibility.conf"
short_desc="Assistive Technology Service Provider Interface"
maintainer="Juan RP <xtraeme@gmail.com>"
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"
2014-11-20 00:01:28 +01:00
checksum=eef9660b14fdf0fb1f30d1be7c72d591fa7cbb87b00ca3a444425712f46ce657
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
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"
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
vmove usr/share/gtk-doc
2013-09-25 09:37:35 +02:00
vmove "usr/lib/*.so"
}
}