void-packages/srcpkgs/atk/template
2020-08-18 05:46:27 +02:00

32 lines
889 B
Bash

# Template file for 'atk'
pkgname=atk
version=2.36.0
revision=1
build_style=meson
build_helper="gir"
configure_args="-Dintrospection=$(vopt_if gir true false)"
hostmakedepends="pkg-config glib-devel gettext"
makedepends="libglib-devel"
short_desc="Set of interfaces for accessibility"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://developer.gnome.org/atk/"
distfiles="${GNOME_SITE}/atk/${version%.*}/atk-${version}.tar.xz"
checksum=fb76247e369402be23f1f5c65d38a9639c1164d934e40f6a9cf3c9e96b652788
# Package build options
build_options="gir"
build_options_default="gir"
atk-devel_package() {
depends="${makedepends} atk>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
if [ "$build_option_gir" ]; then
vmove "usr/share/gir-*"
fi
}
}