qt5-styleplugins: rebuild against qt5.15.3

This commit is contained in:
John 2021-05-03 12:55:29 +02:00 committed by John Zimmermann
parent 8e4af7b106
commit 20df026e43

View file

@ -7,7 +7,7 @@ wrksrc="qtstyleplugins-${_gitrev}"
build_style=qmake
hostmakedepends="pkg-config qt5-host-tools qt5-qmake"
makedepends="libxcb-devel libxkbcommon-devel libinput-devel tslib-devel gtk+-devel qt5-devel"
depends="qt5-core>=5.15.2<5.15.3"
depends="qt5-core>=5.15.2<5.16.0"
short_desc="Additional style plugins for Qt5"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-only, LGPL-3.0-only"
@ -18,19 +18,6 @@ checksum=29ec24fa8df64be161ad06d0e5af3ba1a20bfe265004f5fe4ab9f5f3abf9a5ba
# Cross builds fail with -fuse-ld=gold
LDFLAGS="-Wl,-fuse-ld=bfd"
pre_configure() {
_qt5_dep_ver="${depends#*>=}"
_qt5_dep_ver="${_qt5_dep_ver%<*}"
_qt5_version="$(xbps-uhelper version qt5-core)"
if [[ "${_qt5_version%_*}" != "${_qt5_dep_ver}" ]]; then
echo
msg_red "Qt5 version doesn't match version listed in \$depends\\n"
msg_red "${_qt5_version%_*} does not match ${_qt5_dep_ver}\\n"
exit 1
fi
}
qt5-styleplugins-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"