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

45 lines
1.3 KiB
Text
Raw Normal View History

# Template file for 'at-spi2-core'
pkgname=at-spi2-core
2013-11-12 08:21:48 +00:00
version=2.10.2
2014-02-04 15:51:53 +00:00
revision=2
build_style=gnu-configure
2014-02-04 15:51:53 +00:00
hostmakedepends="pkg-config intltool dbus glib-devel"
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 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"
2013-11-12 08:21:48 +00:00
checksum=d3da58f84f4c8e4d5fe940ecb52fb27b4d9ea2b4dcdb3e1fae0f46b5eaa2dde1
2014-02-04 15:51:53 +00:00
# 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
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"
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
vmove usr/share/gtk-doc
2013-09-25 07:37:35 +00:00
vmove "usr/lib/*.so"
}
}