vte: fix cross

Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
Jürgen Buchmüller 2018-09-02 12:26:41 +02:00
parent 9be70919a2
commit d535ea6809
No known key found for this signature in database
GPG Key ID: 6764EC32352D0647
2 changed files with 16 additions and 4 deletions

View File

@ -0,0 +1,13 @@
--- configure.in.orig 2018-09-02 12:20:57.364425905 +0200
+++ configure.in 2018-09-02 12:21:18.834425049 +0200
@@ -483,10 +483,6 @@
fi
if $BUILD_PYTHON ; then
- AM_CHECK_PYTHON_HEADERS(,BUILD_PYTHON=false)
-fi
-
-if $BUILD_PYTHON ; then
AC_MSG_CHECKING([for pygtk-2.0])
if pkg-config --exists pygtk-2.0 ; then
AC_MSG_RESULT([found])

View File

@ -6,7 +6,7 @@ build_style=gnu-configure
configure_args="--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 pygtk-devel"
makedepends="gtk+-devel ncurses-devel python-devel pygtk-devel"
short_desc="Terminal widget with improved accessibility and I18N support"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.gnome.org"
@ -14,13 +14,12 @@ license="LGPL-2.1-or-later"
distfiles="${GNOME_SITE}/vte/0.28/${pkgname}-${version}.tar.bz2"
checksum=8d04e202b617373dfb47689e5e628febe2c58840b34cccc4af4feb88c48df903
CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/python2.7"
pre_configure() {
NOCONFIGURE=1 autoreconf -fi
}
do_configure() {
if [ "$CROSS_BUILD" ]; then
ln -s ${XBPS_WRAPPERDIR}/python-config ${wrksrc}
fi
env PYTHON=python2 ./configure ${configure_args}
}