gst-python: drop unnecessary cross tweaks.

This commit is contained in:
Juan RP 2015-10-17 11:12:11 +02:00
parent 69ece5fd69
commit c303ee756e

View file

@ -4,7 +4,7 @@ version=0.10.22
revision=8
lib32disabled=yes
build_style=gnu-configure
configure_args="--disable-static"
configure_args="--disable-static --with-libpython-dir=${XBPS_CROSS_BASE}/usr/lib/python2.7/config"
hostmakedepends="pkg-config python"
makedepends="glib-devel python-devel pygtk-devel
libxml2-devel gstreamer-devel gst-plugins-base-devel"
@ -17,10 +17,6 @@ homepage="http://gstreamer.freedesktop.org"
distfiles="$homepage/src/$pkgname/$pkgname-$version.tar.bz2"
checksum=8f26f519a5bccd770864317e098e5e307fc5ad1201eb96329634b6508b253178
if [ "$CROSS_BUILD" ]; then
configure_args+=" --with-libpython-dir=${XBPS_CROSS_BASE}/usr/lib/python2.7/config"
LDFLAGS="-L${XBPS_CROSS_BASE}/usr/lib"
fi
pre_configure() {
if [ "$CROSS_BUILD" ]; then
sed -i -e "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure