vte: fix cross
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
parent
9be70919a2
commit
d535ea6809
|
@ -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])
|
|
@ -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}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue