diff --git a/srcpkgs/qt5/template b/srcpkgs/qt5/template index 61317092801..1a2a3441cbf 100644 --- a/srcpkgs/qt5/template +++ b/srcpkgs/qt5/template @@ -1,7 +1,7 @@ # Template file for 'qt5' pkgname=qt5 version=5.15.2 -revision=3 +revision=4 wrksrc="qt-everywhere-src-${version}" build_style=meta hostmakedepends="cmake clang flex perl glib-devel pkg-config @@ -39,6 +39,10 @@ if [ "$CROSS_BUILD" ]; then hostmakedepends+=" postgresql-libs-devel" fi +if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then + makedepends+=" libatomic-devel" +fi + _cleanup_wrksrc_leak() { if [ -d "${PKGDESTDIR}/usr/lib/cmake" ]; then # Replace references to ${wrksrc} in cmake files @@ -1073,6 +1077,9 @@ qt5-devel_package() { qt5-network-${version}_${revision} qt5-xml-${version}_${revision} qt5-host-tools-${version}_${revision}" + if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then + depends+=" libatomic-devel" + fi short_desc+=" - Development files" # qt5-enginio-devel is gone pkg_install() {