gst-python: drop unnecessary cross tweaks.
This commit is contained in:
parent
69ece5fd69
commit
c303ee756e
1 changed files with 1 additions and 5 deletions
|
@ -4,7 +4,7 @@ version=0.10.22
|
||||||
revision=8
|
revision=8
|
||||||
lib32disabled=yes
|
lib32disabled=yes
|
||||||
build_style=gnu-configure
|
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"
|
hostmakedepends="pkg-config python"
|
||||||
makedepends="glib-devel python-devel pygtk-devel
|
makedepends="glib-devel python-devel pygtk-devel
|
||||||
libxml2-devel gstreamer-devel gst-plugins-base-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"
|
distfiles="$homepage/src/$pkgname/$pkgname-$version.tar.bz2"
|
||||||
checksum=8f26f519a5bccd770864317e098e5e307fc5ad1201eb96329634b6508b253178
|
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() {
|
pre_configure() {
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
sed -i -e "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure
|
sed -i -e "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue