gst-python: fix cross build
This commit is contained in:
parent
109fb517c6
commit
bb173a4d23
1 changed files with 7 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'gst-python'.
|
||||
pkgname=gst-python
|
||||
version=0.10.22
|
||||
revision=6
|
||||
revision=7
|
||||
lib32disabled=yes
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-static"
|
||||
|
@ -17,6 +17,12 @@ homepage="http://gstreamer.freedesktop.org"
|
|||
distfiles="$homepage/src/$pkgname/$pkgname-$version.tar.bz2"
|
||||
checksum=8f26f519a5bccd770864317e098e5e307fc5ad1201eb96329634b6508b253178
|
||||
|
||||
pre_configure() {
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
sed -i -e "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure
|
||||
fi
|
||||
}
|
||||
|
||||
gst-python-devel_package() {
|
||||
lib32disabled=yes
|
||||
depends="${sourcepkg}-${version}_${revision}"
|
||||
|
|
Loading…
Reference in a new issue