gimp: fix cross

Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
Jürgen Buchmüller 2018-04-22 17:03:51 +02:00
parent 4ba6739b54
commit 63c13c7962
No known key found for this signature in database
GPG Key ID: 6764EC32352D0647
1 changed files with 11 additions and 2 deletions

View File

@ -6,7 +6,7 @@ lib32disabled=yes
build_style=gnu-configure
configure_args="--without-aa --without-gvfs --enable-gimp-console
--enable-python --with-gif-compression=lzw --with-libcurl --enable-mp"
hostmakedepends="pkg-config intltool"
hostmakedepends="automake gettext-devel glib-devel libtool pkg-config intltool"
makedepends="libpng-devel gtk+-devel lcms2-devel
alsa-lib-devel dbus-glib-devel libXmu-devel libXcursor-devel
libexif-devel libsoup-devel libwmf-devel librsvg-devel
@ -20,7 +20,16 @@ homepage="https://www.gimp.org"
license="GPL-3"
distfiles="https://download.gimp.org/pub/gimp/v${version%.*}/gimp-${version}.tar.bz2"
checksum=9187a35cc52b110d78124d7b27b68a68ade14a794c2721314bac6134d2a5638a
nocross="https://build.voidlinux.eu/builders/armv7l_builder/builds/107/steps/shell_3/logs/stdio"
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"
fi
pre_configure() {
NOCONFIGURE=1 autoreconf -fi
}
libgimp_package() {
short_desc+=" - runtime libraries"