# Template build file for 'vte3'.
pkgname=vte3
version=0.34.7
revision=1
wrksrc=vte-${version}
build_style=gnu-configure
configure_args="--with-gtk=3.0 --enable-introspection
 --disable-gnome-pty-helper --disable-static"
hostmakedepends="pkg-config intltool gobject-introspection"
makedepends="gtk+3-devel ncurses-devel vte"
short_desc="Terminal widget with improved accessibility and I18N support"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnome.org"
license="LGPL-2.1"
distfiles="${GNOME_SITE}/vte/0.34/vte-$version.tar.xz"
checksum=187e49cca574f548d04ceea701e95a1531ff9dd9cd1953ce6455824720dab932
long_desc="
 Terminal widget with improved font, internationalization and
 accessibility support for the GNOME 3 desktop."

vte3-devel_package() {
	depends="gtk+3-devel vte3-${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.so"
		vmove usr/share/gir-1.0
		vmove usr/share/gtk-doc
	}
}

vte3_package() {
	depends="vte"
	pkg_install() {
		vmove all
	}
}