# Template build file for 'libglade'.
pkgname=libgdlmm
_realname=gdlmm
version=3.7.3
revision=2
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config"
makedepends="gdl-devel gtk+3-devel libxml2-devel gtkmm-devel"
short_desc="C++ bindings for the gdl library"
homepage="https://git.gnome.org/browse/gdlmm"
license="LGPL-2"
maintainer="Enno Boland <gottox@voidlinux.eu>"
distfiles="${GNOME_SITE}/$_realname/3.7/$_realname-$version.tar.xz"
checksum=e280ed9233877b63ad0a0c8fb04d2c35dc6a29b3312151ee21a15b5932fef79b
wrksrc=${_realname}-${version}

libgdlmm-devel_package() {
	depends="gdl-devel ${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.so"
	}
}
