From 147564444afeaca48151a27aea8104b1182c7d60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Sun, 22 Apr 2018 17:19:26 +0200 Subject: [PATCH] gimp: disable python for arm* and musl* MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jürgen Buchmüller --- srcpkgs/gimp/template | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/srcpkgs/gimp/template b/srcpkgs/gimp/template index 8098bb54b1e..7fdfac0ac78 100644 --- a/srcpkgs/gimp/template +++ b/srcpkgs/gimp/template @@ -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() {