2009-04-20 03:59:03 +00:00
|
|
|
# Template build file for 'vte'.
|
|
|
|
pkgname=vte
|
2011-08-31 06:55:06 +00:00
|
|
|
version=0.28.2
|
2014-04-01 14:00:37 +00:00
|
|
|
revision=7
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2012-10-10 15:54:56 +00:00
|
|
|
configure_args="--disable-static --with-gtk=2.0"
|
2014-01-28 09:43:08 +00:00
|
|
|
hostmakedepends="automake gettext-devel gtk-doc gobject-introspection libtool pkg-config intltool python-devel glib-devel pygtk-devel"
|
|
|
|
makedepends="gtk+-devel ncurses-devel pygtk-devel"
|
2009-04-20 03:59:03 +00:00
|
|
|
short_desc="Terminal widget with improved accessibility and I18N support"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-06-15 07:08:20 +00:00
|
|
|
homepage="http://www.gnome.org"
|
|
|
|
license="LGPL-2.1"
|
2012-10-10 15:54:56 +00:00
|
|
|
distfiles="${GNOME_SITE}/vte/0.28/$pkgname-$version.tar.bz2"
|
2011-08-31 06:55:06 +00:00
|
|
|
checksum=8d04e202b617373dfb47689e5e628febe2c58840b34cccc4af4feb88c48df903
|
2014-01-28 09:43:08 +00:00
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
NOCONFIGURE=1 autoreconf -fi
|
|
|
|
}
|
|
|
|
|
|
|
|
do_configure() {
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
|
|
# XXX share python-config wrapper for all pkgs.
|
|
|
|
# create a python-config wrapper to fake --includes
|
|
|
|
install -m755 ${XBPS_SRCPKGDIR}/py2cairo/files/python-config ${wrksrc}
|
|
|
|
export PATH=${wrksrc}:$PATH
|
|
|
|
fi
|
|
|
|
env PYTHON=python ./configure ${configure_args}
|
|
|
|
}
|
2013-04-14 14:51:01 +00:00
|
|
|
|
|
|
|
vte-python_package() {
|
2014-04-01 14:00:37 +00:00
|
|
|
lib32disabled=yes
|
2013-04-14 14:51:01 +00:00
|
|
|
depends="pygtk"
|
|
|
|
short_desc+=" -- Python bindings"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/python*"
|
|
|
|
vmove "usr/share/pygtk*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
vte-devel_package() {
|
2014-01-28 09:43:08 +00:00
|
|
|
depends="libglib-devel pango-devel cairo-devel gtk+-devel vte>=${version}_${revision}"
|
2013-04-14 14:51:01 +00:00
|
|
|
short_desc+=" -- development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-01-28 09:43:08 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-14 14:51:01 +00:00
|
|
|
vmove usr/share/gtk-doc
|
|
|
|
}
|
|
|
|
}
|