Fritzing: fix cross-compilation
This commit is contained in:
parent
94656a9d32
commit
6ee35da78a
1 changed files with 5 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue