diff --git a/srcpkgs/librepcb/template b/srcpkgs/librepcb/template index 420db9e970..dfd5c86e78 100644 --- a/srcpkgs/librepcb/template +++ b/srcpkgs/librepcb/template @@ -1,19 +1,18 @@ # Template file for 'librepcb' pkgname=librepcb -version=0.1.4 +version=0.1.5 revision=1 -build_wrksrc="build" build_style=qmake -configure_args="-r ../librepcb.pro" -hostmakedepends="unzip qt5-qmake qt5-host-tools qt5-svg-devel" +configure_args="-r librepcb.pro" +hostmakedepends="unzip qt5-qmake qt5-host-tools" makedepends="qt5-devel zlib-devel libressl-devel SFML-devel qt5-svg-devel" short_desc="Powerful, innovative and intuitive EDA tool for everyone" maintainer="Orphaned " license="GPL-3.0-or-later" homepage="https://librepcb.org" distfiles="https://download.librepcb.org/releases/${version}/${pkgname}-${version}-source.zip" -checksum=08299e8077f9ef4fb6df3fd5b22053b9ab6361411470809e2a1ee0f1ad9aadac +checksum=f956dfa5b9ad1faffcab7f5dd03f158c2b97a7c82cfc9a09dc4066cbcf0db76a -post_extract() { - mkdir -p build -} +if [ "$CROSS_BUILD" ]; then + hostmakedepends+=" qt5-svg-devel" +fi