mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-13 18:43:51 +02:00
pygtksourceview: fix cross compile
This commit is contained in:
parent
5d5f66fed0
commit
3defd732cd
1 changed files with 8 additions and 2 deletions
|
@ -1,11 +1,11 @@
|
||||||
# Template file for 'pygtksourceview'
|
# Template file for 'pygtksourceview'
|
||||||
pkgname=pygtksourceview
|
pkgname=pygtksourceview
|
||||||
version=2.10.1
|
version=2.10.1
|
||||||
revision=3
|
revision=4
|
||||||
lib32disabled=yes
|
lib32disabled=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-static --disable-docs"
|
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"
|
makedepends="python-devel gtksourceview2-devel pygtk-devel"
|
||||||
depends="pygtk"
|
depends="pygtk"
|
||||||
short_desc="Python bindings for gtksourceview2"
|
short_desc="Python bindings for gtksourceview2"
|
||||||
|
@ -14,3 +14,9 @@ homepage="http://www.gnome.org"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
distfiles="${GNOME_SITE}/${pkgname}/2.10/${pkgname}-${version}.tar.bz2"
|
distfiles="${GNOME_SITE}/${pkgname}/2.10/${pkgname}-${version}.tar.bz2"
|
||||||
checksum=b4b47c5aeb67a26141cb03663091dfdf5c15c8a8aae4d69c46a6a943ca4c5974
|
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…
Add table
Reference in a new issue