# Template build file for 'atkmm'.
pkgname=atkmm
version=2.22.7
revision=1
build_style=gnu-configure
configure_args="--disable-documentation"
hostmakedepends="pkg-config"
makedepends="libsigc++-devel atk-devel glibmm-devel"
replaces="gtkmm<2.22"
short_desc="Set of interfaces for accessibility (C++ bindings)"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://gtkmm.sourceforge.net/"
license="LGPL-2.1"
distfiles="${GNOME_SITE}/atkmm/2.22/$pkgname-$version.tar.xz"
checksum=bfbf846b409b4c5eb3a52fa32a13d86936021969406b3dcafd4dd05abd70f91b
long_desc="
 The ATK library provides a set of interfaces for accessibility.
 By supporting the ATK interfaces, an application or toolkit can
 be used with such tools as screen readers, magnifiers,
 and alternative input devices.

 Atk provides a core set of interfaces which are common to all
 widgets and additional interfaces that are appropriate to certain
 classes of widgets and whose existence can be queried at run time.
 It also provides interfaces which an application can use to provide
 additional accessibility information to assistive technology tools.

 This package provides the C++ bindings for the ATK library."

atkmm-devel_package() {
	depends="glibmm-devel atk-devel atkmm>=${version}"
	short_desc+=" - development files"
	replaces="gtkmm-devel<2.22"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/lib/atkmm-1.6
	}
}