vte: cross build support.
This commit is contained in:
parent
8f9cc69345
commit
f32ee3abe5
1 changed files with 19 additions and 6 deletions
|
@ -1,19 +1,31 @@
|
|||
# Template build file for 'vte'.
|
||||
pkgname=vte
|
||||
version=0.28.2
|
||||
revision=5
|
||||
revision=6
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-static --with-gtk=2.0"
|
||||
makedepends="pkg-config intltool gtk+-devel ncurses-devel pygtk-devel"
|
||||
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"
|
||||
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.28/$pkgname-$version.tar.bz2"
|
||||
checksum=8d04e202b617373dfb47689e5e628febe2c58840b34cccc4af4feb88c48df903
|
||||
long_desc="
|
||||
Terminal widget with improved font, internationalization and
|
||||
accessibility support for the GNOME 2 desktop."
|
||||
|
||||
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}
|
||||
}
|
||||
|
||||
vte-python_package() {
|
||||
depends="pygtk"
|
||||
|
@ -25,11 +37,12 @@ vte-python_package() {
|
|||
}
|
||||
|
||||
vte-devel_package() {
|
||||
depends="libglib-devel pango-devel cairo-devel gtk+-devel vte-${version}_${revision}"
|
||||
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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue