qt5: devel needs dependency on libatomic-devel on some targets

This commit is contained in:
q66 2021-03-07 17:23:59 +01:00
parent edf7b59e52
commit 5ee8d84cbf
1 changed files with 8 additions and 1 deletions

View File

@ -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() {