Merge pull request #2683 from steski/pygtksourceview
pygtksourceview: fix cross compile
This commit is contained in:
commit
93adb9d512
|
@ -1,11 +1,11 @@
|
|||
# Template file for 'pygtksourceview'
|
||||
pkgname=pygtksourceview
|
||||
version=2.10.1
|
||||
revision=3
|
||||
revision=4
|
||||
lib32disabled=yes
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-static --disable-docs"
|
||||
hostmakedepends="pkg-config intltool python-devel"
|
||||
hostmakedepends="pkg-config intltool python-devel pygtk-devel"
|
||||
makedepends="python-devel gtksourceview2-devel pygtk-devel"
|
||||
depends="pygtk"
|
||||
short_desc="Python bindings for gtksourceview2"
|
||||
|
@ -14,3 +14,9 @@ homepage="http://www.gnome.org"
|
|||
license="GPL-2"
|
||||
distfiles="${GNOME_SITE}/${pkgname}/2.10/${pkgname}-${version}.tar.bz2"
|
||||
checksum=b4b47c5aeb67a26141cb03663091dfdf5c15c8a8aae4d69c46a6a943ca4c5974
|
||||
|
||||
pre_configure() {
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
sed -i "s;PYTHON_INCLUDES=.*;PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7;g" configure
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue