gimp: disable python for arm* and musl*

Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
Jürgen Buchmüller 2018-04-22 17:19:26 +02:00
parent 63c13c7962
commit 147564444a
No known key found for this signature in database
GPG key ID: 6764EC32352D0647

View file

@ -25,6 +25,12 @@ if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" dbus-glib-devel gdk-pixbuf-devel pygtk-devel"
configure_args+=" am_cv_python_pythondir=${XBPS_CROSS_BASE}/usr/lib/python2.7/site-packages"
CPPFLAGS="-I${XBPS_CROSS_BASE}/usr/include/python2.7"
case "$XBPS_TARGET_MACHINE" in
arm*|musl*)
configure_args+=" --disable-python"
subpackages="libgimp gimp-devel"
;;
esac
fi
pre_configure() {