# Template file for 'vte' pkgname=vte version=0.28.2 revision=16 build_style=gnu-configure configure_args="PYTHON=python2 --disable-static --with-gtk=2.0" hostmakedepends="automake gettext-devel gtk-doc gobject-introspection libtool pkg-config intltool python-devel glib-devel pygtk-devel" makedepends="gtk+-devel ncurses-devel python-devel pygtk-devel" short_desc="Terminal widget with improved accessibility and I18N support" maintainer="Juan RP " license="LGPL-2.1-or-later" homepage="http://www.gnome.org" distfiles="${GNOME_SITE}/vte/0.28/${pkgname}-${version}.tar.bz2" checksum=8d04e202b617373dfb47689e5e628febe2c58840b34cccc4af4feb88c48df903 pre_configure() { NOCONFIGURE=1 autoreconf -fi if [ "$CROSS_BUILD" ]; then sed -i "s,\(PYTHON_INCLUDES\)=.*,\1=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure fi } vte-python_package() { lib32disabled=yes depends="pygtk" short_desc+=" -- Python bindings" pkg_install() { vmove "usr/lib/python*" vmove "usr/share/pygtk*" } } vte-devel_package() { depends="libglib-devel pango-devel cairo-devel gtk+-devel vte>=${version}_${revision}" short_desc+=" -- development files" pkg_install() { vmove usr/include vmove usr/lib/pkgconfig vmove "usr/lib/*.so" vmove usr/share/gtk-doc } }