diff --git a/srcpkgs/Fritzing/template b/srcpkgs/Fritzing/template index 01adfd3a72..4d6785f347 100644 --- a/srcpkgs/Fritzing/template +++ b/srcpkgs/Fritzing/template @@ -1,9 +1,8 @@ # Template file for 'Fritzing' pkgname=Fritzing version=0.9.2b -revision=1 +revision=2 build_style=qmake -nocross=yes hostmakedepends="qt5-qmake" makedepends="qt5-devel qt5-serialport-devel qt5-svg-devel boost-devel" depends="qt5-plugin-sqlite" @@ -17,6 +16,10 @@ checksum="6e9dbb94a4ca5e23effc2056f471c78913b9efa4c154ced94de8f72bfe29735f 5f5f5e26bfc33911f57b1620912fdf0a834c50d196b930ef70e784f3a447194b" wrksrc="fritzing-app-${version}" +if [ -n "$CROSS_BUILD" ]; then + hostmakedepends+=" qt5-serialport-devel qt5-svg-devel" +fi + pre_build() { rmdir "${wrksrc}/parts" mv ${XBPS_BUILDDIR}/fritzing-parts-$version/ $wrksrc/parts