# Template file for 'gtksourceviewmm'
pkgname=gtksourceviewmm
version=3.18.0
revision=5
build_style=gnu-configure
configure_args="--enable-documentation"
hostmakedepends="doxygen graphviz libxslt perl pkg-config"
makedepends="glibmm-devel gtkmm-devel gtksourceview-devel"
short_desc="GtkSourceview C++ bindings"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://developer.gnome.org/gtksourceviewmm/"
distfiles="${GNOME_SITE}/gtksourceviewmm/${version%.*}/gtksourceviewmm-${version}.tar.xz"
checksum=51081ae3d37975dae33d3f6a40621d85cb68f4b36ae3835eec1513482aacfb39

gtksourceviewmm-devel_package() {
	depends="gtkmm-devel gtksourceview-devel ${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/lib/gtksourceviewmm-3.0
		vmove "usr/lib/*.so"
		vmove usr/share/doc
	}
}
