33 lines
879 B
Bash
33 lines
879 B
Bash
# Template file for 'atk'
|
|
pkgname=atk
|
|
version=2.32.0
|
|
revision=2
|
|
build_style=meson
|
|
build_helper="gir"
|
|
configure_args="-Dintrospection=$(vopt_if gir true false)"
|
|
hostmakedepends="pkg-config glib-devel"
|
|
makedepends="libglib-devel"
|
|
short_desc="Set of interfaces for accessibility"
|
|
maintainer="Rasmus Thomsen <oss@cogitri.dev>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://developer.gnome.org/atk/"
|
|
distfiles="${GNOME_SITE}/atk/${version%.*}/atk-${version}.tar.xz"
|
|
checksum=cb41feda7fe4ef0daa024471438ea0219592baf7c291347e5a858bb64e4091cc
|
|
|
|
# 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
|
|
}
|
|
}
|