diff --git a/srcpkgs/hugin/template b/srcpkgs/hugin/template index a9578a5b3d4..8222d1cf45f 100644 --- a/srcpkgs/hugin/template +++ b/srcpkgs/hugin/template @@ -4,7 +4,6 @@ version=2017.0.0 revision=6 wrksrc=${pkgname}-${version} build_style=cmake -configure_args="-DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-3.0" pycompile_module="hpi.py hsi.py" pycompile_dirs="usr/share/hugin/data/plugins usr/share/hugin/data/plugins-templates" maintainer="lemmi " @@ -20,6 +19,10 @@ short_desc="An easy to use panoramic imaging toolchain" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${pkgname}-${version%.*}/${pkgname}-${version}.tar.bz2" checksum=86646ea27f32b959d38e7d36270703214b1ae961e379dd64b14d027139cd4609 +if [ -n "$CROSS_BUILD" ]; then + hostmakedepends+=" python" +fi + pre_configure() { sed -i '//d' src/hugin_base/hugin_utils/platform.cpp sed -i 's|-O3||g' src/celeste/CMakeLists.txt